//
// cocos2d::CCShuffleTiles::getDelta from 0xac8908 to 0xac89c0 (184 bytes)
//
// 2 xrefs:
// > cocos2d::CCShuffleTiles::startWithTarget @ 0xac8b24
// > ??> @ 0xb2b30
//
// 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
//
cocos2d::CCSize cocos2d::CCShuffleTiles::getDelta(cocos2d::CCShuffleTiles *a1, const cocos2d::CCSize *a2)
{
cocos2d::CCSize *v2; // x8
cocos2d::CCSize *v4; // x19
float v5; // s0
float height; // s1
unsigned int v7; // w3
float v8; // s2
cocos2d::CCPoint v12; // [xsp+40h] [xbp+40h] BYREF
cocos2d::CCSize result; // 0:s0.4,4:s1.4
v4 = v2;
cocos2d::CCPoint::CCPoint(&v12);
v5 = *(float *)&a1[1].__vftable;
height = a2->height;
v7 = *(_DWORD *)(*(_QWORD *)&a1[1].cocos2d::CCTiledGrid3DAction::cocos2d::CCGridAction::cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag
+ 4LL * (unsigned int)(float)(height + (float)(a2->width * v5)));
v8 = (float)(v7 / (int)v5) - a2->width;
v12.x = (float)(v7 / (int)v5);
cocos2d::CCSize::CCSize(v4, (float)(int)v8, (float)(int)(float)((float)(v7 % (int)v5) - height));
return result;
}