//
// sub_6105B8 from 0x6105b8 to 0x6105ea (50 bytes)
//
// 2 xrefs:
// > sub_62F538 @ 0x62f612
// > sub_62F538 @ 0x62f65a
//
// 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
//
int __fastcall sub_6105B8(int a1, int a2)
{
int result; // r0
if ( !a1 )
return sub_62E5A0(a2);
if ( *(_DWORD *)(a1 + 72) )
sub_631E04(a1, 3, 2);
result = sub_62E5A0(a2);
if ( *(_DWORD *)(a1 + 72) )
return sub_631E24(a1, 3);
return result;
}