//
// cocos2d::CCSplitCols::update from 0x10089d680 to 0x10089d77c (252 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ba95c8
//
// 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 12:37:09 +0000
//
__int64 __fastcall cocos2d::CCSplitCols::update(__int64 a1, float a2)
{
float v2; // xmm0_4
int v3; // r12d
float v4; // xmm0_4
__int64 result; // rax
float v6; // xmm0_4
float v7; // [rsp+8h] [rbp-68h] BYREF
_BYTE v8[4]; // [rsp+10h] [rbp-60h] BYREF
float v9; // [rsp+14h] [rbp-5Ch]
float v10; // [rsp+20h] [rbp-50h]
float v11; // [rsp+2Ch] [rbp-44h]
float v12; // [rsp+38h] [rbp-38h]
float v13; // [rsp+40h] [rbp-30h]
float v14; // [rsp+44h] [rbp-2Ch]
v14 = a2;
v2 = 0.0;
if ( *(float *)(a1 + 92) > 0.0 )
{
v3 = 1;
do
{
v13 = v2;
sub_100278250(&v7, v2, 0.0);
cocos2d::CCTiledGrid3DAction::originalTile((__int64)v8, a1, (__int64)&v7);
v6 = *(float *)(a1 + 108);
if ( (((_BYTE)v3 - 1) & 1) == 0 )
v6 = -v6;
v4 = v6 * v14;
v9 = v9 + v4;
v10 = v10 + v4;
v11 = v11 + v4;
v12 = v4 + v12;
sub_100278250(&v7, v13, 0.0);
cocos2d::CCTiledGrid3DAction::setTile(a1, (__int64)&v7, (__int64)v8);
result = (unsigned int)v3;
v2 = (float)v3++;
}
while ( *(float *)(a1 + 92) > v2 );
}
return result;
}