//
// sub_10030B714 from 0x10030b714 to 0x10030b7a0 (140 bytes)
//
// 2 xrefs:
// > sub_10030B6DC @ 0x10030b6fc
// > sub_10030DF38 @ 0x10030dfb0
//
// 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:03:10 +0000
//
__int64 *__fastcall sub_10030B714(__int64 a1, int a2)
{
__int64 *result; // x0
__int64 *v4; // x20
double v5; // d0
int v6; // [xsp+0h] [xbp-30h] BYREF
int *v7; // [xsp+8h] [xbp-28h] BYREF
v6 = a2;
result = sub_100019268((_QWORD *)a1, &v6);
if ( result )
{
v4 = result;
v7 = &v6;
v5 = *(double *)(a1 + 80) - *((double *)sub_10001A978(a1 + 40, &v6, (__int64)&unk_10076BB75, &v7) + 3);
*(float *)&v5 = v5;
sub_100274020((__int64)v4 + 20, v5);
return (__int64 *)sub_10030B408(a1, v6, *((float *)v4 + 9));
}
return result;
}