// // tinyxml2::XMLNode::ParseDeep from 0x18009e560 to 0x18009e7fe (670 bytes) // // 5 xrefs: // > tinyxml2::XMLElement::ParseDeep @ 0x18009e543 // > @ 0x18010ad70 // > @ 0x18010b1a0 // > @ 0x18014cf68 // > @ 0x1801c1218 // // 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 // // Hidden C++ exception states: #wind=1 char *__fastcall tinyxml2::XMLNode::ParseDeep(tinyxml2::XMLDocument **this, char *a2, struct tinyxml2::StrPair *a3) { char *v4; // rbp char *v6; // rdx struct tinyxml2::XMLNode *v7; // rbx __int64 v8; // rax __int64 v9; // rax unsigned __int64 v10; // rdx tinyxml2::StrPair *v11; // rcx const char *v12; // rdi const char *v13; // rax char v14; // cl bool v15; // zf const char *Str; // rax __int64 v17; // rcx __int64 v18; // rdi __int64 v19; // rax __int64 v20; // rdi __int64 v22; // rdi __int64 v23; // rax int v24; // [rsp+20h] [rbp-38h] BYREF void *Block[2]; // [rsp+28h] [rbp-30h] struct tinyxml2::XMLNode *v26; // [rsp+68h] [rbp+10h] BYREF v4 = a2; if ( a2 ) { while ( 1 ) { if ( !*v4 ) return nullptr; v26 = nullptr; v6 = tinyxml2::XMLDocument::Identify(*(this + 1), v4, &v26); if ( !v6 ) return nullptr; v7 = v26; if ( !v26 ) return nullptr; v24 = 0; *(_OWORD *)Block = 0; v4 = (char *)(*(__int64 (__fastcall **)(struct tinyxml2::XMLNode *, char *, int *))(*(_QWORD *)v26 + 120LL))( v26, v6, &v24); v8 = *(_QWORD *)v7; if ( !v4 ) { v22 = *((_QWORD *)v7 + 10); (*(void (__fastcall **)(struct tinyxml2::XMLNode *, _QWORD))(v8 + 128))(v7, 0); (*(void (__fastcall **)(__int64, struct tinyxml2::XMLNode *))(*(_QWORD *)v22 + 24LL))(v22, v7); v23 = (__int64)*(this + 1); if ( !*(_DWORD *)(v23 + 92) ) { *(_DWORD *)(v23 + 92) = 17; *(_QWORD *)(v23 + 104) = 0; *(_QWORD *)(v23 + 112) = 0; } if ( (v24 & 0x200) != 0 ) j_j_free_0(Block[0]); return nullptr; } if ( (*(__int64 (__fastcall **)(struct tinyxml2::XMLNode *))(v8 + 8))(v7) && *(_DWORD *)((*(__int64 (__fastcall **)(struct tinyxml2::XMLNode *))(*(_QWORD *)v7 + 8LL))(v7) + 88) == 2 ) { if ( a3 ) { *(_OWORD *)a3 = *(_OWORD *)((char *)v7 + 24); *((_QWORD *)a3 + 2) = *((_QWORD *)v7 + 5); } (*(void (__fastcall **)(_QWORD))(**((_QWORD **)v7 + 10) + 32LL))(*((_QWORD *)v7 + 10)); v20 = *((_QWORD *)v7 + 10); (*(void (__fastcall **)(struct tinyxml2::XMLNode *, _QWORD))(*(_QWORD *)v7 + 128LL))(v7, 0); (*(void (__fastcall **)(__int64, struct tinyxml2::XMLNode *))(*(_QWORD *)v20 + 24LL))(v20, v7); if ( (v24 & 0x200) != 0 ) j_j_free_0(Block[0]); return v4; } v9 = (*(__int64 (__fastcall **)(struct tinyxml2::XMLNode *))(*(_QWORD *)v7 + 8LL))(v7); if ( !v9 ) { LABEL_25: v19 = (__int64)*(this + 7); if ( v19 ) { *(_QWORD *)(v19 + 72) = v7; *((_QWORD *)v7 + 8) = *(this + 7); *(this + 7) = v7; } else { *(this + 7) = v7; *(this + 6) = v7; *((_QWORD *)v7 + 8) = 0; } *((_QWORD *)v7 + 9) = 0; *((_QWORD *)v7 + 2) = this; (*(void (__fastcall **)(_QWORD, unsigned __int64))(**((_QWORD **)v7 + 10) + 32LL))(*((_QWORD *)v7 + 10), v10); goto LABEL_29; } v10 = (unsigned __int64)Block[0]; if ( Block[0] == Block[1] && !*(_DWORD *)(v9 + 88) ) goto LABEL_23; if ( Block[0] == Block[1] ) goto LABEL_25; v11 = (struct tinyxml2::XMLNode *)((char *)v7 + 24); if ( !*(_DWORD *)(v9 + 88) ) break; LABEL_24: Str = tinyxml2::StrPair::GetStr(v11); v17 = (__int64)*(this + 1); *(_QWORD *)(v17 + 112) = 0; *(_QWORD *)(v17 + 104) = Str; *(_DWORD *)(v17 + 92) = 16; v4 = nullptr; v18 = *((_QWORD *)v7 + 10); (*(void (__fastcall **)(struct tinyxml2::XMLNode *, _QWORD))(*(_QWORD *)v7 + 128LL))(v7, 0); (*(void (__fastcall **)(__int64, struct tinyxml2::XMLNode *))(*(_QWORD *)v18 + 24LL))(v18, v7); LABEL_29: if ( (v24 & 0x200) != 0 ) j_j_free_0(Block[0]); if ( !v4 ) return nullptr; } v12 = tinyxml2::StrPair::GetStr(v11); v13 = tinyxml2::StrPair::GetStr((tinyxml2::StrPair *)&v24); v10 = 0; if ( v13 == v12 ) goto LABEL_25; v14 = *v13; if ( *v13 ) { do { if ( !*v12 || v14 != *v12 ) break; v15 = (_DWORD)v10 == 0x7FFFFFFF; if ( (_DWORD)v10 == 0x7FFFFFFF ) goto LABEL_20; ++v13; ++v12; v10 = (unsigned int)(v10 + 1); v14 = *v13; } while ( *v13 ); v15 = (_DWORD)v10 == 0x7FFFFFFF; LABEL_20: if ( v15 ) goto LABEL_25; } if ( !*v13 && !*v12 ) goto LABEL_25; LABEL_23: v11 = (struct tinyxml2::XMLNode *)((char *)v7 + 24); goto LABEL_24; } return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source