//
// cocos2d::CCPointArray::reverseInline from 0x180026de0 to 0x180026e78 (152 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b94fc
//
// This function is hookable on this platform (idp: pc, 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 11:21:30 +0000
//
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 );
}
}