//
// sub_7838C8 from 0x7838c8 to 0x7838f0 (40 bytes)
//
// 2 xrefs:
// > sub_78389A @ 0x7838c4
// > sub_782B66 @ 0x782bba
//
// 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_7838C8(int a1, int a2)
{
int v2; // r4
char v3; // r7
int v4; // r0
*(_BYTE *)(v2 + a2) = 0;
v4 = (*(int (__fastcall **)(int))(v2 + 264))(v2);
++*(_DWORD *)(v2 + 288);
*(_BYTE *)v2 = v3;
sub_782BD4(v4);
}