//
// cocos2d::CCShuffleTiles::placeTile from 0x18003b9f0 to 0x18003bb08 (280 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bb020
//
// This function is hookable on this platform (idp: pc, 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 11:21:37 +0000
//
void __fastcall cocos2d::CCShuffleTiles::placeTile(
cocos2d::CCShuffleTiles *this,
const struct cocos2d::CCPoint *a2,
struct cocos2d::Tile *a3)
{
__int64 v6; // rax
float v7; // xmm3_4
float v8; // xmm2_4
float v9[2]; // [rsp+20h] [rbp-58h] BYREF
__int128 v10; // [rsp+28h] [rbp-50h] BYREF
float v11; // [rsp+38h] [rbp-40h]
float v12; // [rsp+40h] [rbp-38h]
float v13; // [rsp+44h] [rbp-34h]
float v14; // [rsp+4Ch] [rbp-2Ch]
float v15; // [rsp+50h] [rbp-28h]
cocos2d::CCTiledGrid3DAction::originalTile((__int64)this, &v10, (float *)a2);
v6 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 8) + 600LL))(*((_QWORD *)this + 8));
cocos2d::cc_timeval::operator=(v9, (_DWORD *)(v6 + 80));
v7 = (float)(int)(float)(v9[0] * *(float *)a3);
v8 = (float)(int)(float)(v9[1] * *((float *)a3 + 1));
*(float *)&v10 = *(float *)&v10 + v7;
*((float *)&v10 + 3) = *((float *)&v10 + 3) + v7;
*((float *)&v10 + 1) = *((float *)&v10 + 1) + v8;
v12 = v12 + v7;
v11 = v11 + v8;
v14 = v14 + v7;
v13 = v13 + v8;
v15 = v15 + v8;
cocos2d::CCTiledGrid3DAction::setTile(this, a2, (const struct cocos2d::_ccQuad3 *)&v10);
}