//
// cocos2d::CCSplitCols::update from 0x18003c8c0 to 0x18003ca24 (356 bytes)
//
// 5 xrefs:
// > ??> @ 0x1800ea898
// > ??> @ 0x180136a94
// > ??> @ 0x180136aa4
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b1068
//
// 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::CCSplitCols::update(cocos2d::CCSplitCols *this, float a2)
{
int v2; // edi
float v5; // xmm7_4
float *v6; // rax
float v7; // xmm1_4
float v8; // xmm1_4
const struct cocos2d::CCPoint *v9; // rax
float v10; // [rsp+20h] [rbp-A8h] BYREF
float v11; // [rsp+28h] [rbp-A0h] BYREF
__int128 v12; // [rsp+30h] [rbp-98h] BYREF
float v13; // [rsp+40h] [rbp-88h]
float v14; // [rsp+4Ch] [rbp-7Ch]
float v15; // [rsp+58h] [rbp-70h]
v2 = 0;
if ( *((float *)this + 24) > 0.0 )
{
v5 = 0.0;
do
{
v6 = kmVec2Fill(&v10, v5, 0.0);
cocos2d::CCTiledGrid3DAction::originalTile((__int64)this, &v12, v6);
v7 = 1.0;
if ( (v2 & 1) == 0 )
v7 = -1.0;
v8 = (float)(v7 * *((float *)this + 28)) * a2;
v13 = v13 + v8;
*((float *)&v12 + 1) = *((float *)&v12 + 1) + v8;
v15 = v15 + v8;
v14 = v14 + v8;
v9 = (const struct cocos2d::CCPoint *)kmVec2Fill(&v11, v5, 0.0);
cocos2d::CCTiledGrid3DAction::setTile(this, v9, (const struct cocos2d::_ccQuad3 *)&v12);
v5 = (float)++v2;
}
while ( *((float *)this + 24) > (float)v2 );
}
}