//
// sub_7813A0 from 0x7813a0 to 0x7813ce (46 bytes)
//
// 1 xrefs:
// > sub_780050 @ 0x78034c
//
// 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 sub_7813A0(int a1, int a2, int a3, int a4)
{
_DWORD *v4; // r4
int v5; // r7
_DWORD *v6; // r10
v4[3] = a4 + 2;
v5 = sub_77D87C((int)v4);
v6 = sub_77E8CC((int)v4);
if ( *(_BYTE *)v4[3] != 73 )
{
sub_77BD98(v4, 1, v5, (int)v6);
sub_77FCC0();
JUMPOUT(0x7813CE);
}
JUMPOUT(0x78141E);
}