// // tinyxml2::XMLDocument::LoadFile from 0x18009d8e0 to 0x18009d986 (166 bytes) // // 3 xrefs: // > @ 0x18014cf68 // > @ 0x1801c1110 // > @ 0x1801c111c // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:22:12 +0000 // __int64 __fastcall tinyxml2::XMLDocument::LoadFile(__int64 a1, const char *a2) { void *v4; // rcx errno_t v5; // eax FILE *Stream; // [rsp+30h] [rbp+8h] BYREF tinyxml2::XMLNode::DeleteChildren((tinyxml2::XMLNode *)a1); v4 = *(void **)(a1 + 120); *(_DWORD *)(a1 + 92) = 0; *(_QWORD *)(a1 + 104) = 0; *(_QWORD *)(a1 + 112) = 0; j_j_free_0(v4); *(_QWORD *)(a1 + 120) = 0; Stream = nullptr; v5 = fopen_s(&Stream, a2, "rb"); if ( !Stream || v5 ) { *(_QWORD *)(a1 + 112) = 0; *(_DWORD *)(a1 + 92) = 3; *(_QWORD *)(a1 + 104) = a2; return 3; } else { tinyxml2::XMLDocument::LoadFile(a1, Stream); fclose(Stream); return *(unsigned int *)(a1 + 92); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source