// // cocos2d::CCTextureAtlas::insertQuadFromIndex from 0x5f47a6 to 0x5f4804 (94 bytes) // // 0 xrefs: // // 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 cocos2d::CCTextureAtlas::insertQuadFromIndex(cocos2d::CCTextureAtlas *a1, unsigned int a2, unsigned int a3) { unsigned int v3; // r9 unsigned int v4; // r10 cocos2d::ccV3F_C4B_T2F_Quad *m_pQuads; // r7 unsigned int v8; // r11 _BYTE v9[96]; // [sp+0h] [bp-64h] BYREF if ( a2 != a3 ) { m_pQuads = a1->m_pQuads; if ( a2 > a3 ) v4 = a3 + 1; else v3 = a2 + 1; v8 = a2 - a3; if ( a2 > a3 ) v3 = a3; else v4 = a2; memcpy(v9, &m_pQuads[a2], sizeof(v9)); memmove(&m_pQuads[v4], &m_pQuads[v3], 96 * v8); memcpy(&a1->m_pQuads[a3], v9, sizeof(a1->m_pQuads[a3])); a1->m_bDirty = 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source