//
// GroupCommandObject2::runRotateCommand from 0xba2374 to 0xba23e4 (112 bytes)
//
// 2 xrefs:
// > GJEffectManager::createRotateCommand @ 0xa15f44
// > ??> @ 0xd83b8
//
// 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 13:02:47 +0000
//
__int64 __fastcall GroupCommandObject2::runRotateCommand(
__int64 this,
double a2,
double a3,
int a4,
double a5,
char a6,
int a7)
{
if ( a7 )
{
a2 = 0.0;
*(_DWORD *)(this + 12) = a4;
*(_DWORD *)(this + 208) = 1;
*(_BYTE *)(this + 184) = a6;
*(_DWORD *)(this + 188) = a7;
*(double *)(this + 24) = a3;
*(double *)(this + 16) = a5;
*(_QWORD *)(this + 176) = 0;
}
else
{
*(_DWORD *)(this + 12) = a4;
*(_DWORD *)(this + 208) = 1;
*(_BYTE *)(this + 184) = a6;
*(_DWORD *)(this + 188) = 0;
*(double *)(this + 176) = a2;
*(double *)(this + 24) = a3;
*(double *)(this + 16) = a5;
if ( a2 == 0.0 )
{
*(_BYTE *)(this + 112) = 1;
*(_BYTE *)(this + 114) = 1;
return this;
}
}
*(_DWORD *)(this + 400) = 3;
*(double *)(this + 408) = a2;
return this;
}