//
// cocos2d::CCFadeOutTRTiles::transformTile from 0x5ba8c4 to 0x5ba9a0 (220 bytes)
//
// 0 xrefs:
//
// 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
//
void cocos2d::CCFadeOutTRTiles::transformTile(cocos2d::CCFadeOutTRTiles *a1, const cocos2d::CCPoint *a2, float a3)
{
cocos2d::CCGridBase *v6; // r0
float v7; // s14
float v8; // s15
int v9; // r3
cocos2d::CCPoint v10; // [sp+4h] [bp-40h] BYREF
float v11; // [sp+Ch] [bp-38h] BYREF
float v12; // [sp+10h] [bp-34h]
float v13; // [sp+18h] [bp-2Ch]
float v14; // [sp+1Ch] [bp-28h]
float v15; // [sp+24h] [bp-20h]
float v16; // [sp+28h] [bp-1Ch]
float v17; // [sp+30h] [bp-14h]
float v18; // [sp+34h] [bp-10h]
cocos2d::CCTiledGrid3DAction::originalTile((cocos2d::CCTiledGrid3DAction *)&v11, (const cocos2d::CCPoint *)a1);
v6 = a1->m_pTarget->getGrid(a1->m_pTarget);
cocos2d::CCPoint::CCPoint(&v10, &v6->m_obStep);
v7 = (float)(v10.x * 0.5) * (float)(1.0 - a3);
v11 = v11 + v7;
v8 = (float)(v10.y * 0.5) * (float)(1.0 - a3);
v12 = v12 + v8;
v13 = v13 - v7;
v14 = v14 + v8;
v15 = v15 + v7;
v16 = v16 - v8;
v17 = v17 - v7;
v18 = v18 - v8;
cocos2d::CCTiledGrid3DAction::setTile((int)a1, (int)a2, (int)&v11, v9);
}