//
// sub_10038D808 from 0x10038d808 to 0x10038d870 (104 bytes)
//
// 4 xrefs:
// > sub_10038CC88 @ 0x10038d2a0
// > sub_10038CC88 @ 0x10038d334
// > sub_10038CC88 @ 0x10038d3a4
// > sub_10038D688 @ 0x10038d6fc
//
// 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:36 +0000
//
float __fastcall sub_10038D808(__int64 a1)
{
__int64 v1; // x0
__int64 v2; // x19
float v3; // s8
v1 = *(_QWORD *)(a1 + 448);
if ( !v1 )
return 0.0;
v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 1072LL))(v1);
v3 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 328LL))(v2);
return (float)(v3 * (*(float (__fastcall **)(__int64))(*(_QWORD *)v2 + 168LL))(v2)) + 6.0;
}