//
// GJEffectManager::createTransformCommand from 0x1002cb620 to 0x1002cb74a (298 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::triggerTransformCommand @ 0x10011655e
//
// 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 12:28:10 +0000
//
__int64 __fastcall GJEffectManager::createTransformCommand(
__int64 a1,
char a2,
int a3,
int a4,
unsigned int a5,
char a6,
double a7,
double a8,
double a9,
double a10,
float a11,
float a12,
char a13,
int a14,
int a15)
{
unsigned __int64 v15; // rbx
__int64 v16; // rbx
v15 = *(_QWORD *)(a1 + 1240);
if ( v15 >= *(_QWORD *)(a1 + 1248) )
{
v16 = sub_1002DB3D0(a1 + 1232);
}
else
{
sub_1004E7A00(*(_QWORD *)(a1 + 1240));
v16 = v15 + 520;
*(_QWORD *)(a1 + 1240) = v16;
}
*(_QWORD *)(a1 + 1240) = v16;
*(_DWORD *)(v16 - 480) = a3;
*(_DWORD *)(v16 - 476) = a4;
*(_DWORD *)(v16 - 176) = a14;
*(_DWORD *)(v16 - 172) = a15;
*(_BYTE *)(v16 - 231) = a6;
*(_BYTE *)(v16 - 230) = a13;
*(_BYTE *)(v16 - 232) = a2;
*(double *)(v16 - 280) = a7;
*(double *)(v16 - 272) = a8;
*(double *)(v16 - 264) = a9;
*(double *)(v16 - 256) = a10;
return GroupCommandObject2::runTransformCommand(v16 - 520, a5, a11, a12);
}