//
// sub_BBA32C from 0xbba32c to 0xbba3ec (192 bytes)
//
// 3 xrefs:
// > sub_B9E948 @ 0xb9e9fc
// > sub_BBA3EC @ 0xbba43c
// > sub_BBA440 @ 0xbba53c
//
// 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
//
__int64 __fastcall sub_BBA32C(__int64 a1)
{
__int64 result; // x0
void (*v3)(void *); // x1
__int64 v4; // x0
result = *(_QWORD *)(a1 + 24);
if ( result )
{
j_SSL_SESSION_free();
*(_QWORD *)(a1 + 24) = 0;
*(_QWORD *)(a1 + 40) = 0;
off_1231008(*(void **)(a1 + 80));
*(_QWORD *)(a1 + 80) = 0;
off_1231008(*(void **)(a1 + 72));
*(_QWORD *)(a1 + 72) = 0;
off_1231008(*(void **)(a1 + 112));
*(_QWORD *)(a1 + 112) = 0;
off_1231008(*(void **)(a1 + 104));
*(_QWORD *)(a1 + 104) = 0;
off_1231008(*(void **)(a1 + 96));
*(_QWORD *)(a1 + 96) = 0;
off_1231008(*(void **)(a1 + 88));
*(_QWORD *)(a1 + 88) = 0;
off_1231008(*(void **)a1);
v3 = off_1231008;
v4 = *(_QWORD *)(a1 + 8);
*(_QWORD *)a1 = 0;
result = ((__int64 (__fastcall *)(__int64))v3)(v4);
*(_QWORD *)(a1 + 8) = 0;
}
return result;
}