//
// sub_100635DA4 from 0x100635da4 to 0x100635e48 (164 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009e0868
//
// 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:30 +0000
//
__int64 __fastcall sub_100635DA4(__int64 *a1, int a2, _QWORD *a3, _DWORD *a4, _BYTE *a5)
{
__int64 v8; // x23
__int64 result; // x0
if ( a2 != 19 )
return 31;
v8 = *a1;
sub_100562B0C(
*(_DWORD *)(*a1 + 948),
(float *)(v8 + 572),
*(float *)(v8 + 1000),
*(float *)(v8 + 952),
*(float *)(v8 + 956),
*(float *)(*(_QWORD *)(v8 + 168) + 69112LL));
*(float *)(v8 + 572) = (float)(1.0 - *(float *)(v8 + 968)) + (float)(*(float *)(v8 + 968) * *(float *)(v8 + 572));
*a3 = v8 + 572;
*a4 = 8;
result = 0;
if ( a5 )
*a5 = 0;
return result;
}