// // sub_B5C77C from 0xb5c77c to 0xb5c978 (508 bytes) // // 5 xrefs: // > sub_B5D78C @ 0xb5d81c // > sub_B5D78C @ 0xb5d830 // > sub_B5D78C @ 0xb5d840 // > sub_B5D78C @ 0xb5d850 // > sub_B5D78C @ 0xb5dcb8 // // 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 sub_B5C77C( pugi::xpath_node *a1, pugi::xpath_node *this, pugi::xpath_node *a3, int a4, int a5, int a6, int a7, int a8, char a9) { _BOOL4 v12; // w0 __int64 v13; // x3 __int64 v14; // x1 __int64 v15; // x0 _BOOL4 v16; // w0 __int64 v17; // x3 __int64 v18; // x1 __int64 v19; // x0 __int64 v20; // x3 __int64 v21; // x1 __int64 v22; // x0 pugi::xml_node_struct *v24; // [xsp+40h] [xbp+40h] BYREF pugi::xml_node_struct *v25; // [xsp+48h] [xbp+48h] BYREF __int64 v26; // [xsp+50h] [xbp+50h] BYREF v26 = pugi::xpath_node::attribute(this); if ( pugi::xml_attribute::operator void (*)(pugi::xml_attribute***)(&v26) ) { v26 = pugi::xpath_node::attribute(a1); if ( !pugi::xml_attribute::operator void (*)(pugi::xml_attribute***)(&v26) ) { LABEL_5: v13 = *((_QWORD *)a1 + 1); v14 = *(_QWORD *)this; v15 = *((_QWORD *)this + 1); *(_QWORD *)this = *(_QWORD *)a1; *((_QWORD *)this + 1) = v13; *(_QWORD *)a1 = v14; *((_QWORD *)a1 + 1) = v15; goto LABEL_6; } v25 = (pugi::xml_node_struct *)pugi::xpath_node::attribute(this); v24 = (pugi::xml_node_struct *)pugi::xpath_node::attribute(a1); v12 = pugi::xml_attribute::operator<(&v25, &v24); LABEL_4: if ( !v12 ) goto LABEL_6; goto LABEL_5; } v26 = pugi::xpath_node::attribute(a1); if ( !pugi::xml_attribute::operator void (*)(pugi::xml_attribute***)(&v26) ) { v25 = pugi::xpath_node::node(this); v24 = pugi::xpath_node::node(a1); v12 = pugi::xml_node::operator<(&v25, &v24); goto LABEL_4; } LABEL_6: v26 = pugi::xpath_node::attribute(a3); if ( pugi::xml_attribute::operator void (*)(pugi::xml_attribute***)(&v26) ) { v26 = pugi::xpath_node::attribute(this); if ( !pugi::xml_attribute::operator void (*)(pugi::xml_attribute***)(&v26) ) { LABEL_10: v17 = *((_QWORD *)this + 1); v18 = *(_QWORD *)a3; v19 = *((_QWORD *)a3 + 1); *(_QWORD *)a3 = *(_QWORD *)this; *((_QWORD *)a3 + 1) = v17; *(_QWORD *)this = v18; *((_QWORD *)this + 1) = v19; goto LABEL_11; } v25 = (pugi::xml_node_struct *)pugi::xpath_node::attribute(a3); v24 = (pugi::xml_node_struct *)pugi::xpath_node::attribute(this); v16 = pugi::xml_attribute::operator<(&v25, &v24); LABEL_9: if ( !v16 ) goto LABEL_11; goto LABEL_10; } v26 = pugi::xpath_node::attribute(this); if ( !pugi::xml_attribute::operator void (*)(pugi::xml_attribute***)(&v26) ) { v25 = pugi::xpath_node::node(a3); v24 = pugi::xpath_node::node(this); v16 = pugi::xml_node::operator<(&v25, &v24); goto LABEL_9; } LABEL_11: if ( (unsigned __int8)sub_B5C680(this, a1) ) { v20 = *((_QWORD *)a1 + 1); v21 = *(_QWORD *)this; v22 = *((_QWORD *)this + 1); *(_QWORD *)this = *(_QWORD *)a1; *((_QWORD *)this + 1) = v20; *(_QWORD *)a1 = v21; *((_QWORD *)a1 + 1) = v22; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source