// // cocos2d::CCArray::reverseObjects from 0x180007290 to 0x18000730b (123 bytes) // // 4 xrefs: // > @ 0x180131644 // > @ 0x180131654 // > @ 0x1801438a8 // > @ 0x1801ad9f0 // // 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 __fastcall cocos2d::CCArray::reverseObjects(cocos2d::CCArray *this) { unsigned int num; // edi int v3; // ebp unsigned int v4; // edi int i; // ebx num = this->data->num; if ( num > 1 ) { v3 = (int)floorf((float)(int)num * 0.5); v4 = num - 1; for ( i = 0; i < v3; ++i ) sub_18009E0B0(this->data, (unsigned int)i, v4--); } }