//
// sub_7841D8 from 0x7841d8 to 0x7841fe (38 bytes)
//
// 1 xrefs:
// > sub_7834AA @ 0x7834b4
//
// 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_7841D8(int a1, int a2, int a3, int a4)
{
int v4; // r4
__int64 v5; // r0
*(_BYTE *)(a1 + a4) = 0;
v5 = ((__int64 (__fastcall *)(int, int, _DWORD))*(_DWORD *)(a1 + 264))(a1, 255, *(_DWORD *)(a1 + 268));
++*(_DWORD *)(v4 + 288);
sub_7834B8(v5, SHIDWORD(v5), 288, 0);
}