//
// sub_100620E30 from 0x100620e30 to 0x100620f00 (208 bytes)
//
// 1 xrefs:
// > sub_10062113C @ 0x100621344
//
// 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:10:19 +0000
//
__int64 __fastcall sub_100620E30(__int64 a1, int8x8_t *a2, _DWORD *a3)
{
__int64 result; // x0
__int32 v6; // w8
unsigned int v7; // w8
result = sub_1005D0224(a1, a2, 1u, 60, nullptr);
if ( !(_DWORD)result )
{
if ( !(unsigned int)sub_1005ED150((__int64)a2, (__int64)"FSB4", 4) )
return 69;
if ( (unsigned int)sub_1005ED150((__int64)a2, (__int64)"FSB5", 4) )
return 19;
if ( a2->i32[1] == 1
&& ((*a3 = a2[1].i32[1] + a2[2].i32[0] + 60, v6 = a2[3].i32[0], v6 != 15) || a2[3].i32[1] == 1)
&& (a2[4].i8[0] & 2) == 0 )
{
v7 = v6 - 1;
if ( v7 > 0xF )
return 68;
else
return dword_100774C70[v7];
}
else
{
return 69;
}
}
return result;
}