//
// cocos2d::CCShuffleTiles::update from 0x5bbb28 to 0x5bbbe2 (186 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void cocos2d::CCShuffleTiles::update(cocos2d::CCShuffleTiles *a1, float a2)
{
int v4; // r11
PlayerObject *m_uAutoReleaseCount; // r4
cocos2d::CCObjectType *p_m_eObjType; // r5
int i; // r3
float v8; // s17
float v9; // r1
float v10; // r2
int v11; // r2
bool v12; // r3
int v13; // [sp+4h] [bp-20h]
cocos2d::CCPoint v14; // [sp+Ch] [bp-18h] BYREF
cocos2d::CCPoint v15; // [sp+14h] [bp-10h] BYREF
v4 = 0;
m_uAutoReleaseCount = (PlayerObject *)a1[1].m_uAutoReleaseCount;
while ( (float)v4 < *(float *)&a1[1].__vftable )
{
p_m_eObjType = &m_uAutoReleaseCount->m_eObjType;
for ( i = 0; ; i = v13 + 1 )
{
m_uAutoReleaseCount = (PlayerObject *)(p_m_eObjType - 6);
v8 = (float)i;
if ( (float)i >= *(float *)&a1[1].m_uID )
break;
v9 = *((float *)p_m_eObjType - 2);
v10 = *((float *)p_m_eObjType - 1);
p_m_eObjType += 6;
v13 = i;
cocos2d::CCPoint::CCPoint(&v14, v9, v10);
cocos2d::CCPoint::operator*(&v15, &v14, LODWORD(a2));
cocos2d::CCPoint::operator=(m_uAutoReleaseCount, COERCE_FLOAT(&v15), v11, v12);
cocos2d::CCPoint::CCPoint(&v15, (float)v4, v8);
cocos2d::CCShuffleTiles::placeTile((cocos2d::CCPoint *)a1, (int)&v15, (float *)m_uAutoReleaseCount);
}
++v4;
}
}