Difference between revisions of "Auto Assembler:struct"
Jump to navigation
Jump to search
(Created page with 'Category:Assembler '''Auto Assembler''' {$STRICT} By default, CE doesn't care if you label() your labels or not. It's perfectly fine to do: 00400500: jmp bla something: …') |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
[[Category:Assembler]] | [[Category:Assembler]] | ||
− | '''Auto Assembler''' | + | '''Auto Assembler''' struct |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
+ | With STRUCT you can define an internal structure in your auto assembler script. This can be used to keep your code clear. | ||
Line 24: | Line 10: | ||
== Examples == | == Examples == | ||
− | + | <pre> | |
+ | STRUCT stackview | ||
+ | returnaddress: DD ? | ||
+ | param1: | ||
+ | DD ? | ||
+ | param2: DB ? ? ? ? | ||
+ | ENDSTRUCT | ||
− | + | mov eax,[EBP+stackview.param1] | |
− | + | mov ebx,[EBP+param2] | |
− | + | </pre> | |
− | + | ||
− | |||
== See also == | == See also == | ||
* [[Cheat_Engine:Auto Assembler|Auto Assembler]] | * [[Cheat_Engine:Auto Assembler|Auto Assembler]] | ||
+ | * [[Auto_Assembler:Commands|Auto Assembler Commands]] | ||
=== Related Commands === | === Related Commands === | ||
− | * [[ | + | * [[Auto_Assembler:aobScan|aobScan]] |
* [[Auto Assembler:aobScanModule|aobScanModule]] | * [[Auto Assembler:aobScanModule|aobScanModule]] | ||
+ | * [[Auto Assembler:aobScanRegion|aobScanRegion]] | ||
* [[Auto Assembler:alloc|alloc]] | * [[Auto Assembler:alloc|alloc]] | ||
* [[Auto Assembler:dealloc|dealloc]] | * [[Auto Assembler:dealloc|dealloc]] | ||
+ | * [[Auto Assembler:globalAlloc|globalAlloc]] | ||
* [[Auto Assembler:createThread|createThread]] | * [[Auto Assembler:createThread|createThread]] | ||
* [[Auto Assembler:define|define]] | * [[Auto Assembler:define|define]] | ||
+ | * [[Auto Assembler:fullAccess|fullAccess]] | ||
* [[Auto Assembler:globalAlloc|globalAlloc]] | * [[Auto Assembler:globalAlloc|globalAlloc]] | ||
* [[Auto Assembler:include|include]] | * [[Auto Assembler:include|include]] | ||
Line 51: | Line 46: | ||
* [[Auto Assembler:unregisterSymbol|unregisterSymbol]] | * [[Auto Assembler:unregisterSymbol|unregisterSymbol]] | ||
* [[Auto Assembler:LUA ASM|LUA ASM]] | * [[Auto Assembler:LUA ASM|LUA ASM]] | ||
− |
Latest revision as of 01:23, 13 January 2018
Auto Assembler struct
With STRUCT you can define an internal structure in your auto assembler script. This can be used to keep your code clear.
Command Parameters[edit]
<none>
Examples[edit]
STRUCT stackview returnaddress: DD ? param1: DD ? param2: DB ? ? ? ? ENDSTRUCT mov eax,[EBP+stackview.param1] mov ebx,[EBP+param2]