// // cocos2d::ccArrayUpdateChildIndexes from 0x7f77b2 to 0x7f77ea (56 bytes) // // 3 xrefs: // > cocos2d::CCNode::updateChildIndexes @ 0x7c49ac // > cocos2d::ccArrayAppendObjectChild @ 0x7f77f0 // > cocos2d::ccArrayRemoveAllObjects @ 0x7f782a // // 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:11 +0000 // int __fastcall cocos2d::ccArrayUpdateChildIndexes(int result) { int v1; // r4 int v2; // r3 int v3; // r2 int v4; // r5 int v5; // r6 v1 = *(_DWORD *)(result + 8); if ( v1 != -1 ) { v2 = 0; v3 = 0; while ( v2 < v1 ) { v4 = *(_DWORD *)(result + 12); v5 = *(_DWORD *)(v4 + 4 * v2); if ( v5 ) { if ( v3 ) { *(_DWORD *)(v4 + 4 * (v2 - v3)) = v5; *(_DWORD *)(*(_DWORD *)(*(_DWORD *)(result + 12) + 4 * (v2 - v3)) + 32) = v2 - v3; } } else { ++v3; } ++v2; } *(_DWORD *)(result + 8) = -1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source