//
// sub_1006B91BC from 0x1006b91bc to 0x1006b9204 (72 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009bbda8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:11:59 +0000
//
void __fastcall sub_1006B91BC(__int64 a1)
{
__int64 v1; // x19
char *v2; // x0
size_t v3; // x1
v1 = *(_QWORD *)(a1 + 40);
sub_1006B8EC0((char *)(v1 + 32));
v2 = *(char **)(v1 + 16);
if ( v2 )
{
v3 = *(int *)(v1 + 8);
if ( (_DWORD)v3 )
{
sub_1006B0510(v2, v3);
v2 = *(char **)(v1 + 16);
}
sub_1006AEDAC(v2);
*(_QWORD *)(v1 + 16) = 0;
}
sub_1006AEDAC((void *)v1);
}