//
// cocos2d::CCShuffleTiles::getDelta from 0x18003b070 to 0x18003b121 (177 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b0eac
//
// 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
//
struct cocos2d::CCSize *__fastcall cocos2d::CCShuffleTiles::getDelta(
cocos2d::CCShuffleTiles *this,
struct cocos2d::CCSize *a2,
float *a3)
{
float v6; // xmm3_4
unsigned int v7; // r8d
__int64 v8; // r9
__int64 v9; // r10
cocos2d::CCSize v11; // [rsp+30h] [rbp+8h] BYREF
cocos2d::CCSize::CCSize(&v11);
v6 = *a3;
v7 = (int)*((float *)this + 25);
v8 = *((_QWORD *)this + 14);
v9 = (unsigned int)(int)(float)((float)(*a3 * *((float *)this + 25)) + a3[1]);
v11.width = (float)(int)(*(_DWORD *)(v8 + 4 * v9) / v7);
v11.height = (float)(int)(*(_DWORD *)(v8 + 4 * v9) % v7);
kmVec2Fill((float *)a2, (float)(int)(float)(v11.width - v6), (float)(int)(float)(v11.height - a3[1]));
return a2;
}