//
// sub_78408C from 0x78408c to 0x7840b2 (38 bytes)
//
// 1 xrefs:
// > sub_7831B8 @ 0x7831e6
//
// 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_78408C(int a1, int a2, int a3, int a4)
{
_DWORD *v4; // r4
__int64 v5; // r0
*((_BYTE *)v4 + a4) = 0;
v5 = ((__int64 (__fastcall *)(_DWORD *, int, _DWORD))v4[66])(v4, 255, v4[67]);
++v4[72];
sub_7831EA(v5, SHIDWORD(v5), 288, 0);
sub_7840B2();
}