//
// sub_78343E from 0x78343e to 0x783458 (26 bytes)
//
// 2 xrefs:
// > sub_783406 @ 0x783438
// > sub_784136 @ 0x784162
//
// 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_78343E(int a1, int a2)
{
int v2; // r4
char v3; // r7
*(_DWORD *)(v2 + 256) = a2 + 1;
*(_BYTE *)(v2 + a2) = v3;
*(_BYTE *)(v2 + 260) = v3;
if ( a2 != 254 )
sub_783458();
sub_7840B2();
}