//
// sub_7838F0 from 0x7838f0 to 0x78391e (46 bytes)
//
// 1 xrefs:
// > sub_782B66 @ 0x782ba4
//
// 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_7838F0(int a1, int a2, int a3)
{
int v3; // r4
char v4; // r7
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;
*(_BYTE *)(v3 + 1) = 110;
sub_782BD4(v5);
}