//
// sub_783FAC from 0x783fac to 0x783fd6 (42 bytes)
//
// 1 xrefs:
// > sub_78238E @ 0x7823cc
//
// 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
//
void __fastcall __noreturn sub_783FAC(int a1, int a2)
{
int v2; // r4
char v3; // r5
__int64 v4; // r0
*(_BYTE *)(v2 + a2) = 0;
v4 = ((__int64 (__fastcall *)(int))*(_DWORD *)(v2 + 264))(v2);
++*(_DWORD *)(v2 + 288);
*(_BYTE *)v2 = v3;
*(_BYTE *)(v2 + 1) = v3;
sub_782404(v4, SHIDWORD(v4), 2);
}