Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


function parameters

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
hawlong
Newbie cheater
Reputation: 0

Joined: 24 Jan 2022
Posts: 10

PostPosted: Mon Jan 24, 2022 7:47 pm    Post subject: function parameters Reply with quote

how to know function parameters.
I am a beginner,

Code:

00C8C2B6 - 55                    - push ebp
00C8C2B7 - 8B EC                 - mov ebp,esp
00C8C2B9 - 53                    - push ebx
00C8C2BA - 56                    - push esi
00C8C2BB - 8B 75 08              - mov esi,[ebp+08]
00C8C2BE - 8B D9                 - mov ebx,ecx
00C8C2C0 - 85 F6                 - test esi,esi
00C8C2C2 - 75 07                 - jne 00C8C2CB
00C8C2C4 - 33 C0                 - xor eax,eax
00C8C2C6 - E9 1F010000           - jmp 00C8C3EA
00C8C2CB - 57                    - push edi
00C8C2CC - E8 6E62CDFF           - call 0096253F
00C8C2D1 - 8B 83 04040000        - mov eax,[ebx+00000404]
00C8C2D7 - 80 7D 18 00           - cmp byte ptr [ebp+18],00
00C8C2DB - B9 A9000000           - mov ecx,000000A9
00C8C2E0 - 66 89 08              - mov [eax],cx
00C8C2E3 - 8B 83 04040000        - mov eax,[ebx+00000404]
00C8C2E9 - B9 74080000           - mov ecx,00000874
00C8C2EE - 66 89 48 02           - mov [eax+02],cx
00C8C2F2 - 8B 83 04040000        - mov eax,[ebx+00000404]
00C8C2F8 - 8A 4D 14              - mov cl,[ebp+14]
00C8C2FB - 89 70 04              - mov [eax+04],esi
00C8C2FE - 8B 83 04040000        - mov eax,[ebx+00000404]
00C8C304 - 88 48 12              - mov [eax+12],cl
00C8C307 - 8B 83 04040000        - mov eax,[ebx+00000404]
00C8C30D - 66 8B 4D 0C           - mov cx,[ebp+0C]
00C8C311 - 66 89 48 0C           - mov [eax+0C],cx
00C8C315 - 8B 83 04040000        - mov eax,[ebx+00000404]
00C8C31B - 66 8B 4D 10           - mov cx,[ebp+10]
00C8C31F - 66 89 48 0E           - mov [eax+0E],cx
00C8C323 - 8B 8B 04040000        - mov ecx,[ebx+00000404]
00C8C329 - 0F95 C0               - setne al
00C8C32C - 88 41 17              - mov [ecx+17],al
00C8C32F - E8 E96A77FF           - call 00402E1D
00C8C334 - 8B C8                 - mov ecx,eax
00C8C336 - E8 5258CFFF           - call 00981B8D
00C8C33B - 8B F8                 - mov edi,eax
00C8C33D - 85 FF                 - test edi,edi
00C8C33F - 0F84 A4000000         - je 00C8C3E9
00C8C345 - 6A 0D                 - push 0D
00C8C347 - 8B CF                 - mov ecx,edi
00C8C349 - E8 AB470300           - call 00CC0AF9
00C8C34E - 40                    - inc eax
00C8C34F - 6A 0A                 - push 0A
00C8C351 - 8B CF                 - mov ecx,edi
00C8C353 - 89 45 14              - mov [ebp+14],eax
00C8C356 - E8 9E470300           - call 00CC0AF9
00C8C35B - 8B F0                 - mov esi,eax
00C8C35D - 46                    - inc esi
00C8C35E - 0FAF 75 14            - imul esi,[ebp+14]
00C8C362 - 6A 12                 - push 12
00C8C364 - 8B CF                 - mov ecx,edi
00C8C366 - E8 8E470300           - call 00CC0AF9
00C8C36B - 40                    - inc eax
00C8C36C - 6A 03                 - push 03
00C8C36E - 8B CF                 - mov ecx,edi
00C8C370 - 89 45 14              - mov [ebp+14],eax
00C8C373 - E8 81470300           - call 00CC0AF9
00C8C378 - 0FAF 45 14            - imul eax,[ebp+14]
00C8C37C - 03 C6                 - add eax,esi
00C8C37E - 6A 07                 - push 07
00C8C380 - 8B CF                 - mov ecx,edi
00C8C382 - 89 45 14              - mov [ebp+14],eax
00C8C385 - E8 6F470300           - call 00CC0AF9
00C8C38A - 6A 02                 - push 02
00C8C38C - 8B CF                 - mov ecx,edi
00C8C38E - 8B F0                 - mov esi,eax
00C8C390 - E8 64470300           - call 00CC0AF9
00C8C395 - 0FAF F0               - imul esi,eax
00C8C398 - 8B 45 14              - mov eax,[ebp+14]
00C8C39B - 6A 0C                 - push 0C
00C8C39D - 8B CF                 - mov ecx,edi
00C8C39F - 03 F0                 - add esi,eax
00C8C3A1 - E8 53470300           - call 00CC0AF9
00C8C3A6 - 6B C0 19              - imul eax,eax,19
00C8C3A9 - 6A 11                 - push 11
00C8C3AB - 8B CF                 - mov ecx,edi
00C8C3AD - 03 F0                 - add esi,eax
00C8C3AF - E8 45470300           - call 00CC0AF9
00C8C3B4 - 6A 13                 - push 13
00C8C3B6 - 8B CF                 - mov ecx,edi
00C8C3B8 - 8D 34 46              - lea esi,[esi+eax*2]
00C8C3BB - E8 39470300           - call 00CC0AF9
00C8C3C0 - 6A 0F                 - push 0F
00C8C3C2 - 8B CF                 - mov ecx,edi
00C8C3C4 - 03 F0                 - add esi,eax
00C8C3C6 - E8 2E470300           - call 00CC0AF9
00C8C3CB - 6A 00                 - push 00
00C8C3CD - 8B CF                 - mov ecx,edi
00C8C3CF - 03 F0                 - add esi,eax
00C8C3D1 - E8 23470300           - call 00CC0AF9
00C8C3D6 - 8B 8B 04040000        - mov ecx,[ebx+00000404]
00C8C3DC - 03 C6                 - add eax,esi
00C8C3DE - 35 9BA01479           - xor eax,7914A09B
00C8C3E3 - 89 41 08              - mov [ecx+08],eax
00C8C3E6 - 33 C0                 - xor eax,eax
00C8C3E8 - 40                    - inc eax
00C8C3E9 - 5F                    - pop edi
00C8C3EA - 5E                    - pop esi
00C8C3EB - 5B                    - pop ebx
00C8C3EC - 5D                    - pop ebp
00C8C3ED - C2 1400               - ret 0014
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25287
Location: The netherlands

PostPosted: Tue Jan 25, 2022 2:32 am    Post subject: Reply with quote

5 parameters
1st parameter is a pointer, likely the object
5th parameter is a boolean

just look at the parameters passed yourself and try to figure it out

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
hawlong
Newbie cheater
Reputation: 0

Joined: 24 Jan 2022
Posts: 10

PostPosted: Tue Jan 25, 2022 5:16 am    Post subject: Reply with quote

Dark Byte wrote:
5 parameters
1st parameter is a pointer, likely the object
5th parameter is a boolean

just look at the parameters passed yourself and try to figure it out



Thanks for answer ,
Please Can you explain to me how I can find out the variables on my own?
Is there a course that teaches me everything about function or i search for what in Google

Everything i know about the above function ,the function only call one time
and I also took a picture when break point active



call.PNG
 Description:
 Filesize:  147.76 KB
 Viewed:  903 Time(s)

call.PNG


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites