// // sub_B5C124 from 0xb5c124 to 0xb5c1e8 (196 bytes) // // 2 xrefs: // > sub_B5C9B8 @ 0xb5c9ec // > sub_B5C9B8 @ 0xb5c9f8 // // 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_B5C124(pugi::xpath_node *a1) { pugi::xml_node_struct *v2; // x0 __int64 v3; // x1 pugi::xml_attribute_struct *v5; // x0 pugi::xml_attribute v6; // [xsp+30h] [xbp+30h] BYREF v6._attr = pugi::xpath_node::node(a1); v2 = pugi::xml_node::internal_object((pugi::xml_node *)&v6); if ( !v2 ) { v6._attr = (pugi::xml_attribute_struct *)pugi::xpath_node::attribute(a1); v5 = pugi::xml_attribute::internal_object(&v6); if ( v5 ) { if ( (*(_QWORD *)v5 & 0x10) == 0 ) return *((_QWORD *)v5 + 1); if ( (*(_QWORD *)v5 & 8) == 0 ) return *((_QWORD *)v5 + 2); } return 0; } v3 = *((_QWORD *)v2 + 2); if ( !v3 || (*(_QWORD *)v2 & 0x10) != 0 ) { v3 = *((_QWORD *)v2 + 3); if ( !v3 || (*(_QWORD *)v2 & 8) != 0 ) return 0; } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source