//
// cocos2d::CCFadeOutUpTiles::transformTile from 0xd39ad0 to 0xd39ba8 (216 bytes)
//
// 3 xrefs:
// > ??> @ 0x101f20
// > ??> @ 0x1514fb0
// > ??> @ 0x1515060
//
// 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
//
__int64 __fastcall cocos2d::CCFadeOutUpTiles::transformTile(
cocos2d::CCFadeOutUpTiles *this,
const cocos2d::CCPoint *a2,
float a3)
{
__int64 v5; // x0
_BYTE v8[4]; // [xsp+50h] [xbp+50h] BYREF
float v9; // [xsp+54h] [xbp+54h]
_BYTE v10[4]; // [xsp+58h] [xbp+58h] BYREF
float v11; // [xsp+5Ch] [xbp+5Ch]
float v12; // [xsp+68h] [xbp+68h]
float v13; // [xsp+74h] [xbp+74h]
float v14; // [xsp+80h] [xbp+80h]
cocos2d::CCTiledGrid3DAction::originalTile(this, a2, (__int64)v10);
v5 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 8) + 608LL))(*((_QWORD *)this + 8));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, (const cocos2d::CCPoint *)(v5 + 80));
v11 = v11 + (float)((float)(v9 * 0.5) * (float)(1.0 - a3));
v12 = v12 + (float)((float)(v9 * 0.5) * (float)(1.0 - a3));
v13 = v13 - (float)((float)(v9 * 0.5) * (float)(1.0 - a3));
v14 = v14 - (float)((float)(v9 * 0.5) * (float)(1.0 - a3));
cocos2d::CCTiledGrid3DAction::setTile((__int64)this, (__int64)a2, (__int64)v10);
return _stack_chk_guard;
}