//
// cocos2d::CCSplitCols::update from 0xd393c8 to 0xd39500 (312 bytes)
//
// 2 xrefs:
// > ??> @ 0xa52e0
// > ??> @ 0x1515328
//
// This function is hookable on this platform (idp: arm, 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 13:07:24 +0000
//
__int64 __fastcall cocos2d::CCSplitCols::update(cocos2d::CCSplitCols *this, float a2)
{
unsigned int v4; // w23
float v5; // s9
float i; // s2
float v7; // s0
_BYTE v9[8]; // [xsp+50h] [xbp+50h] BYREF
_BYTE v10[4]; // [xsp+58h] [xbp+58h] BYREF
float v11; // [xsp+5Ch] [xbp+5Ch]
float v12; // [xsp+68h] [xbp+68h]
float v13; // [xsp+74h] [xbp+74h]
float v14; // [xsp+80h] [xbp+80h]
if ( *((float *)this + 23) > 0.0 )
{
v4 = 0;
v5 = 0.0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 0.0, 0.0);
cocos2d::CCTiledGrid3DAction::originalTile(this, (const cocos2d::CCPoint *)v9, (__int64)v10);
LABEL_3:
for ( i = -1.0; ; i = 1.0 )
{
++v4;
v7 = i * *((float *)this + 27);
v11 = v11 + (float)(v7 * a2);
v12 = v12 + (float)(v7 * a2);
v13 = v13 + (float)(v7 * a2);
v14 = v14 + (float)(v7 * a2);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, v5, 0.0);
cocos2d::CCTiledGrid3DAction::setTile((__int64)this, (__int64)v9, (__int64)v10);
v5 = (float)v4;
if ( (float)v4 >= *((float *)this + 23) )
break;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, (float)v4, 0.0);
cocos2d::CCTiledGrid3DAction::originalTile(this, (const cocos2d::CCPoint *)v9, (__int64)v10);
if ( (v4 & 1) == 0 )
goto LABEL_3;
}
}
return _stack_chk_guard;
}