//
// sub_100606E88 from 0x100606e88 to 0x100606f00 (120 bytes)
//
// 1 xrefs:
// > sub_10060A750 @ 0x10060a7a0
//
// 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
//
_BYTE *__fastcall sub_100606E88(__int64 a1, __int64 a2)
{
__int64 v2; // x0
_BYTE *v3; // x19
_BYTE *v4; // x20
if ( !a2 )
return nullptr;
v2 = sub_1005F0A50(a2, 0);
v3 = (_BYTE *)v2;
if ( !v2 || (v4 = sub_1005AD588(v2)) == nullptr )
{
sub_1005E0E48(34, 121, 65, (__int64)"v3_utl.c", 157);
v4 = nullptr;
}
sub_1005AACD0(v3);
return v4;
}