// // cocos2d::CCTextureAtlas::setupIndices from 0x100307dac to 0x100307e1c (112 bytes) // // 2 xrefs: // > cocos2d::CCTextureAtlas::initWithTexture @ 0x100307d4c // > cocos2d::CCTextureAtlas::resizeCapacity @ 0x1003081f8 // // 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 11:03:09 +0000 // __int64 __fastcall cocos2d::CCTextureAtlas::setupIndices(__int64 result) { __int64 v1; // x8 unsigned int v2; // w9 __int64 v3; // x10 __int64 v4; // x11 __int16 v5; // w12 __int16 v6; // w13 v1 = *(unsigned int *)(result + 84); if ( (_DWORD)v1 ) { v2 = 0; v3 = 0; v4 = *(_QWORD *)(result + 56); do { *(_WORD *)(v4 + 2LL * v2) = 4 * v3; v5 = (4 * v3) | 1; *(_WORD *)(v4 + 2LL * (v2 + 1)) = v5; *(_WORD *)(v4 + 2LL * (v2 + 3)) = (4 * v3) | 3; v6 = (4 * v3) | 2; *(_WORD *)(v4 + 2LL * (v2 + 2)) = v6; *(_WORD *)(v4 + 2LL * (v2 + 4)) = v6; ++v3; *(_WORD *)(v4 + 2LL * (v2 + 5)) = v5; v2 += 6; } while ( v1 != v3 ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source