//
// cocos2d::CCFadeOutTRTiles::transformTile from 0x18003b9f0 to 0x18003bb1f (303 bytes)
//
// 4 xrefs:
// > ??> @ 0x1800ea468
// > ??> @ 0x1800ea500
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b0f60
//
// 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 __fastcall cocos2d::CCFadeOutTRTiles::transformTile(
cocos2d::CCFadeOutTRTiles *this,
struct cocos2d::CCPoint *a2,
float a3)
{
__int64 v5; // rax
float v6; // xmm4_4
float v7; // xmm3_4
float v8[2]; // [rsp+20h] [rbp-58h] BYREF
__int128 v9; // [rsp+28h] [rbp-50h] BYREF
float v10; // [rsp+38h] [rbp-40h]
float v11; // [rsp+40h] [rbp-38h]
float v12; // [rsp+44h] [rbp-34h]
float v13; // [rsp+4Ch] [rbp-2Ch]
float v14; // [rsp+50h] [rbp-28h]
cocos2d::CCTiledGrid3DAction::originalTile((__int64)this, &v9, (float *)a2);
v5 = ((__int64 (__fastcall *)(cocos2d::CCNode *))this->m_pTarget->getGrid)(this->m_pTarget);
cocos2d::cc_timeval::operator=(v8, (_DWORD *)(v5 + 80));
v6 = (float)(v8[0] * 0.5) * (float)(1.0 - a3);
v7 = (float)(v8[1] * 0.5) * (float)(1.0 - a3);
*(float *)&v9 = *(float *)&v9 + v6;
*((float *)&v9 + 3) = *((float *)&v9 + 3) - v6;
*((float *)&v9 + 1) = *((float *)&v9 + 1) + v7;
v11 = v11 + v6;
v10 = v10 + v7;
v13 = v13 - v6;
v12 = v12 - v7;
v14 = v14 - v7;
cocos2d::CCTiledGrid3DAction::setTile(this, a2, (const struct cocos2d::_ccQuad3 *)&v9);
}