Advertisement
Guest User

Untitled

a guest
Sep 20th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. const int *__cdecl get_IncValArray(int nJob, int bLevelup)
  2. {
  3. int v2; // ebx
  4. int v3; // ST08_4
  5. unsigned int v4; // ebp
  6. const int *result; // eax
  7. const int *v6; // esi
  8. const int *v7; // edi
  9. int nJobRace; // [esp+Ch] [ebp+4h]
  10.  
  11. v2 = nJob;
  12. v3 = nJob;
  13. nJobRace = nJob / 1000;
  14. v4 = get_job_category(v3);
  15. result = 0;
  16. if ( v4 <= 9 )
  17. {
  18. LOBYTE(result) = bLevelup == 0;
  19. v6 = result;
  20. v7 = (24 * (result + 2 * v4) + 38165424);
  21. if ( v2 / 10 == 53 || v2 == 501 )
  22. return (24 * result + 38165712);
  23. if ( is_luminous_job(v2) )
  24. return (24 * v6 + 38166144);
  25. if ( nJobRace == 2 )
  26. {
  27. switch ( v4 )
  28. {
  29. case 1u:
  30. return (24 * v6 + 38165952);
  31. case 2u:
  32. return (24 * v6 + 38166000);
  33. case 3u:
  34. return (24 * v6 + 38166048);
  35. case 4u:
  36. return (24 * v6 + 38166096);
  37. }
  38. }
  39. if ( is_bmage_job(v2) )
  40. goto LABEL_38;
  41. if ( is_wildhunter_job(v2) )
  42. return (24 * v6 + 38166240);
  43. if ( is_mechanic_job(v2) )
  44. return (24 * v6 + 38166288);
  45. if ( is_dslayer_job(v2) )
  46. return (24 * v6 + 38166336);
  47. if ( is_angelic_burster_job(v2) )
  48. return (24 * v6 + 38166384);
  49. if ( is_davenger_job(v2) )
  50. return (24 * v6 + 38166432);
  51. if ( is_res_hybrid_job(v2) )
  52. return (24 * v6 + 38166480);
  53. if ( is_zero_job(v2) )
  54. return (24 * v6 + 38166528);
  55. if ( is_kinesis_job(v2) )
  56. {
  57. LABEL_38:
  58. result = (24 * v6 + 38166192);
  59. }
  60. else
  61. {
  62. if ( is_res_warrior_job(v2) )
  63. v7 = (24 * v6 + 38165472);
  64. result = v7;
  65. }
  66. }
  67. return result;
  68. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement