// // cocos2d::ccCArrayInsertValueAtIndex from 0x5eca0c to 0x5eca46 (58 bytes) // // 2 xrefs: // > cocos2d::CCTMXLayer::insertTileForGID @ 0x5f7a18 // > cocos2d::CCTMXLayer::appendTileForGID @ 0x5f7c60 // // 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 // _DWORD *__fastcall cocos2d::ccCArrayInsertValueAtIndex(_DWORD *result, int a2, int a3) { _DWORD *v4; // r4 int v6; // r7 v4 = result; v6 = *result - a3; if ( *result + 1 == result[1] ) result = cocos2d::ccCArrayDoubleCapacity((int)result); if ( v6 ) result = memmove((void *)(4 * (a3 + 1) + v4[3]), (const void *)(4 * (a3 + 1) - 4 + v4[3]), 4 * v6); ++*v4; *(_DWORD *)(v4[3] + 4 * a3) = a2; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source