// // cocos2d::CCTileMapAtlas::setTile from 0x807998 to 0x807a64 (204 bytes) // // 0 xrefs: // // 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:26 +0000 // unsigned int __fastcall cocos2d::CCTileMapAtlas::setTile(int a1, unsigned __int8 *a2, float *a3, int a4) { int v6; // r1 int v8; // r3 int v9; // r1 unsigned int v10; // r3 unsigned int result; // r0 int v12; // r3 int v13; // r9 cocos2d::CCObject *v14; // r0 char *CString; // r10 size_t v16; // r0 int v17; // r8 int v18; // [sp+0h] [bp-10h] BYREF unsigned __int8 *v19; // [sp+4h] [bp-Ch] void *v20; // [sp+8h] [bp-8h] int v21; // [sp+Ch] [bp-4h] v18 = a1; v19 = a2; v20 = a3; v21 = a4; v6 = *(_DWORD *)(a1 + 332); v8 = *(__int16 *)(v6 + 6); v9 = *(_DWORD *)(v6 + 12); v10 = 3 * (unsigned int)(float)(*a3 + (float)((float)v8 * a3[1])); result = v9 + v10; if ( *(_BYTE *)(v9 + v10) ) { *(_WORD *)(v9 + v10) = *(_WORD *)a2; v12 = a2[2]; *(_BYTE *)(result + 2) = v12; v13 = *(_DWORD *)(a1 + 336); v14 = cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%ld,%ld", (const char *)(int)*a3, (int)a3[1], v12, v18, v19, v20, v21); v18 = 0; v19 = nullptr; v20 = nullptr; CString = cocos2d::CCString::getCString(v14); v16 = strlen(CString); std::string::__init(&v18, CString, v16); v17 = cocos2d::CCDictionary::objectForKey(v13, (int)&v18); if ( (v18 & 1) != 0 ) operator delete(v20); return cocos2d::CCTileMapAtlas::updateAtlasValueAt(a1, a3, a2, *(_DWORD *)(v17 + 52)); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source