Advertisement
xXNiKkI_DownXx

RDR2 Unlocks

Nov 17th, 2020 (edited)
1,158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 10.82 KB | None | 0 0
  1.  
  2.  
  3.  
  4. text:000000018001E630 ; =============== S U B R O U T I N E =======================================
  5. .text:000000018001E630
  6. .text:000000018001E630
  7. .text:000000018001E630 sub_18001E630   proc near               ; DATA XREF: sub_18001E370+C4↑o
  8. .text:000000018001E630                                         ; .pdata:00000001800C017C↓o
  9. .text:000000018001E630
  10. .text:000000018001E630 arg_0           = qword ptr  8
  11. .text:000000018001E630 arg_8           = qword ptr  10h
  12. .text:000000018001E630 arg_10          = qword ptr  18h
  13. .text:000000018001E630
  14. .text:000000018001E630                 mov     [rsp+arg_8], rbx
  15. .text:000000018001E635                 mov     [rsp+arg_10], rbp
  16. .text:000000018001E63A                 push    rsi
  17. .text:000000018001E63B                 push    rdi
  18. .text:000000018001E63C                 push    r12
  19. .text:000000018001E63E                 push    r14
  20. .text:000000018001E640                 push    r15
  21. .text:000000018001E642                 sub     rsp, 20h
  22. .text:000000018001E646                 movsxd  rax, cs:dword_1800BE840
  23. .text:000000018001E64D                 lea     r12, off_1800A1C20 ; "AMMO_SHOTGUN_SLUG_EXPLOSIVE"
  24. .text:000000018001E654                 mov     rbx, 0FFFFFFFFFFFFFFFFh
  25. .text:000000018001E65B                 mov     rdi, rbx
  26. .text:000000018001E65E                 mov     r15, [r12+rax*8]
  27. .text:000000018001E662
  28. .text:000000018001E662 loc_18001E662:                          ; CODE XREF: sub_18001E630+3A↓j
  29. .text:000000018001E662                 inc     rdi
  30. .text:000000018001E665                 cmp     byte ptr [r15+rdi], 0
  31. .text:000000018001E66A                 jnz     short loc_18001E662
  32. .text:000000018001E66C                 xor     ebp, ebp
  33. .text:000000018001E66E                 mov     r14d, ebp
  34. .text:000000018001E671                 mov     esi, ebp
  35. .text:000000018001E673                 test    rdi, rdi
  36. .text:000000018001E676                 jz      short loc_18001E6A4
  37. .text:000000018001E678                 mov     eax, ebp
  38. .text:000000018001E67A                 nop     word ptr [rax+rax+00h]
  39. .text:000000018001E680
  40. .text:000000018001E680 loc_18001E680:                          ; CODE XREF: sub_18001E630+72↓j
  41. .text:000000018001E680                 movsx   ecx, byte ptr [rax+r15] ; C
  42. .text:000000018001E685                 call    tolower
  43. .text:000000018001E68A                 add     eax, esi
  44. .text:000000018001E68C                 inc     r14d
  45. .text:000000018001E68F                 imul    esi, eax, 401h
  46. .text:000000018001E695                 mov     eax, esi
  47. .text:000000018001E697                 shr     eax, 6
  48. .text:000000018001E69A                 xor     esi, eax
  49. .text:000000018001E69C                 mov     eax, r14d
  50. .text:000000018001E69F                 cmp     rax, rdi
  51. .text:000000018001E6A2                 jb      short loc_18001E680
  52. .text:000000018001E6A4
  53. .text:000000018001E6A4 loc_18001E6A4:                          ; CODE XREF: sub_18001E630+46↑j
  54. .text:000000018001E6A4                 mov     rcx, 0C4B660C7B6040E75h
  55. .text:000000018001E6AE                 lea     edi, [rsi+rsi*8]
  56. .text:000000018001E6B1                 call    cs:?nativeInit@@YAX_K@Z ; nativeInit(unsigned __int64)
  57. .text:000000018001E6B7                 mov     eax, edi
  58. .text:000000018001E6B9                 mov     [rsp+48h+arg_0], rbp
  59. .text:000000018001E6BE                 shr     eax, 0Bh
  60. .text:000000018001E6C1                 xor     eax, edi
  61. .text:000000018001E6C3                 imul    eax, 8001h
  62. .text:000000018001E6C9                 mov     dword ptr [rsp+48h+arg_0], eax
  63. .text:000000018001E6CD                 mov     rcx, [rsp+48h+arg_0]
  64. .text:000000018001E6D2                 call    cs:?nativePush64@@YAX_K@Z ; nativePush64(unsigned __int64)
  65. .text:000000018001E6D8                 call    cs:?nativeCall@@YAPEA_KXZ ; nativeCall(void)
  66. .text:000000018001E6DE                 mov     r15d, [rax]
  67. .text:000000018001E6E1                 movsxd  rax, cs:dword_1800BE840
  68. .text:000000018001E6E8                 mov     r14, [r12+rax*8]
  69. .text:000000018001E6EC                 nop     dword ptr [rax+00h]
  70. .text:000000018001E6F0
  71. .text:000000018001E6F0 loc_18001E6F0:                          ; CODE XREF: sub_18001E630+C7↓j
  72. .text:000000018001E6F0                 inc     rbx
  73. .text:000000018001E6F3                 cmp     [r14+rbx], bpl
  74. .text:000000018001E6F7                 jnz     short loc_18001E6F0
  75. .text:000000018001E6F9                 mov     esi, ebp
  76. .text:000000018001E6FB                 mov     edi, ebp
  77. .text:000000018001E6FD                 test    rbx, rbx
  78. .text:000000018001E700                 jz      short loc_18001E727
  79. .text:000000018001E702                 mov     rax, rbp
  80. .text:000000018001E705
  81. .text:000000018001E705 loc_18001E705:                          ; CODE XREF: sub_18001E630+F5↓j
  82. .text:000000018001E705                 movsx   ecx, byte ptr [rax+r14] ; C
  83. .text:000000018001E70A                 call    tolower
  84. .text:000000018001E70F                 add     eax, edi
  85. .text:000000018001E711                 inc     esi
  86. .text:000000018001E713                 imul    edi, eax, 401h
  87. .text:000000018001E719                 mov     eax, edi
  88. .text:000000018001E71B                 shr     eax, 6
  89. .text:000000018001E71E                 xor     edi, eax
  90. .text:000000018001E720                 mov     eax, esi
  91. .text:000000018001E722                 cmp     rax, rbx
  92. .text:000000018001E725                 jb      short loc_18001E705
  93. .text:000000018001E727
  94. .text:000000018001E727 loc_18001E727:                          ; CODE XREF: sub_18001E630+D0↑j
  95. .text:000000018001E727                 mov     rcx, 1B7C5ADA8A6910A0h
  96. .text:000000018001E731                 lea     ebx, [rdi+rdi*8]
  97. .text:000000018001E734                 call    cs:?nativeInit@@YAX_K@Z ; nativeInit(unsigned __int64)
  98. .text:000000018001E73A                 mov     eax, ebx
  99. .text:000000018001E73C                 mov     [rsp+48h+arg_0], rbp
  100. .text:000000018001E741                 shr     eax, 0Bh
  101. .text:000000018001E744                 xor     eax, ebx
  102. .text:000000018001E746                 imul    eax, 8001h
  103. .text:000000018001E74C                 mov     dword ptr [rsp+48h+arg_0], eax
  104. .text:000000018001E750                 mov     rcx, [rsp+48h+arg_0]
  105. .text:000000018001E755                 call    cs:?nativePush64@@YAX_K@Z ; nativePush64(unsigned __int64)
  106. .text:000000018001E75B                 mov     [rsp+48h+arg_0], rbp
  107. .text:000000018001E760                 test    r15d, r15d
  108. .text:000000018001E763                 setz    bpl
  109. .text:000000018001E767                 mov     dword ptr [rsp+48h+arg_0], ebp
  110. .text:000000018001E76B                 mov     rcx, [rsp+48h+arg_0]
  111. .text:000000018001E770                 call    cs:?nativePush64@@YAX_K@Z ; nativePush64(unsigned __int64)
  112. .text:000000018001E776                 call    cs:?nativeCall@@YAPEA_KXZ ; nativeCall(void)
  113. .text:000000018001E77C                 mov     rbx, [rsp+48h+arg_8]
  114. .text:000000018001E781                 mov     rbp, [rsp+48h+arg_10]
  115. .text:000000018001E786                 add     rsp, 20h
  116. .text:000000018001E78A                 pop     r15
  117. .text:000000018001E78C                 pop     r14
  118. .text:000000018001E78E                 pop     r12
  119. .text:000000018001E790                 pop     rdi
  120. .text:000000018001E791                 pop     rsi
  121. .text:000000018001E792                 retn
  122. .text:000000018001E792 sub_18001E630   endp
  123. .text:000000018001E792
  124.  
  125.  
  126.  
  127. Desbloquear stats
  128.  
  129. _0xC4B660C7B6040E75
  130. _0x1B7C5ADA8A6910A0
  131.  
  132.  
  133.  
  134. .rdata:00000001800A1C20 off_1800A1C20   dq offset aAmmoShotgunSlu
  135. .rdata:00000001800A1C20                                         ; DATA XREF: sub_18001E370+A5↑o
  136. .rdata:00000001800A1C20                                         ; sub_18001E630+1D↑o
  137. .rdata:00000001800A1C20                                         ; "AMMO_SHOTGUN_SLUG_EXPLOSIVE"
  138. .rdata:00000001800A1C28                 dq offset aCompendium   ; "COMPENDIUM"
  139. .rdata:00000001800A1C30                 dq offset aOutfitLegendOf ; "OUTFIT_LEGEND_OF_THE_EAST"
  140. .rdata:00000001800A1C38                 dq offset aSpAchievements ; "SP_ACHIEVEMENTS"
  141. .rdata:00000001800A1C40                 dq offset aSpArthursGrave ; "SP_ARTHURS_GRAVE_SCENE"
  142. .rdata:00000001800A1C48                 dq offset aSpChalBandRoot ; "SP_CHAL_BAND_ROOT"
  143. .rdata:00000001800A1C50                 dq offset aSpChalExplRoot ; "SP_CHAL_EXPL_ROOT"
  144. .rdata:00000001800A1C58                 dq offset aSpChalGambRoot ; "SP_CHAL_GAMB_ROOT"
  145. .rdata:00000001800A1C60                 dq offset aSpChalHerbRoot ; "SP_CHAL_HERB_ROOT"
  146. .rdata:00000001800A1C68                 dq offset aSpChalHorseRoo ; "SP_CHAL_HORSE_ROOT"
  147. .rdata:00000001800A1C70                 dq offset aSpChalHuntRoot ; "SP_CHAL_HUNT_ROOT"
  148. .rdata:00000001800A1C78                 dq offset aSpChalShotRoot ; "SP_CHAL_SHOT_ROOT"
  149. .rdata:00000001800A1C80                 dq offset aSpChalSurvRoot ; "SP_CHAL_SURV_ROOT"
  150. .rdata:00000001800A1C88                 dq offset aSpChalWeapRoot ; "SP_CHAL_WEAP_ROOT"
  151. .rdata:00000001800A1C90                 dq offset aSpEndlessSumme ; "SP_ENDLESS_SUMMER"
  152. .rdata:00000001800A1C98                 dq offset aSpEndlessSumme_0 ; "SP_ENDLESS_SUMMER_WEAPONS"
  153. .rdata:00000001800A1CA0                 dq offset aSpGameContentC ; "SP_GAME_CONTENT_CROSS_PROMOTION_HATCHET"
  154. .rdata:00000001800A1CA8                 dq offset aSpGameContentC_0 ; "SP_GAME_CONTENT_CROSS_PROMOTION_REVOLVE"...
  155. .rdata:00000001800A1CB0                 dq offset aSpGameContentE ; "SP_GAME_CONTENT_EDITION_SPECIAL"
  156. .rdata:00000001800A1CB8                 dq offset aSpGameContentE_0 ; "SP_GAME_CONTENT_EDITION_SPECIAL_REDEEME"...
  157. .rdata:00000001800A1CC0                 dq offset aSpGameContentO ; "SP_GAME_CONTENT_ORBIS_DAY_ONE"
  158. .rdata:00000001800A1CC8                 dq offset aSpGameContentO_0 ; "SP_GAME_CONTENT_ORBIS_DAY_ONE_REDEEMED"
  159. .rdata:00000001800A1CD0                 dq offset aSpGameContentP ; "SP_GAME_CONTENT_PRE_ORDER"
  160. .rdata:00000001800A1CD8                 dq offset aSpGameContentP_0 ; "SP_GAME_CONTENT_PRE_ORDER_DIGITAL"
  161. .rdata:00000001800A1CE0                 dq offset aSpGameContentP_1 ; "SP_GAME_CONTENT_PRE_ORDER_ITEMS_REDEEME"...
  162. .rdata:00000001800A1CE8                 dq offset aSpGuarmaAppear ; "SP_GUARMA_APPEARANCE_ACTIVE"
  163. .rdata:00000001800A1CF0                 dq offset aSpMud3KilledWi ; "SP_MUD3_KILLED_WITNESS"
  164. .rdata:00000001800A1CF8                 dq offset aSpNativeAmeric ; "SP_NATIVE_AMERICAN_DIALOGUE_RECEPTIVE"
  165. .rdata:00000001800A1D00                 dq offset aSpNativeAmeric_0 ; "SP_NATIVE_AMERICAN_DIALOGUE_TRUSTED"
  166. .rdata:00000001800A1D08                 dq offset aSpPedsReactToS ; "SP_PEDS_REACT_TO_SICK_ATHUR"
  167. .rdata:00000001800A1D10                 dq offset aSpPostGang1  ; "SP_POST_GANG1"
  168. .rdata:00000001800A1D18                 dq offset aSpRdch3Dynamit ; "SP_RDCH3_DYNAMITE"
  169. .rdata:00000001800A1D20                 dq offset aSpWeaponDualwi ; "SP_WEAPON_DUALWIELD"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement