// // cocos2d::CCTextureAtlas::setupIndices from 0xda43ec to 0xda4474 (136 bytes) // // 3 xrefs: // > cocos2d::CCTextureAtlas::initWithTexture @ 0xda45ec // > cocos2d::CCTextureAtlas::resizeCapacity @ 0xda4ce4 // > @ 0x76f30 // // 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:31 +0000 // __int64 __fastcall cocos2d::CCTextureAtlas::setupIndices(__int64 this) { __int16 v1; // w2 unsigned int v2; // w1 unsigned int v3; // w4 unsigned int v4; // w9 __int16 v5; // w3 unsigned int v6; // w8 unsigned int v7; // w7 unsigned int v8; // w6 unsigned int v9; // w5 if ( *(_DWORD *)(this + 80) ) { v1 = 2; v2 = 0; v3 = 0; do { v4 = v2 + 1; v5 = v1 - 1; v6 = v2 + 2; v7 = v2 + 3; *(_WORD *)(*(_QWORD *)(this + 56) + 2LL * v2) = 4 * v3; v8 = v2 + 4; v9 = v2 + 5; ++v3; v2 += 6; *(_WORD *)(*(_QWORD *)(this + 56) + 2LL * v4) = v1 - 1; *(_WORD *)(*(_QWORD *)(this + 56) + 2LL * v6) = v1; *(_WORD *)(*(_QWORD *)(this + 56) + 2LL * v7) = v1 + 1; *(_WORD *)(*(_QWORD *)(this + 56) + 2LL * v8) = v1; v1 += 4; *(_WORD *)(*(_QWORD *)(this + 56) + 2LL * v9) = v5; } while ( v3 < *(_DWORD *)(this + 80) ); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source