// // sub_1004D0480 from 0x1004d0480 to 0x1004d04de (94 bytes) // // 11 xrefs: // > cocos2d::CCTMXMapInfo::startElement @ 0x1004ce2bb // > cocos2d::CCTMXMapInfo::startElement @ 0x1004ce31a // > cocos2d::CCTMXMapInfo::startElement @ 0x1004ce344 // > cocos2d::CCTMXMapInfo::startElement @ 0x1004ce360 // > cocos2d::CCTMXMapInfo::startElement @ 0x1004ce386 // > cocos2d::CCTMXMapInfo::startElement @ 0x1004ce39d // > cocos2d::CCTMXMapInfo::startElement @ 0x1004ce3b4 // > cocos2d::CCTMXMapInfo::startElement @ 0x1004ce3d9 // > cocos2d::CCTMXMapInfo::startElement @ 0x1004ce851 // > cocos2d::CCTMXMapInfo::startElement @ 0x1004cecaa // > cocos2d::CCTMXMapInfo::startElement @ 0x1004cf377 // // 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 // bool __fastcall sub_1004D0480(unsigned __int8 *a1, const char *a2) { size_t v2; // rax unsigned int v3; // ecx const void *v4; // r14 v2 = strlen(a2); v3 = *a1; if ( (v3 & 1) != 0 ) { if ( v2 == *((_QWORD *)a1 + 1) ) { if ( v2 == -1 ) sub_1000547C0(); v4 = *((const void **)a1 + 2); return memcmp(v4, a2, v2) == 0; } } else if ( v2 == v3 >> 1 ) { v4 = a1 + 1; return memcmp(v4, a2, v2) == 0; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source