File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- #include " stdafx.h"
2-
3- // 0x00420493
4- void __declspec (naked) mfh_MapEnts_ParseEntities()
5- {
6- // Drop the node if no custom ents file is present
7- _asm
8- {
9- call MapEnts_CustomEntsFile_IsPresent
10- test eax, eax
11- jz DROP_NODE
12-
13- // LOAD_NODE:
14- mov eax, 0x00420499
15- jmp eax
16-
17- DROP_NODE :
18- mov eax, 0x0042083C
19- jmp eax
20- }
1+ #include " stdafx.h"
2+
3+ // 0x00420493
4+ void __declspec (naked) mfh_MapEnts_ParseEntities()
5+ {
6+ // Drop the node if no custom ents file is present
7+ _asm
8+ {
9+ call MapEnts_CustomEntsFile_IsPresent
10+ test eax, eax
11+ jz DROP_NODE
12+
13+ // LOAD_NODE:
14+ mov eax, 0x00420499
15+ jmp eax
16+
17+ DROP_NODE :
18+ mov eax, 0x0042083C
19+ jmp eax
20+ }
2121}
Original file line number Diff line number Diff line change 1- #pragma once
2-
3- typedef bool (__cdecl * MapEnts_CustomEntsFile_IsPresent_t )();
4- static MapEnts_CustomEntsFile_IsPresent_t MapEnts_CustomEntsFile_IsPresent = (MapEnts_CustomEntsFile_IsPresent_t )0x0041F6E0 ;
5-
6- void mfh_MapEnts_ParseEntities ();
1+ #pragma once
2+
3+ typedef bool (__cdecl * MapEnts_CustomEntsFile_IsPresent_t )();
4+ static MapEnts_CustomEntsFile_IsPresent_t MapEnts_CustomEntsFile_IsPresent = (MapEnts_CustomEntsFile_IsPresent_t )0x0041F6E0 ;
5+
6+ void mfh_MapEnts_ParseEntities ();
You can’t perform that action at this time.
0 commit comments