//
// sub_78394E from 0x78394e to 0x783974 (38 bytes)
//
// 1 xrefs:
// > sub_78145C @ 0x781e60
//
// 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_78394E(int a1, int a2, int a3, int a4)
{
int v4; // r4
int v5; // r0
*(_BYTE *)(a1 + a4) = 0;
v5 = (*(int (__fastcall **)(int, int, _DWORD))(a1 + 264))(a1, 255, *(_DWORD *)(a1 + 268));
++*(_DWORD *)(v4 + 288);
sub_781E66(v5, 1);
}