//
// cocos2d::CCPointArray::reverseInline from 0x1800266d0 to 0x180026768 (152 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801af3e8
//
// 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::CCPointArray::reverseInline(cocos2d::CCPointArray *this)
{
__int64 *v1; // r11
__int64 v2; // r10
__int64 v3; // rbx
__int64 v4; // rdx
unsigned __int64 v5; // rcx
unsigned __int64 v6; // rax
float *v7; // rcx
float *v8; // r9
int v9; // edx
int v10; // r8d
v1 = *((__int64 **)this + 7);
v2 = 0;
v3 = (v1[1] - *v1) >> 3;
if ( (unsigned int)v3 >> 1 )
{
do
{
v4 = *v1;
v5 = (v1[1] - *v1) >> 3;
if ( v5 <= (unsigned int)v2 || (v6 = (unsigned int)(v3 - v2 - 1), v5 <= v6) )
std::vector::_Xlen();
v7 = *(float **)(v4 + 8 * v2);
v2 = (unsigned int)(v2 + 1);
v8 = *(float **)(v4 + 8 * v6);
v9 = (int)*v7;
*v7 = *v8;
v10 = (int)v7[1];
v7[1] = v8[1];
*v8 = (float)v9;
v8[1] = (float)v10;
}
while ( (unsigned int)v2 < (unsigned int)v3 >> 1 );
}
}