//
// sub_544CC from 0x544cc to 0x54544 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x10c3c8
//
// 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_544CC(__int64 a1, unsigned int a2)
{
__int64 result; // x0
result = ((__int64 (*)(void))loc_5268C)();
if ( !(_DWORD)result )
{
result = (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 40) + 280LL))(*(_QWORD *)(a1 + 40), a2);
if ( !(_DWORD)result )
{
atomic_load((unsigned int *)(*(_QWORD *)(a1 + 40) + 88LL));
result = (*(__int64 (**)(void))(**(_QWORD **)(a1 + 192) + 200LL))();
if ( !(_DWORD)result )
return 0;
}
}
return result;
}