//
// GJBaseGameLayer::triggerDynamicMoveCommand from 0x1001155a0 to 0x100115654 (180 bytes)
//
// 0 xrefs:
//
// 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:24:33 +0000
//
unsigned __int8 __fastcall GJBaseGameLayer::triggerDynamicMoveCommand(
__int64 a1,
__int64 a2,
__m128 a3,
double a4,
double a5)
{
int v6; // esi
__int64 Object; // rax
__int64 v8; // rcx
int v9; // esi
__int64 v10; // r14
unsigned __int8 result; // al
__int64 v12; // [rsp+8h] [rbp-28h] BYREF
__int64 v13; // [rsp+10h] [rbp-20h] BYREF
__int64 v14[3]; // [rsp+18h] [rbp-18h] BYREF
v12 = a2;
v6 = *(_DWORD *)(a2 + 1528);
if ( v6 <= 0 )
v6 = *(_DWORD *)(a2 + 1464);
Object = GJBaseGameLayer::tryGetObject(a1, v6, a3);
v13 = Object;
if ( *(_BYTE *)(a2 + 1684) )
goto LABEL_4;
if ( *(_BYTE *)(a2 + 1685) == 1 )
{
if ( !*(_BYTE *)(a1 + 1010) )
{
LABEL_4:
v8 = *(_QWORD *)(a1 + 3256);
goto LABEL_9;
}
v8 = *(_QWORD *)(a1 + 3264);
}
else
{
v9 = *(_DWORD *)(a2 + 1468);
v10 = Object;
v8 = GJBaseGameLayer::tryGetObject(a1, v9, a3);
Object = v10;
}
LABEL_9:
v14[0] = v8;
result = Object != 0;
if ( (result & (v8 != 0)) == 1 )
return sub_1001157B0(a1 + 1672, &v12, &v13, v14, *(double *)a3.i64, a4, a5);
return result;
}