//
// sub_100631CEC from 0x100631cec to 0x100631d14 (40 bytes)
//
// 2 xrefs:
// > sub_10057D568 @ 0x10057d59c
// > sub_100584988 @ 0x100584a08
//
// 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_100631CEC(__int64 a1)
{
float v1; // s0
__int16 v2; // w9
v1 = *(float *)(*(_QWORD *)(a1 + 536) + 144LL);
v2 = atomic_load((unsigned int *)(a1 + 100));
return sub_100618EF4(*(_QWORD *)(a1 + 536), 64, (v2 & 0x100) == 0, 1, v1);
}