//
// sub_783E82 from 0x783e82 to 0x783eac (42 bytes)
//
// 1 xrefs:
// > sub_7823EA @ 0x782400
//
// 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_783E82(int a1, int a2, int a3)
{
int v3; // r4
char v4; // r5
int v5; // r0
*(_BYTE *)(v3 + a3) = 0;
v5 = (*(int (__fastcall **)(int, int, _DWORD))(v3 + 264))(v3, 255, *(_DWORD *)(v3 + 268));
++*(_DWORD *)(v3 + 288);
*(_BYTE *)v3 = v4;
sub_78241C(v5);
}