//
// sub_783F2A from 0x783f2a to 0x783f52 (40 bytes)
//
// 1 xrefs:
// > sub_78145C @ 0x782632
//
// 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_783F2A(int a1)
{
int v1; // r4
char v2; // r5
char v3; // r6
int v4; // r0
*(_BYTE *)(v1 + a1) = v2;
v4 = (*(int (__fastcall **)(int, int, _DWORD))(v1 + 264))(v1, 255, *(_DWORD *)(v1 + 268));
++*(_DWORD *)(v1 + 288);
*(_BYTE *)v1 = v3;
sub_78264E(v4);
}