//
// sub_100010A4C from 0x100010a4c to 0x100010b98 (332 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::triggerMoveCommand @ 0x10028a470
//
// 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:16 +0000
//
__int64 __fastcall sub_100010A4C(
__int64 result,
float *a2,
int a3,
int a4,
int a5,
int a6,
int a7,
int a8,
float a9,
float a10,
float a11,
float a12,
int a13,
int a14)
{
__int64 v25; // x26
unsigned __int64 v26; // x27
__int64 v27; // x0
__int64 v28; // x26
float v29; // [xsp+8h] [xbp-78h] BYREF
v25 = result;
if ( *a2 != *(float *)&dword_1009F24A0
|| a2[1] != *(float *)&dword_1009F24A4
|| (a5 & 1) != 0
|| (a6 & 1) != 0
|| (a7 & 1) != 0 )
{
if ( a3 < 1 )
return result;
}
else if ( a3 < 1 || (a8 & 1) == 0 )
{
return result;
}
v26 = *(_QWORD *)(result + 1240);
if ( v26 >= *(_QWORD *)(result + 1248) )
{
v27 = sub_100019E00(result + 1232);
}
else
{
sub_10000AB80(*(_QWORD **)(result + 1240));
v27 = v26 + 520;
*(_QWORD *)(v25 + 1240) = v26 + 520;
}
*(_QWORD *)(v25 + 1240) = v27;
v28 = v27 - 520;
*(_DWORD *)(v27 - 480) = a3;
*(_DWORD *)(v27 - 176) = a13;
*(_DWORD *)(v27 - 172) = a14;
sub_1000262F4(&v29, a2);
return sub_10000AD3C(v28, &v29, a4, a5, a6, a7, a8, a9, a10, a11, a12);
}