// // cocos2d::CCArray::reverseObjects from 0xd4752c to 0xd475a4 (120 bytes) // // 3 xrefs: // > LevelEditorLayer::reverseKeyframeAnimationOrder @ 0x78e194 // > FriendsProfilePage::sortUsers @ 0xa4fcec // > @ 0xe2f18 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:07:35 +0000 // unsigned int *__fastcall cocos2d::CCArray::reverseObjects(cocos2d::CCArray *this) { unsigned int *result; // x0 unsigned int v3; // w19 unsigned int v4; // w20 int v5; // w21 unsigned int v6; // w19 __int64 v7; // x1 __int64 v8; // x2 result = *((unsigned int **)this + 7); v3 = *result; if ( *result > 1 ) { v4 = v3 - 1; v5 = (int)(float)((float)v3 * 0.5); if ( v5 > 0 ) { v6 = 0; while ( 1 ) { v7 = v6; v8 = v4; ++v6; --v4; result = (unsigned int *)cocos2d::ccArraySwapObjectsAtIndexes(result, v7, v8); if ( v6 == v5 ) break; result = *((unsigned int **)this + 7); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source