//
// cocos2d::CCSplitCols::update from 0x18003cfe0 to 0x18003d144 (356 bytes)
//
// 5 xrefs:
// > ??> @ 0x1800f08f8
// > ??> @ 0x18013fa8c
// > ??> @ 0x18013fa9c
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bb188
//
// 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:37 +0000
//
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
float *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 = kmVec2Fill(&v11, v5, 0.0);
cocos2d::CCTiledGrid3DAction::setTile(
this,
(const struct cocos2d::CCPoint *)v9,
(const struct cocos2d::_ccQuad3 *)&v12);
v5 = (float)++v2;
}
while ( *((float *)this + 24) > (float)v2 );
}
}