// // cocos2d::CCTMXMapInfo::parseXMLFile from 0x80587c to 0x8058fa (126 bytes) // // 2 xrefs: // > cocos2d::CCTMXMapInfo::initWithTMXFile @ 0x805ef8 // > cocos2d::CCTMXMapInfo::startElement @ 0x8064a2 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:01:23 +0000 // int __fastcall cocos2d::CCTMXMapInfo::parseXMLFile(cocos2d::CCTMXMapInfo *this, const char *a2) { int v4; // r6 cocos2d::CCFileUtils *v5; // r0 int v6; // r0 char *v7; // r1 int v9; // [sp+4h] [bp-14h] BYREF char v10; // [sp+8h] [bp-10h] BYREF char v11; // [sp+9h] [bp-Fh] BYREF char *v12; // [sp+10h] [bp-8h] cocos2d::CCSAXParser::CCSAXParser(&v9); v4 = cocos2d::CCSAXParser::init((cocos2d::CCSAXParser *)&v9, "UTF-8"); if ( v4 ) { v5 = (cocos2d::CCFileUtils *)cocos2d::CCSAXParser::setDelegator(&v9, (int)this + 52); v6 = cocos2d::CCFileUtils::sharedFileUtils(v5); (*(void (__fastcall **)(char *, int, const char *, _DWORD))(*(_DWORD *)v6 + 24))(&v10, v6, a2, 0); if ( (v10 & 1) != 0 ) v7 = v12; else v7 = &v11; v4 = cocos2d::CCSAXParser::parse((cocos2d::CCSAXParser *)&v9, v7); std::string::~string((int)&v10); } cocos2d::CCSAXParser::~CCSAXParser((cocos2d::CCSAXParser *)&v9); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source