//
// sub_1004B9654 from 0x1004b9654 to 0x1004b96b4 (96 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008284d0
//
// 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_1004B9654(__int64 a1)
{
__int64 v2; // x0
int *v3; // x1
v2 = *(_QWORD *)(a1 + 64);
if ( v2 )
{
sub_10045F3C8(v2);
*(_QWORD *)(a1 + 64) = 0;
}
v3 = *(int **)(a1 + 1048);
if ( v3 )
{
sub_1004B1970(*((_QWORD *)off_1008524C8 + 54), v3);
*(_QWORD *)(a1 + 1048) = 0;
}
return sub_1004B5F58(a1);
}