Update 'ScrapHacks notes'

Daniel S. 2023-01-23 13:26:23 +00:00
parent e7f2c6ce1c
commit 5d1c35b188
1 changed files with 18 additions and 0 deletions

@ -9,5 +9,23 @@ Map name: `Scrap.GetLangStr("Station_" + Scrap.GetLevelPath()[7:])`
## Signatures
- World pointer: `a3 *{'} e8 ? ? ? ? 6a 00 68 *"World initialized"`
```asm
mov [pWorld], eax
call ???
push 0x0
push "World initialized"
```
- print: `6a0068 *{"Scrap engine"} 6a?e8 $'`
```asm
push 0x0
push "Scrap engine initialized!\n\n"
push 0x0
call print
```
- console handler: `68 *{"import Viewer"} e8 $'`
```asm
push "import Viewer"
call console_handler
```