//
// cocos2d::CCShuffleTiles::getDelta from 0x5bb838 to 0x5bb8e6 (174 bytes)
//
// 1 xrefs:
// > cocos2d::CCShuffleTiles::startWithTarget @ 0x5bba16
//
// 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::CCSize *__return_ptr retstr,
cocos2d::CCShuffleTiles *a2,
const cocos2d::CCSize *a3)
{
float v6; // s14
unsigned int v7; // r6
cocos2d::CCPoint v9; // [sp+Ch] [bp-10h] BYREF
cocos2d::CCPoint::CCPoint(&v9);
v6 = *(float *)&a2[1].m_uID;
v7 = *(_DWORD *)(a2[1].m_uReference + 4 * (unsigned int)(float)(a3->height + (float)(a3->width * v6)));
cocos2d::CCSize::CCSize(
retstr,
(float)(int)(float)((float)(v7 / (int)v6) - a3->width),
(float)(int)(float)((float)(v7 % (int)v6) - a3->height));
return retstr;
}