//
// sub_783FD6 from 0x783fd6 to 0x784004 (46 bytes)
//
// 1 xrefs:
// > sub_78238E @ 0x7823ba
//
// 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_783FD6(int a1, int a2, int a3)
{
int v3; // r4
char v4; // r5
__int64 v5; // r0
*(_BYTE *)(v3 + a3) = 0;
v5 = ((__int64 (__fastcall *)(int, int, _DWORD))*(_DWORD *)(v3 + 264))(v3, 255, *(_DWORD *)(v3 + 268));
++*(_DWORD *)(v3 + 288);
*(_BYTE *)v3 = v4;
*(_BYTE *)(v3 + 1) = 99;
sub_7823EA(v5, SHIDWORD(v5), 99, 2);
}