//
// sub_B0C2C from 0xb0c2c to 0xb0c54 (40 bytes)
//
// 2 xrefs:
// > sub_531EC @ 0x53220
// > sub_5BA6C @ 0x5baec
//
// 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_B0C2C(__int64 a1, long double a2)
{
__int64 v2; // x8
__int16 v3; // w9
v2 = *(_QWORD *)(a1 + 544);
LODWORD(a2) = *(_DWORD *)(v2 + 144);
v3 = atomic_load((unsigned int *)(a1 + 100));
return sub_AC5A0(v2, 0x40u, (v3 & 0x100) == 0, 1, a2);
}