//
// sub_1004A3FF0 from 0x1004a3ff0 to 0x1004a401c (44 bytes)
//
// 2 xrefs:
// > ??> @ 0x100827438
// > ??> @ 0x1008281a8
//
// 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_1004A3FF0(__int64 a1, unsigned __int64 a2)
{
__int64 v2; // x8
__int64 (__fastcall *v3)(__int64, unsigned __int64); // x2
v2 = *(_QWORD *)(a1 + 232);
if ( !v2 )
return 0;
v3 = *(__int64 (__fastcall **)(__int64, unsigned __int64))(v2 + 88);
if ( !v3 )
return 0;
*(_QWORD *)(a1 + 176) = a1;
return v3(a1 + 176, HIDWORD(a2));
}