//
// sub_78370E from 0x78370e to 0x783736 (40 bytes)
//
// 2 xrefs:
// > sub_7836E6 @ 0x78370a
// > sub_782C44 @ 0x782d0a
//
// 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_78370E(int a1, int a2, int a3, int a4)
{
int v4; // r4
int v5; // r0
int v6; // r0
*(_BYTE *)(v4 + a4) = 0;
v5 = (*(int (__fastcall **)(int, int, _DWORD))(v4 + 264))(v4, 255, *(_DWORD *)(v4 + 268));
++*(_DWORD *)(v4 + 288);
v6 = sub_782D10(v5, 1);
sub_783736(v6);
}