// // cocos2d::CCTextureAtlas::setupIndices from 0x1800a6ed0 to 0x1800a6f67 (151 bytes) // // 5 xrefs: // > cocos2d::CCTextureAtlas::initWithTexture @ 0x1800a6695 // > @ 0x18013fd30 // > @ 0x18013fd40 // > @ 0x1801438a8 // > @ 0x1801b7db8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall cocos2d::CCTextureAtlas::setupIndices(cocos2d::CCTextureAtlas *this) { unsigned int v1; // ebx __int64 v2; // r10 GLushort v3; // r11 if ( this->m_uCapacity ) { v1 = 0; do { v2 = 6 * v1; v3 = 4 * v1++; this->m_pIndices[v2] = v3; this->m_pIndices[(unsigned int)(v2 + 1)] = v3 + 1; this->m_pIndices[(unsigned int)(v2 + 2)] = v3 + 2; this->m_pIndices[(unsigned int)(v2 + 3)] = v3 + 3; this->m_pIndices[(unsigned int)(v2 + 4)] = v3 + 2; this->m_pIndices[(unsigned int)(v2 + 5)] = v3 + 1; } while ( v1 < this->m_uCapacity ); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source