// // cocos2d::XmlSaxHander::VisitEnter from 0xb03e88 to 0xb03ff0 (360 bytes) // // 2 xrefs: // > @ 0xaeb10 // > @ 0x12179b0 // // 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 cocos2d::XmlSaxHander::VisitEnter( cocos2d::XmlSaxHander *this, const tinyxml2::XMLElement *a2, const tinyxml2::XMLAttribute *a3) { const tinyxml2::XMLAttribute *v5; // x20 __int64 Str; // x0 __int64 *v7; // x1 __int64 v8; // x0 __int64 *v9; // x1 __int64 *v10; // x0 void *v11; // x19 const cocos2d::CC_XML_CHAR *v12; // x0 __int64 v14; // [xsp+48h] [xbp+48h] BYREF void *p; // [xsp+50h] [xbp+50h] BYREF __int64 *v16; // [xsp+58h] [xbp+58h] __int64 *v17; // [xsp+60h] [xbp+60h] p = nullptr; v16 = nullptr; v5 = a3; v17 = nullptr; if ( !a3 ) { v14 = 0; LABEL_21: std::vector::_M_emplace_back_aux((__int64)&p, &v14); goto LABEL_15; } do { Str = tinyxml2::StrPair::GetStr((const tinyxml2::XMLAttribute *)((char *)v5 + 8)); v14 = Str; v7 = v16; if ( v16 == v17 ) { std::vector::_M_emplace_back_aux((__int64)&p, &v14); } else { if ( v16 ) { *v16 = Str; v7 = v16; } v16 = v7 + 1; } v8 = tinyxml2::StrPair::GetStr((const tinyxml2::XMLAttribute *)((char *)v5 + 32)); v14 = v8; v9 = v16; if ( v16 == v17 ) { std::vector::_M_emplace_back_aux((__int64)&p, &v14); } else { if ( v16 ) { *v16 = v8; v9 = v16; } v16 = v9 + 1; } v5 = *((const tinyxml2::XMLAttribute **)v5 + 7); } while ( v5 ); v10 = v16; v14 = 0; if ( v17 == v16 ) goto LABEL_21; if ( v16 ) { *v16 = 0; v10 = v16; } v16 = v10 + 1; LABEL_15: v11 = *((void **)this + 1); v12 = (const cocos2d::CC_XML_CHAR *)tinyxml2::StrPair::GetStr((const tinyxml2::XMLElement *)((char *)a2 + 24)); cocos2d::CCSAXParser::startElement(v11, v12, (const cocos2d::CC_XML_CHAR **)p); if ( p ) operator delete(p); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source