//
// cocos2d::CCShuffleTiles::update from 0xd3abc0 to 0xd3acdc (284 bytes)
//
// 2 xrefs:
// > ??> @ 0x5b540
// > ??> @ 0x1514d48
//
// 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:25 +0000
//
__int64 __fastcall cocos2d::CCShuffleTiles::update(cocos2d::CCShuffleTiles *this, float a2)
{
float v3; // s1
float *v5; // x19
float v6; // s9
int v7; // w24
float v8; // s0
int v9; // w21
float v10; // s8
float *v11; // x2
_BYTE v13[8]; // [xsp+68h] [xbp+68h] BYREF
_BYTE v14[8]; // [xsp+70h] [xbp+70h] BYREF
v3 = *((float *)this + 23);
v5 = *((float **)this + 15);
if ( v3 > 0.0 )
{
v6 = 0.0;
v7 = 0;
v8 = *((float *)this + 24);
do
{
v9 = 0;
v10 = 0.0;
if ( v8 > 0.0 )
{
do
{
++v9;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, v5[4], v5[5]);
cocos2d::CCPoint::operator*(v13, a2);
cocos2d::CCPoint::operator=(v5, v14);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, v6, v10);
v11 = v5;
v5 += 6;
cocos2d::CCShuffleTiles::placeTile(this, (const cocos2d::CCPoint *)v14, v11);
v10 = (float)v9;
v8 = *((float *)this + 24);
}
while ( (float)v9 < v8 );
v3 = *((float *)this + 23);
}
v6 = (float)++v7;
}
while ( (float)v7 < v3 );
}
return _stack_chk_guard;
}