- 37
- 1
- Версия SA-MP
-
- 0.3.7 (R1)
- 0.3.7-R3
Всем знакомый экран при запуске сампа.
Не могу найти похожее или хотя бы float координат в R1 через IDA.
В R3 такой код. Помогите пожалуйста
Не могу найти похожее или хотя бы float координат в R1 через IDA.
В R3 такой код. Помогите пожалуйста
R3 SpawnScreen:
text:00008679 ; ---------------------------------------------------------------------------
.text:00008679
.text:00008679 loc_8679: ; CODE XREF: CNetGame::SpawnScreen(void)+1A↑j
.text:00008679 68 33 33 8A 42 push 428A3333h
.text:0000867E 68 E9 CC FE C4 push 0C4FECCE9h
.text:00008683 68 9D A1 8D 44 push 448DA19Dh ; struct sampapi::CVector
.text:00008688 E8 83 89 FF FF call ?GetPlayerPed@CGame@@QAEPAVCPed@@XZ
.text:0000868D 8B C8 mov ecx, eax ; this
.text:0000868F E8 9C 62 09 00 call ?Teleport@CEntity@@QAEXVCVector@sampapi@@@Z
.text:00008694
.text:00008694 loc_8694: ; CODE XREF: CNetGame::SpawnScreen(void)+37↑j
.text:00008694 A1 F4 E8 26 00 mov eax, g_Game
.text:00008699 8B 48 04 mov ecx, [eax+4] ; this
.text:0000869C 6A 00 push 0 ; float
.text:0000869E 6A 00 push 0 ; float
.text:000086A0 6A 00 push 0 ; float
.text:000086A2 68 00 00 B4 42 push 42B40000h ; float
.text:000086A7 68 00 80 FE C4 push 0C4FE8000h ; float
.text:000086AC 68 00 A0 88 44 push 4488A000h ; float
.text:000086B1 E8 BA 49 09 00 call ?Set@CCamera@@QAEXVCVector@sampapi@@0@Z
.text:000086B6 8B 0D F4 E8 26 00 mov ecx, g_Game
.text:000086BC 8B 49 04 mov ecx, [ecx+4] ; this
.text:000086BF 6A 02 push 2 ; int
.text:000086C1 68 00 00 A0 41 push 41A00000h ; float
.text:000086C6 68 00 A0 C2 C4 push 0C4C2A000h ; float
.text:000086CB 68 00 00 C0 43 push 43C00000h ; float
.text:000086D0 E8 FB 49 09 00 call ?PointAt@CCamera@@QAEXVCVector@sampapi@@H@Z
.text:000086D5 8B 0D F4 E8 26 00 mov ecx, g_Game ; this
.text:000086DB 6A 01 push 1 ; char
.text:000086DD E8 4E 7D 09 00 call ?SetWorldWeather@CGame@@QAEXD@Z
.text:000086E2 8B 0D F4 E8 26 00 mov ecx, g_Game ; this
.text:000086E8 6A 00 push 0 ; int
.text:000086EA E8 91 8F 09 00 call ?EnableHUD@CGame@@QAEXH@Z
.text:000086EF C3 retn
.text:000086EF ?SpawnScreen@CNetGame@@QAEXXZ endp
Последнее редактирование: