//
// sub_784108 from 0x784108 to 0x784136 (46 bytes)
//
// 1 xrefs:
// > sub_783406 @ 0x783428
//
// 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_784108(int a1, int a2, int a3, int a4)
{
int v4; // r4
char v5; // r7
__int64 v6; // r0
*(_BYTE *)(v4 + a4) = 0;
v6 = ((__int64 (__fastcall *)(int, int, _DWORD))*(_DWORD *)(v4 + 264))(v4, 255, *(_DWORD *)(v4 + 268));
++*(_DWORD *)(v4 + 288);
*(_BYTE *)v4 = v5;
*(_BYTE *)(v4 + 1) = 97;
sub_783458(v6, SHIDWORD(v6), 2);
}