//
// GJBaseGameLayer::claimMoveAction from 0x100294f6c to 0x100295028 (188 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::processTransformActions @ 0x100293ab8
// > GJBaseGameLayer::processRotationActions @ 0x100294364
//
// 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
//
float *__usercall GJBaseGameLayer::claimMoveAction@(__int64 a1@, int a2@, int a3@, float *a4@)
{
__int64 *v6; // x0
float v7; // s1
__int64 v8; // x8
float v9; // s0
__int64 v11; // x9
__int64 v12; // x10
__int64 *v13; // x8
__int64 *v14; // x9
__int64 v15; // t1
int v16; // [xsp+Ch] [xbp-14h] BYREF
v16 = a2;
v6 = sub_100019268((_QWORD *)(*(_QWORD *)(a1 + 2152) + 1384LL), &v16);
v7 = 0.0;
if ( v6 && (v8 = v6[3]) != 0 && (*(_BYTE *)(v8 + 208) & 1) == 0 )
{
v9 = 0.0;
if ( (*(_BYTE *)(v8 + 209) & 1) == 0 )
{
*(_BYTE *)(v8 + 208) = 1;
v11 = 64;
if ( a3 )
v11 = 152;
v12 = 56;
if ( a3 )
v12 = 144;
v9 = *(double *)(v8 + v12);
v7 = *(double *)(v8 + v11);
if ( (a3 & 1) == 0 )
{
v14 = *(__int64 **)(v8 + 216);
v13 = *(__int64 **)(v8 + 224);
while ( v14 != v13 )
{
v15 = *v14++;
*(_QWORD *)(v15 + 352) = 0;
*(_QWORD *)(v15 + 360) = 0;
}
}
}
}
else
{
v9 = 0.0;
}
return sub_1000262BC(a4, v9, v7);
}