//
// sub_10061A1D4 from 0x10061a1d4 to 0x10061a244 (112 bytes)
//
// 1 xrefs:
// > ??> @ 0x100843a58
//
// 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_10061A1D4(__int64 a1, __int64 a2)
{
void **v4; // x0
void **v5; // x20
v4 = (void **)sub_1006199A8();
v5 = v4;
if ( !v4 )
return 0;
if ( (unsigned int)sub_100619A68(v4, *(_QWORD *)(a1 + 40)) )
{
sub_1005E97F4(a2, 894, (__int64)v5);
return 1;
}
else
{
sub_1006199F8(v5);
return 0;
}
}