// // cocos2d::ccArrayShrink from 0x7f7578 to 0x7f759c (36 bytes) // // 1 xrefs: // > cocos2d::CCArray::reduceMemoryFootprint @ 0x7c9328 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:01:10 +0000 // void **__fastcall cocos2d::ccArrayShrink(void **result) { void **v1; // r4 int v2; // r1 char *v3; // r3 v1 = result; v2 = (int)*result; v3 = (char *)result[1]; if ( v3 > *result ) { if ( !v2 ) { if ( v3 == (_BYTE *)&dword_0 + 1 ) return result; v2 = 1; } result[1] = (void *)v2; result = (void **)realloc(result[3], 4 * v2); v1[3] = result; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source