//
// sub_10000AB84 from 0x10000ab84 to 0x10000ac4c (200 bytes)
//
// 3 xrefs:
// > sub_10000ACDC @ 0x10000ad10
// > GJEffectManager::prepareMoveActions @ 0x100013570
// > GJEffectManager::prepareMoveActions @ 0x10001363c
//
// 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 10:57:14 +0000
//
__int64 __fastcall sub_10000AB84(__int64 result, float a2)
{
__int64 v2; // x19
double v3; // d1
float v4; // s0
float v5; // s0
float v6; // s0
double v7; // d0
if ( (*(_BYTE *)(result + 113) & 1) != 0 )
return result;
v2 = result;
v3 = *(double *)(result + 32) + a2;
*(double *)(result + 32) = v3;
if ( (*(_BYTE *)(result + 112) & 1) != 0 )
return result;
if ( *(_BYTE *)(result + 432) == 1 )
*(_BYTE *)(result + 432) = 0;
else
*(float *)(result + 428) = *(float *)(result + 428) + a2;
if ( !*(_DWORD *)(result + 400) )
{
v7 = *(double *)(result + 24);
if ( v3 < v7 || v7 == -1.0 )
return result;
LABEL_16:
*(_BYTE *)(v2 + 112) = 1;
return result;
}
v4 = *(double *)(result + 408);
result = sub_10000AC4C(result, v4);
if ( *(_DWORD *)(v2 + 404) )
{
v5 = *(double *)(v2 + 416);
result = sub_10000AC4C(v2, v5);
}
v6 = *(float *)(v2 + 428);
if ( v6 > 0.0 && *(double *)(v2 + 24) <= v6 )
goto LABEL_16;
return result;
}