//
// sub_6F8F4 from 0x6f8f4 to 0x6f9b0 (188 bytes)
//
// 1 xrefs:
// > FMOD::System::setGeometrySettings @ 0xdeac8
//
// 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:13:59 +0000
//
__int64 __fastcall sub_6F8F4(__int64 a1, float a2)
{
__int64 result; // x0
_QWORD *v4; // x20
_QWORD *v5; // x19
if ( (~LODWORD(a2) & 0x7F800000) == 0 )
return 29;
if ( a2 <= 0.0 )
return 31;
result = sub_5D420(a1 + 73144, a2);
if ( !(_DWORD)result )
{
v4 = (_QWORD *)(a1 + 73136);
v5 = *(_QWORD **)(a1 + 73136);
if ( v5 )
{
do
{
sub_5F190((__int64)v5);
v5 = (_QWORD *)*v5;
}
while ( (_QWORD *)*v4 != v5 );
do
{
result = sub_5F0D0();
if ( (_DWORD)result )
break;
v5 = (_QWORD *)*v5;
}
while ( (_QWORD *)*v4 != v5 );
}
else
{
return 0;
}
}
return result;
}