//
// sub_1004B2430 from 0x1004b2430 to 0x1004b24c8 (152 bytes)
//
// 0 xrefs:
//
// 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_1004B2430(__int64 a1)
{
int *v2; // x1
int *v3; // x1
v2 = *(int **)(a1 + 32);
if ( v2 )
{
sub_1004B1970(*((_QWORD *)off_1008524C8 + 54), v2);
*(_QWORD *)(a1 + 32) = 0;
}
v3 = *(int **)(a1 + 40);
if ( v3 )
{
sub_1004B1970(*((_QWORD *)off_1008524C8 + 54), v3);
*(_QWORD *)(a1 + 40) = 0;
}
sub_1004B1970(*((_QWORD *)off_1008524C8 + 54), (int *)a1);
return 0;
}