//
// cocos2d::CCShuffleTiles::getDelta from 0xd3a808 to 0xd3a8c8 (192 bytes)
//
// 2 xrefs:
// > cocos2d::CCShuffleTiles::startWithTarget @ 0xd3aa34
// > ??> @ 0xe9ad0
//
// 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
//
cocos2d::CCSize *__usercall cocos2d::CCShuffleTiles::getDelta@(
cocos2d::CCShuffleTiles *this@,
const cocos2d::CCSize *a2@,
cocos2d::CCSize *a3@)
{
float v5; // s1
int v8; // [xsp+40h] [xbp+40h] BYREF
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v8);
v5 = *((float *)this + 24);
cocos2d::CCSize::CCSize(
a3,
(float)(int)(float)((float)(*(_DWORD *)(*((_QWORD *)this + 14)
+ 4LL * (unsigned int)(float)(*((float *)a2 + 1) + (float)(*(float *)a2 * v5)))
/ (unsigned int)(int)v5)
- *(float *)a2),
(float)(int)(float)((float)(*(_DWORD *)(*((_QWORD *)this + 14)
+ 4LL * (unsigned int)(float)(*((float *)a2 + 1) + (float)(*(float *)a2 * v5)))
% (unsigned int)(int)v5)
- *((float *)a2 + 1)));
return a3;
}