// // cocos2d::CCTextureAtlas::setupIndices from 0x1800aaa50 to 0x1800aaae7 (151 bytes) // // 5 xrefs: // > cocos2d::CCTextureAtlas::initWithTexture @ 0x1800aa1e5 // > @ 0x180148ff8 // > @ 0x180149008 // > @ 0x18014cf68 // > @ 0x1801c2070 // // This function is hookable on this platform (idp: pc, 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:22:17 +0000 // void __fastcall cocos2d::CCTextureAtlas::setupIndices(cocos2d::CCTextureAtlas *this) { unsigned int v1; // ebx __int64 v2; // r10 __int16 v3; // r11 if ( *((_DWORD *)this + 20) ) { v1 = 0; do { v2 = 6 * v1; v3 = 4 * v1++; *(_WORD *)(*((_QWORD *)this + 7) + 2 * v2) = v3; *(_WORD *)(*((_QWORD *)this + 7) + 2LL * (unsigned int)(v2 + 1)) = v3 + 1; *(_WORD *)(*((_QWORD *)this + 7) + 2LL * (unsigned int)(v2 + 2)) = v3 + 2; *(_WORD *)(*((_QWORD *)this + 7) + 2LL * (unsigned int)(v2 + 3)) = v3 + 3; *(_WORD *)(*((_QWORD *)this + 7) + 2LL * (unsigned int)(v2 + 4)) = v3 + 2; *(_WORD *)(*((_QWORD *)this + 7) + 2LL * (unsigned int)(v2 + 5)) = v3 + 1; } while ( v1 < *((_DWORD *)this + 20) ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source