//
// sub_B8320C from 0xb8320c to 0xb832a0 (148 bytes)
//
// 2 xrefs:
// > sub_B94FB0 @ 0xb95118
// > sub_B9514C @ 0xb9518c
//
// 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_B8320C(__int64 a1)
{
void **v2; // x19
void **v3; // x22
int v4; // w0
v2 = (void **)(a1 + 1648);
v3 = (void **)(a1 + 2136);
do
{
off_1231008(*v2);
*v2++ = nullptr;
}
while ( v2 != v3 );
if ( *(_BYTE *)(a1 + 2336) )
{
off_1231008(*(void **)(a1 + 2328));
*(_BYTE *)(a1 + 2336) = 0;
}
v4 = *(unsigned __int8 *)(a1 + 2320);
*(_QWORD *)(a1 + 2328) = 0;
if ( v4 )
{
off_1231008(*(void **)(a1 + 2312));
*(_BYTE *)(a1 + 2320) = 0;
}
*(_QWORD *)(a1 + 2312) = 0;
}