//
// sub_10050BB84 from 0x10050bb84 to 0x10050bbac (40 bytes)
//
// 2 xrefs:
// > sub_100457400 @ 0x100457434
// > sub_10045E820 @ 0x10045e8a0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_10050BB84(__int64 a1)
{
float v1; // s0
__int16 v2; // w9
v1 = *(float *)(*(_QWORD *)(a1 + 536) + 144LL);
v2 = atomic_load((unsigned int *)(a1 + 100));
return sub_1004F2D8C(*(_QWORD *)(a1 + 536), 64, (v2 & 0x100) == 0, 1, v1);
}