//
// sub_7834B8 from 0x7834b8 to 0x7834e4 (44 bytes)
//
// 2 xrefs:
// > sub_7834AA @ 0x7834b2
// > sub_7841D8 @ 0x7841fa
//
// 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_7834B8(int a1, int a2, int a3, int a4)
{
int v4; // r4
int v5; // r6
int v6; // r7
int v7; // r0
*(_DWORD *)(v4 + 256) = a4 + 1;
*(_BYTE *)(v4 + a4) = 40;
*(_BYTE *)(v4 + 260) = 40;
v7 = sub_78145C(v4, v5, *(_DWORD **)(v6 + 4));
if ( *(_DWORD *)(v4 + 256) != 255 )
sub_7834E4(v7);
sub_7841B2(v7);
}