//
// sub_F82B8 from 0xf82b8 to 0xf8320 (104 bytes)
//
// 2 xrefs:
// > sub_F593C @ 0xf5a78
// > sub_F8320 @ 0xf8634
//
// 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 12:15:08 +0000
//
long double __fastcall sub_F82B8(__int64 a1, __int64 a2)
{
long double result; // q0
if ( *(_QWORD *)(a2 + 24) )
sub_F879C();
if ( *(_QWORD *)(a2 + 32) )
sub_F879C();
if ( *(_QWORD *)(a2 + 40) )
sub_F879C();
if ( *(_QWORD *)(a2 + 48) )
sub_F879C();
if ( *(_QWORD *)(a2 + 56) )
sub_F879C();
*(_QWORD *)(a2 + 64) = 0;
*(_OWORD *)(a2 + 32) = 0u;
*(_OWORD *)(a2 + 48) = 0u;
*(_OWORD *)a2 = 0u;
*(_OWORD *)(a2 + 16) = 0u;
*(_OWORD *)&result = 0u;
return result;
}