//
// GJBaseGameLayer::processMoveActions from 0x100294768 to 0x10029485c (244 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::processMoveActionsStep @ 0x10029339c
//
// 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:05 +0000
//
__int64 __fastcall GJBaseGameLayer::processMoveActions(__int64 a1)
{
__int64 result; // x0
__int64 v3; // x8
__int64 v4; // x21
__int64 v5; // x22
_BYTE *v6; // x20
char v7; // w8
char v8; // w23
int v9; // w1
__int64 v10; // x8
__int64 v11; // x9
float v12; // s0
float v13; // s1
result = (__int64)sub_100014304(*(_QWORD **)(a1 + 2152));
v3 = *(_QWORD *)(a1 + 2152);
v4 = *(_QWORD *)(v3 + 1504);
v5 = *(_QWORD *)(v3 + 1512);
while ( v4 != v5 )
{
v6 = *(_BYTE **)v4;
if ( (*(_BYTE *)(*(_QWORD *)v4 + 208LL) & 1) == 0 )
{
v7 = 1;
do
{
v8 = v7;
v9 = (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)v6 + 64LL))(v6);
if ( (v8 & 1) != 0 )
{
result = GJBaseGameLayer::getStaticGroup(a1, v9);
v10 = 64;
v11 = 56;
if ( result )
goto LABEL_9;
}
else
{
result = GJBaseGameLayer::getOptimizedGroup(a1, v9);
v10 = 152;
v11 = 144;
if ( result )
{
LABEL_9:
v12 = *(double *)&v6[v11];
v13 = *(double *)&v6[v10];
if ( v12 != 0.0 || v13 != 0.0 || v6[120] == 1 )
result = GJBaseGameLayer::moveObjects(a1, v12, v13);
}
}
v7 = 0;
}
while ( (v8 & 1) != 0 );
}
v4 += 8;
}
return result;
}