//
// sub_7807AC from 0x7807ac to 0x7807f0 (68 bytes)
//
// 1 xrefs:
// > sub_77FAEA @ 0x77ff72
//
// 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_7807AC(int a1, int a2, int a3, int a4)
{
_DWORD *v4; // r4
int v5; // r12
_DWORD *v6; // r0
int v7; // r2
int v8; // r3
if ( v5 )
{
sub_77D87C((int)v4);
a4 = v4[3];
}
v4[3] = a4 + 2;
v6 = sub_77D3D0(v4, 69);
sub_77FFB2(v4, 48, v7, (int)v6);
if ( *(_BYTE *)(v8 + 1) != 105 )
sub_77FBB0();
v4[3] = v8 + 2;
sub_77D3D0(v4, 69);
JUMPOUT(0x78067E);
}