//
// sub_100635A90 from 0x100635a90 to 0x100635b34 (164 bytes)
//
// 0 xrefs:
//
// 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_100635A90(__int64 a1, int a2, _QWORD *a3, _DWORD *a4, _BYTE *a5)
{
__int64 result; // x0
if ( a2 != 19 )
return 31;
sub_100562B0C(
*(_DWORD *)(a1 + 948),
(float *)(a1 + 572),
*(float *)(a1 + 1000),
*(float *)(a1 + 952),
*(float *)(a1 + 956),
*(float *)(*(_QWORD *)(a1 + 168) + 69112LL));
*(float *)(a1 + 572) = (float)(1.0 - *(float *)(a1 + 968)) + (float)(*(float *)(a1 + 968) * *(float *)(a1 + 572));
*a3 = a1 + 572;
*a4 = 8;
result = 0;
if ( a5 )
*a5 = 0;
return result;
}