//
// sub_100631FEC from 0x100631fec to 0x10063205c (112 bytes)
//
// 1 xrefs:
// > sub_100631E6C @ 0x100631ed8
//
// 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:10:28 +0000
//
__int64 __fastcall sub_100631FEC(__int64 *a1, int a2, float a3)
{
__int64 result; // x0
__int64 v4; // x8
__int64 v5; // x19
float v6; // s1
if ( a2 )
return 0;
v4 = *a1;
*(float *)(v4 + 564) = a3;
v5 = *(_QWORD *)(v4 + 536);
v6 = 0.0;
if ( a3 > -80.0 )
v6 = __exp10f(a3 / 20.0);
result = sub_100618EF4(v5, 64, 1, 0, v6);
if ( !(_DWORD)result )
return 0;
return result;
}