// // cocos2d::CCTextureAtlas::setupIndices from 0x800024 to 0x800072 (78 bytes) // // 2 xrefs: // > cocos2d::CCTextureAtlas::initWithTexture @ 0x80016e // > cocos2d::CCTextureAtlas::resizeCapacity @ 0x8004b8 // // 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:19 +0000 // int __fastcall cocos2d::CCTextureAtlas::setupIndices(int this) { __int16 v1; // r3 int v2; // r2 unsigned int v3; // r1 int v4; // r4 __int16 v5; // r7 int v6; // r4 if ( *(_DWORD *)(this + 72) ) { v1 = 1; v2 = 2; v3 = 0; while ( v3 < *(_DWORD *)(this + 72) ) { v4 = 12 * v3; v5 = 4 * v3++; *(_WORD *)(*(_DWORD *)(this + 52) + v4) = v5; *(_WORD *)(*(_DWORD *)(this + 52) + v2) = v1; *(_WORD *)(*(_DWORD *)(this + 52) + v2 + 2) = v1 + 1; *(_WORD *)(*(_DWORD *)(this + 52) + v2 + 4) = v1 + 2; *(_WORD *)(*(_DWORD *)(this + 52) + v2 + 6) = v1 + 1; v6 = *(_DWORD *)(this + 52) + v2; v2 += 12; *(_WORD *)(v6 + 8) = v1; v1 += 4; } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source