// // pugi::xml_node::traverse from 0x8135f0 to 0x813716 (294 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:01:39 +0000 // int __fastcall pugi::xml_node::traverse(pugi::xml_node *this, pugi::xml_tree_walker *a2) { int result; // r0 int v5; // r1 int v6; // r1 int v7; // r1 void (*v8)(); // r0 int v9; // r1 int v10; // r1 int v11; // r1 int v12; // [sp+0h] [bp-18h] BYREF void (*child)(); // [sp+4h] [bp-14h] BYREF void (*v14)(); // [sp+8h] [bp-10h] BYREF int v15; // [sp+Ch] [bp-Ch] BYREF void (*sibling)(); // [sp+10h] [bp-8h] BYREF *((_DWORD *)a2 + 1) = -1; v12 = *(_DWORD *)this; result = (*(int (__fastcall **)(pugi::xml_tree_walker *, int *))(*(_DWORD *)a2 + 8))(a2, &v12); if ( result ) { child = (void (*)())pugi::xml_node::first_child(this, v5); if ( pugi::xml_node::operator void (*)(pugi::xml_node***)(&child) ) { ++*((_DWORD *)a2 + 1); do { v14 = child; result = (*(int (__fastcall **)(pugi::xml_tree_walker *, void (**)()))(*(_DWORD *)a2 + 12))(a2, &v14); if ( !result ) return result; sibling = (void (*)())pugi::xml_node::first_child((pugi::xml_node *)&child, v6); if ( pugi::xml_node::operator void (*)(pugi::xml_node***)(&sibling) ) { ++*((_DWORD *)a2 + 1); v8 = (void (*)())pugi::xml_node::first_child((pugi::xml_node *)&child, v7); } else { sibling = (void (*)())pugi::xml_node::next_sibling((pugi::xml_node *)&child, v7); if ( !pugi::xml_node::operator void (*)(pugi::xml_node***)(&sibling) ) { while ( 1 ) { v15 = pugi::xml_node::next_sibling((pugi::xml_node *)&child, v9); if ( !pugi::xml_node::operator!(&v15) ) break; if ( !pugi::xml_node::operator!=(&child, this) ) break; sibling = (void (*)())pugi::xml_node::parent((pugi::xml_node *)&child, v10); if ( pugi::xml_node::empty((pugi::xml_node *)&sibling) ) break; --*((_DWORD *)a2 + 1); child = (void (*)())pugi::xml_node::parent((pugi::xml_node *)&child, v11); } if ( !pugi::xml_node::operator!=(&child, this) ) continue; } v8 = (void (*)())pugi::xml_node::next_sibling((pugi::xml_node *)&child, v9); } child = v8; } while ( pugi::xml_node::operator void (*)(pugi::xml_node***)(&child) && pugi::xml_node::operator!=(&child, this) ); } sibling = *(void (**)())this; return (*(int (__fastcall **)(pugi::xml_tree_walker *, void (**)()))(*(_DWORD *)a2 + 16))(a2, &sibling); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source