// // pugi::xml_node::traverse from 0x603f78 to 0x60409e (294 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall pugi::xml_node::traverse(pugi::xml_node *this, pugi::xml_tree_walker *a2) { int result; // r0 pugi::xml_node_struct *v5; // r1 pugi::xml_node_struct *v6; // r1 pugi::xml_node_struct *v7; // r1 pugi::xml_node_struct *v8; // r0 pugi::xml_node_struct *v9; // r1 pugi::xml_node_struct *v10; // r1 pugi::xml_node_struct *v11; // r1 pugi::xml_node_struct *root; // [sp+0h] [bp-18h] BYREF pugi::xml_node v13; // [sp+4h] [bp-14h] BYREF pugi::xml_node_struct *v14; // [sp+8h] [bp-10h] BYREF pugi::xml_node_struct *v15; // [sp+Ch] [bp-Ch] BYREF pugi::xml_node v16; // [sp+10h] [bp-8h] BYREF *((_DWORD *)a2 + 1) = -1; root = this->_root; result = (*(int (__fastcall **)(pugi::xml_tree_walker *, pugi::xml_node_struct **))(*(_DWORD *)a2 + 8))(a2, &root); if ( result ) { v13._root = pugi::xml_node::first_child(this, v5); if ( pugi::xml_node::operator void (*)(pugi::xml_node***)((void (**)())&v13) ) { ++*((_DWORD *)a2 + 1); do { v14 = v13._root; result = (*(int (__fastcall **)(pugi::xml_tree_walker *, pugi::xml_node_struct **))(*(_DWORD *)a2 + 12))( a2, &v14); if ( !result ) return result; v16._root = pugi::xml_node::first_child(&v13, v6); if ( pugi::xml_node::operator void (*)(pugi::xml_node***)((void (**)())&v16) ) { ++*((_DWORD *)a2 + 1); v8 = pugi::xml_node::first_child(&v13, v7); } else { v16._root = pugi::xml_node::next_sibling(&v13, v7); if ( !pugi::xml_node::operator void (*)(pugi::xml_node***)((void (**)())&v16) ) { while ( 1 ) { v15 = pugi::xml_node::next_sibling(&v13, v9); if ( !pugi::xml_node::operator!(&v15) ) break; if ( !pugi::xml_node::operator!=(&v13, this) ) break; v16._root = pugi::xml_node::parent(&v13, v10); if ( pugi::xml_node::empty(&v16) ) break; --*((_DWORD *)a2 + 1); v13._root = pugi::xml_node::parent(&v13, v11); } if ( !pugi::xml_node::operator!=(&v13, this) ) continue; } v8 = pugi::xml_node::next_sibling(&v13, v9); } v13._root = v8; } while ( pugi::xml_node::operator void (*)(pugi::xml_node***)((void (**)())&v13) && pugi::xml_node::operator!=(&v13, this) ); } v16._root = this->_root; return (*(int (__fastcall **)(pugi::xml_tree_walker *, pugi::xml_node *))(*(_DWORD *)a2 + 16))(a2, &v16); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source