//
// cocos2d::CCSplitRows::update from 0xd39290 to 0xd393c8 (312 bytes)
//
// 2 xrefs:
// > ??> @ 0xa0528
// > ??> @ 0x1515288
//
// 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::CCSplitRows::update(cocos2d::CCSplitRows *this, float a2)
{
unsigned int v4; // w23
float v5; // s9
float i; // s2
float v7; // s0
_BYTE v9[8]; // [xsp+50h] [xbp+50h] BYREF
float v10[3]; // [xsp+58h] [xbp+58h] BYREF
float v11; // [xsp+64h] [xbp+64h]
float v12; // [xsp+70h] [xbp+70h]
float v13; // [xsp+7Ch] [xbp+7Ch]
if ( *((float *)this + 24) > 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 + 26);
v10[0] = v10[0] + (float)(v7 * a2);
v11 = v11 + (float)(v7 * a2);
v12 = v12 + (float)(v7 * a2);
v13 = v13 + (float)(v7 * a2);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 0.0, v5);
cocos2d::CCTiledGrid3DAction::setTile((__int64)this, (__int64)v9, (__int64)v10);
v5 = (float)v4;
if ( (float)v4 >= *((float *)this + 24) )
break;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 0.0, (float)v4);
cocos2d::CCTiledGrid3DAction::originalTile(this, (const cocos2d::CCPoint *)v9, (__int64)v10);
if ( (v4 & 1) == 0 )
goto LABEL_3;
}
}
return _stack_chk_guard;
}