//
// sub_10013A3F4 from 0x10013a3f4 to 0x10013a4ac (184 bytes)
//
// 2 xrefs:
// > GJThreadCell::loadFromThread @ 0x1001300a4
// > GJThreadCell::loadFromThread @ 0x1001307a8
//
// 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:59:28 +0000
//
__int64 __fastcall sub_10013A3F4(__int64 a1)
{
__int64 v2; // x20
float v3; // s8
float v4; // s8
float v5; // s10
float v6; // s0
float v8; // [xsp+8h] [xbp-38h] BYREF
v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1072LL))(a1);
v3 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 328LL))(v2);
v4 = (float)(v3 * (*(float (__fastcall **)(__int64))(*(_QWORD *)v2 + 136LL))(v2)) * 1.4;
v5 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 328LL))(v2) + 4);
v6 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v2 + 152LL))(v2);
sub_1000262C4(&v8, v4, (float)(v5 * v6) * 1.4);
return sub_10013A554(a1, &v8);
}