//
// cocos2d::CCPointArray::reverseInline from 0xd26c84 to 0xd26d04 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x58300
//
// 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:14 +0000
//
float __fastcall cocos2d::CCPointArray::reverseInline(cocos2d::CCPointArray *this)
{
__int64 *v1; // x2
__int64 v2; // x1
__int64 v3; // x2
unsigned int v4; // w5
int v5; // w8
__int64 v6; // x6
float *v7; // x4
bool v8; // zf
float *v9; // x3
int v10; // w2
int v11; // w1
float result; // s0
v1 = *((__int64 **)this + 7);
v2 = *v1;
v3 = (v1[1] - *v1) >> 3;
if ( (unsigned int)v3 >> 1 )
{
v4 = v3 - 1;
v5 = v3 - ((unsigned int)v3 >> 1);
v6 = 0;
while ( 1 )
{
v7 = *(float **)(v2 + v6);
v8 = v4 == v5;
v9 = *(float **)(v2 + 8LL * v4);
v6 += 8;
--v4;
v10 = (int)*v7;
v11 = (int)v7[1];
*v7 = *v9;
result = (float)v11;
v7[1] = v9[1];
*v9 = (float)v10;
v9[1] = (float)v11;
if ( v8 )
break;
v2 = **((_QWORD **)this + 7);
}
}
return result;
}