// // pugi::xml_node::offset_debug from 0xb56c78 to 0xb56d34 (188 bytes) // // 1 xrefs: // > @ 0xb1a08 // // 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 // __int64 __fastcall pugi::xml_node::offset_debug(pugi::xml_node *this) { pugi::xml_node_struct *v2; // x0 __int64 v3; // x20 int v4; // w1 __int64 result; // x0 v2 = pugi::xml_node::root(this); if ( !v2 ) return -1; v3 = *((_QWORD *)v2 + 10); if ( !v3 ) return -1; v4 = pugi::xml_node::type(this) - 1; result = -1; switch ( v4 ) { case 0: result = 0; break; case 1: case 5: case 6: if ( (*(_QWORD *)this->_root & 0x10) != 0 ) return -1; result = *((_QWORD *)this->_root + 2) - v3; break; case 2: case 3: case 4: case 7: if ( (*(_QWORD *)this->_root & 8) != 0 ) return -1; result = *((_QWORD *)this->_root + 3) - v3; break; default: return result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source