Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const int *__cdecl get_IncValArray(int nJob, int bLevelup)
- {
- int v2; // ebx
- int v3; // ST08_4
- unsigned int v4; // ebp
- const int *result; // eax
- const int *v6; // esi
- const int *v7; // edi
- int nJobRace; // [esp+Ch] [ebp+4h]
- v2 = nJob;
- v3 = nJob;
- nJobRace = nJob / 1000;
- v4 = get_job_category(v3);
- result = 0;
- if ( v4 <= 9 )
- {
- LOBYTE(result) = bLevelup == 0;
- v6 = result;
- v7 = (24 * (result + 2 * v4) + 38165424);
- if ( v2 / 10 == 53 || v2 == 501 )
- return (24 * result + 38165712);
- if ( is_luminous_job(v2) )
- return (24 * v6 + 38166144);
- if ( nJobRace == 2 )
- {
- switch ( v4 )
- {
- case 1u:
- return (24 * v6 + 38165952);
- case 2u:
- return (24 * v6 + 38166000);
- case 3u:
- return (24 * v6 + 38166048);
- case 4u:
- return (24 * v6 + 38166096);
- }
- }
- if ( is_bmage_job(v2) )
- goto LABEL_38;
- if ( is_wildhunter_job(v2) )
- return (24 * v6 + 38166240);
- if ( is_mechanic_job(v2) )
- return (24 * v6 + 38166288);
- if ( is_dslayer_job(v2) )
- return (24 * v6 + 38166336);
- if ( is_angelic_burster_job(v2) )
- return (24 * v6 + 38166384);
- if ( is_davenger_job(v2) )
- return (24 * v6 + 38166432);
- if ( is_res_hybrid_job(v2) )
- return (24 * v6 + 38166480);
- if ( is_zero_job(v2) )
- return (24 * v6 + 38166528);
- if ( is_kinesis_job(v2) )
- {
- LABEL_38:
- result = (24 * v6 + 38166192);
- }
- else
- {
- if ( is_res_warrior_job(v2) )
- v7 = (24 * v6 + 38165472);
- result = v7;
- }
- }
- return result;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement