//
// GJBaseGameLayer::processStateObjects from 0x100286434 to 0x1002864ac (120 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::update @ 0x10029af60
//
// 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:01:58 +0000
//
__int64 __fastcall GJBaseGameLayer::processStateObjects(__int64 result)
{
__int64 *v1; // x20
__int64 v2; // x19
_BYTE *v3; // x21
v1 = *(__int64 **)(result + 1280);
if ( v1 )
{
v2 = result;
do
{
while ( 1 )
{
v3 = (_BYTE *)v1[3];
result = sub_100300330(v3, *(unsigned int *)(v2 + 944));
if ( (v3[760] & 1) == 0 )
break;
v1 = (__int64 *)*v1;
if ( !v1 )
return result;
}
(*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)v3 + 1840LL))(v3, v2);
result = sub_100019534((_QWORD *)(v2 + 1264), v1);
v1 = (__int64 *)result;
}
while ( result );
}
return result;
}