// // cocos2d::CCTMXMapInfo::formatWithXML from 0x1004cd3e0 to 0x1004cd4c0 (224 bytes) // // 2 xrefs: // > cocos2d::CCTMXTiledMap::createWithXML @ 0x100518466 // > cocos2d::CCTMXTiledMap::initWithXML @ 0x1005184f9 // // 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 // cocos2d::CCTMXMapInfo *__fastcall cocos2d::CCTMXMapInfo::formatWithXML(const char *a1, const char *a2) { char *v2; // rbx v2 = (char *)operator new(0xE0u); cocos2d::CCObject::CCObject((__int64)v2); *(_QWORD *)v2 = off_100951470; *((_QWORD *)v2 + 7) = off_100951528; sub_10028CFC0(v2 + 68, &qword_1009A20A0); sub_10028CFC0(v2 + 76, &qword_1009A20A0); *((_DWORD *)v2 + 30) = 0; v2[124] = 0; *(_OWORD *)(v2 + 88) = 0; *((_QWORD *)v2 + 13) = 0; *((_OWORD *)v2 + 8) = 0; *((_OWORD *)v2 + 9) = 0; *((_OWORD *)v2 + 10) = 0; *((_OWORD *)v2 + 11) = 0; *((_OWORD *)v2 + 12) = 0; *(_OWORD *)(v2 + 204) = 0; cocos2d::CCTMXMapInfo::internalInit((cocos2d::CCTMXMapInfo *)v2, nullptr, a2); if ( cocos2d::CCTMXMapInfo::parseXMLString((cocos2d::CCTMXMapInfo *)v2, a1) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2); return nullptr; } return (cocos2d::CCTMXMapInfo *)v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source