// // cocos2d::XmlSaxHander::VisitEnter from 0xd743d4 to 0xd7457c (424 bytes) // // 2 xrefs: // > @ 0xe4a00 // > @ 0x152d7f0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:08:02 +0000 // __int64 __fastcall cocos2d::XmlSaxHander::VisitEnter( cocos2d::XmlSaxHander *this, const tinyxml2::XMLElement *a2, const tinyxml2::XMLAttribute *a3) { const tinyxml2::XMLAttribute *v5; // x20 unsigned __int8 *v6; // x1 __int64 v7; // x0 _QWORD *v8; // x1 __int64 Str; // x0 unsigned __int8 *v10; // x0 cocos2d::CCSAXParser *v11; // x19 void *v12; // x0 const unsigned __int8 **v13; // x3 __int64 v15; // [xsp+48h] [xbp+48h] BYREF unsigned __int8 *v16; // [xsp+50h] [xbp+50h] BYREF unsigned __int8 *v17; // [xsp+58h] [xbp+58h] unsigned __int64 v18; // [xsp+60h] [xbp+60h] v16 = nullptr; v17 = nullptr; v5 = a3; v18 = 0; if ( !a3 ) { v15 = 0; goto LABEL_22; } do { while ( 1 ) { Str = tinyxml2::StrPair::GetStr((const tinyxml2::XMLAttribute *)((char *)v5 + 8)); v15 = Str; v6 = v17; if ( (unsigned __int64)v17 < v18 ) break; std::vector::__push_back_slow_path((__int64)&v16, &v15); v7 = tinyxml2::StrPair::GetStr((const tinyxml2::XMLAttribute *)((char *)v5 + 32)); v15 = v7; v8 = v17; if ( (unsigned __int64)v17 < v18 ) goto LABEL_6; LABEL_11: std::vector::__push_back_slow_path((__int64)&v16, &v15); v5 = *((const tinyxml2::XMLAttribute **)v5 + 7); if ( !v5 ) goto LABEL_12; } if ( v17 ) { *(_QWORD *)v17 = Str; v6 = v17; } v17 = v6 + 8; v7 = tinyxml2::StrPair::GetStr((const tinyxml2::XMLAttribute *)((char *)v5 + 32)); v15 = v7; v8 = v17; if ( (unsigned __int64)v17 >= v18 ) goto LABEL_11; LABEL_6: if ( v8 ) { *v8 = v7; v8 = v17; } v5 = *((const tinyxml2::XMLAttribute **)v5 + 7); v17 = (unsigned __int8 *)(v8 + 1); } while ( v5 ); LABEL_12: v10 = v17; v15 = 0; if ( v18 <= (unsigned __int64)v17 ) { LABEL_22: std::vector::__push_back_slow_path((__int64)&v16, &v15); goto LABEL_16; } if ( v17 ) { *(_QWORD *)v17 = 0; v10 = v17; } v17 = v10 + 8; LABEL_16: v11 = *((cocos2d::CCSAXParser **)this + 1); v12 = (void *)tinyxml2::StrPair::GetStr((const tinyxml2::XMLElement *)((char *)a2 + 24)); cocos2d::CCSAXParser::startElement(v11, v12, v16, v13); if ( v16 ) { if ( v16 != v17 ) v17 += 8 * ~((unsigned __int64)(v17 - 8 - v16) >> 3); operator delete(v16); } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source