//
// sub_783342 from 0x783342 to 0x783368 (38 bytes)
//
// 2 xrefs:
// > sub_783308 @ 0x78333c
// > sub_7842D4 @ 0x7842f4
//
// 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_783342(int a1, int a2, int a3, int a4)
{
int v4; // r4
_DWORD *v5; // r5
int v6; // r6
int v7; // r0
*(_DWORD *)(v4 + 256) = a4 + 1;
*(_BYTE *)(v4 + a4) = 40;
*(_BYTE *)(v4 + 260) = 40;
v7 = sub_78145C(v4, v6, v5);
if ( *(_DWORD *)(v4 + 256) != 255 )
sub_783368(v7);
sub_7842AE(v7);
}