//
// sub_100390480 from 0x100390480 to 0x1003904b0 (48 bytes)
//
// 2 xrefs:
// > sub_1002D1DD8 @ 0x1002d1f58
// > sub_1002D1DD8 @ 0x1002d1fa0
//
// 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:37 +0000
//
__int64 __fastcall sub_100390480(__int64 a1, int a2)
{
__int64 result; // x0
int v3; // [xsp+Ch] [xbp-4h] BYREF
v3 = a2;
result = sub_10039078C(a1 + 56, &v3);
if ( result )
return *(unsigned int *)(result + 20);
return result;
}