//
// sub_1005B2FAC from 0x1005b2fac to 0x1005b2ff8 (76 bytes)
//
// 2 xrefs:
// > sub_1005A9D24 @ 0x1005a9de0
// > sub_1005A9D24 @ 0x1005a9e64
//
// 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_1005B2FAC(__int64 a1, __int64 a2)
{
if ( !sub_1005AAFFC(a1, a2) )
return 0;
sub_1005AB128(a1 + 24, 0);
*(_DWORD *)(a1 + 48) = sub_1005AAC20(a2);
*(_DWORD *)(a1 + 52) = 0;
return 1;
}