//
// sub_77A984 from 0x77a984 to 0x77a9ac (40 bytes)
//
// 3 xrefs:
// > sub_77AE5C @ 0x77ae68
// > sub_77AE74 @ 0x77ae80
// > ??> @ 0x77aee2
//
// 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
//
int __fastcall sub_77A984(int a1)
{
void *v2; // r0
*(_DWORD *)a1 = &off_AB0B78;
sub_77A520((_DWORD *)(a1 + 8));
if ( *(_BYTE *)(a1 + 12) )
{
v2 = *(void **)(a1 + 24);
if ( v2 )
operator delete[](v2);
}
nullsub_30();
return a1;
}