//
// cocos2d::CCSplitRows::update from 0x18003d150 to 0x18003d2b4 (356 bytes)
//
// 5 xrefs:
// > ??> @ 0x1800f0868
// > ??> @ 0x18013fa14
// > ??> @ 0x18013fa24
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bb1ac
//
// 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::CCSplitRows::update(cocos2d::CCSplitRows *this, float a2)
{
int v2; // edi
float v4; // xmm7_4
float *v5; // rax
float v6; // xmm2_4
float v7; // xmm2_4
float *v8; // rax
float v9; // [rsp+20h] [rbp-A8h] BYREF
float v10; // [rsp+28h] [rbp-A0h] BYREF
__int128 v11; // [rsp+30h] [rbp-98h] BYREF
float v12; // [rsp+48h] [rbp-80h]
float v13; // [rsp+54h] [rbp-74h]
v2 = 0;
if ( *((float *)this + 25) > 0.0 )
{
v4 = 0.0;
do
{
v5 = kmVec2Fill(&v9, 0.0, v4);
cocos2d::CCTiledGrid3DAction::originalTile((__int64)this, &v11, v5);
v6 = 1.0;
if ( (v2 & 1) == 0 )
v6 = -1.0;
v7 = (float)(v6 * *((float *)this + 27)) * a2;
*((float *)&v11 + 3) = *((float *)&v11 + 3) + v7;
*(float *)&v11 = *(float *)&v11 + v7;
v13 = v13 + v7;
v12 = v12 + v7;
v8 = kmVec2Fill(&v10, 0.0, v4);
cocos2d::CCTiledGrid3DAction::setTile(
this,
(const struct cocos2d::CCPoint *)v8,
(const struct cocos2d::_ccQuad3 *)&v11);
v4 = (float)++v2;
}
while ( *((float *)this + 25) > (float)v2 );
}
}