// // cocos2d::CCTMXMapInfo::formatWithTMXFile from 0x1004cd1d0 to 0x1004cd2c4 (244 bytes) // // 2 xrefs: // > cocos2d::CCTMXTiledMap::create @ 0x10051828d // > cocos2d::CCTMXTiledMap::initWithTMXFile @ 0x1005183a0 // // 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::formatWithTMXFile(const char *a1) { char *v1; // rbx v1 = (char *)operator new(0xE0u); cocos2d::CCObject::CCObject((__int64)v1); *(_QWORD *)v1 = off_100951470; *((_QWORD *)v1 + 7) = off_100951528; sub_10028CFC0(v1 + 68, &qword_1009A20A0); sub_10028CFC0(v1 + 76, &qword_1009A20A0); *((_DWORD *)v1 + 30) = 0; v1[124] = 0; *(_OWORD *)(v1 + 88) = 0; *((_QWORD *)v1 + 13) = 0; *((_OWORD *)v1 + 8) = 0; *((_OWORD *)v1 + 9) = 0; *((_OWORD *)v1 + 10) = 0; *((_OWORD *)v1 + 11) = 0; *((_OWORD *)v1 + 12) = 0; *(_OWORD *)(v1 + 204) = 0; cocos2d::CCTMXMapInfo::internalInit((cocos2d::CCTMXMapInfo *)v1, a1, nullptr); if ( (v1[136] & 1) != 0 ) { if ( !cocos2d::CCTMXMapInfo::parseXMLFile((cocos2d::CCTMXMapInfo *)v1, *((const char **)v1 + 19)) ) goto LABEL_3; LABEL_5: cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1); return (cocos2d::CCTMXMapInfo *)v1; } if ( cocos2d::CCTMXMapInfo::parseXMLFile((cocos2d::CCTMXMapInfo *)v1, v1 + 137) ) goto LABEL_5; LABEL_3: (*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1); return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source