//
// sub_1002CBF30 from 0x1002cbf30 to 0x1002cbfa4 (116 bytes)
//
// 1 xrefs:
// > PlayerObject::rotateGameplayObject @ 0x1002bd2d8
//
// 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 11:02:35 +0000
//
__int64 __fastcall sub_1002CBF30(__int64 a1, int *a2, _OWORD *a3)
{
char *v6; // x19
__int64 v7; // x8
__int64 v8; // x20
char v9; // w1
v6 = (char *)operator new(0x28u);
v7 = *a2;
*((_DWORD *)v6 + 4) = v7;
*(_OWORD *)(v6 + 24) = *a3;
*(_QWORD *)v6 = 0;
*((_QWORD *)v6 + 1) = v7;
v8 = sub_1001E90A4(a1, (__int64)v6);
if ( (v9 & 1) == 0 )
operator delete(v6);
return v8;
}