//
// sub_D1461C from 0xd1461c to 0xd1468c (112 bytes)
//
// 1 xrefs:
// > sub_D141E8 @ 0xd14208
//
// 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_D1461C())()
{
unsigned __int8 v0; // w0
v0 = atomic_load((unsigned __int8 *)&byte_124B6A0);
if ( (v0 & 1) != 0 || !_cxa_guard_acquire((__guard *)&byte_124B6A0) )
return off_1233FE0;
_cxa_guard_release((__guard *)&byte_124B6A0);
__cxa_atexit((void (*)(void *))sub_D143A4, off_1233FE0, &unk_122F000);
return off_1233FE0;
}