//
// sub_4A934 from 0x4a934 to 0x4a9a4 (112 bytes)
//
// 3 xrefs:
// > sub_4A7D4 @ 0x4a86c
// > sub_65494 @ 0x65666
// > sub_65494 @ 0x65768
//
// 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_4A934(int a1, int a2)
{
int v5; // [sp+4h] [bp-14h] BYREF
v5 = 0;
sub_4AF70(a1, &v5);
*(_DWORD *)(a2 + 16) = v5;
(*(void (__fastcall **)(int, int))(*(_DWORD *)a1 + 76))(a1, a2);
sub_4AF98(a1, a2 + 4, 2);
sub_4B058(a1, a2 + 8, 2, a2 + 12, 2);
sub_4B15C(a1, a2 + 20);
(*(void (__fastcall **)(int, int))(*(_DWORD *)a1 + 12))(a1, a2 + 24);
*(_DWORD *)(*(_DWORD *)(a2 + 16) + 32) |= 0x8000u;
return 0;
}