//
// sub_10022F1C4 from 0x10022f1c4 to 0x10022f238 (116 bytes)
//
// 1 xrefs:
// > PlayerObject::rotateGameplayObject @ 0x1002206d4
//
// 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
//
__int64 __fastcall sub_10022F1C4(__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_10015E660(a1, (__int64)v6);
if ( (v9 & 1) == 0 )
operator delete(v6);
return v8;
}