// // cocos2d::CCPointArray::reverseInline from 0x5b0e54 to 0x5b0ebc (104 bytes) // // 0 xrefs: // // 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 cocos2d::CCPointArray::reverseInline(cocos2d::CCPointArray *a1) { unsigned int v1; // r5 cocos2d::CCPointArray_vtbl *v2; // r6 cocos2d::CCObject *(__fastcall *copyWithZone)(cocos2d::CCPointArray *__hidden, cocos2d::CCZone *); // r8 unsigned int v4; // r4 unsigned int v5; // r9 unsigned int v6; // r4 float *v7; // r7 float *v8; // r3 float v9; // s14 float v10; // s15 v1 = 0; v2 = a1[1].__vftable; copyWithZone = v2->copyWithZone; v4 = ((char *)v2->~CCPointArray - (char *)v2->copyWithZone) >> 2; v5 = v4 >> 1; v6 = v4 - 1; while ( v1 != v5 ) { std::vector::_M_range_check(v2, v1); v7 = *((float **)copyWithZone + v1); std::vector::_M_range_check(v2, v6); v8 = *((float **)copyWithZone + v6); v9 = *v7; ++v1; --v6; v10 = v7[1]; *v7 = *v8; v7[1] = v8[1]; *v8 = (float)(int)v9; v8[1] = (float)(int)v10; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source