// // cocos2d::CCTileMapAtlas::initWithTileFile from 0xdb09f4 to 0xdb0b00 (268 bytes) // // 2 xrefs: // > cocos2d::CCTileMapAtlas::create @ 0xdb0b48 // > @ 0xde388 // // 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:39 +0000 // __int64 __fastcall cocos2d::CCTileMapAtlas::initWithTileFile( cocos2d::CCTileMapAtlas *this, const char *a2, const char *a3, int a4, int a5) { unsigned __int8 v7; // w0 unsigned int v8; // w21 cocos2d::CCDictionary *v9; // x23 void (__fastcall *v10)(cocos2d::CCTileMapAtlas *, float *); // x22 float v14; // [xsp+50h] [xbp+50h] BYREF cocos2d::CCTileMapAtlas::loadTGAfile(this, a3); cocos2d::CCTileMapAtlas::calculateItemsToRender((__int64)this); v7 = cocos2d::CCAtlasNode::initWithTileFile(this, a2, a4, a5, *((_DWORD *)this + 106)); v8 = v7; if ( v7 ) { v9 = (cocos2d::CCDictionary *)operator new(0x48u); cocos2d::CCDictionary::CCDictionary(v9); *((_QWORD *)this + 52) = v9; (*(void (__fastcall **)(cocos2d::CCTileMapAtlas *))(*(_QWORD *)this + 1056LL))(this); v10 = *(void (__fastcall **)(cocos2d::CCTileMapAtlas *, float *))(*(_QWORD *)this + 320LL); cocos2d::CCSize::CCSize( &v14, (float)(unsigned int)(*(__int16 *)(*((_QWORD *)this + 51) + 6LL) * *((_DWORD *)this + 90)), (float)(unsigned int)(*(__int16 *)(*((_QWORD *)this + 51) + 8LL) * *((_DWORD *)this + 91))); v10(this, &v14); } return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source