//
// sub_54100 from 0x54100 to 0x5416c (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x10c338
//
// 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_54100(__int64 a1)
{
__int64 v2; // x0
__int64 result; // x0
unsigned int v4; // w19
_BYTE v5[16]; // [xsp+0h] [xbp-20h] BYREF
v2 = *(_QWORD *)(a1 + 192);
if ( !v2 )
return 30;
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 56LL))(v2);
if ( !(_DWORD)result )
{
sub_54CC4(v5);
v4 = ((__int64 (__fastcall *)(__int64))loc_52524)(a1);
sub_51F94((__int64)v5);
return v4;
}
return result;
}