//
// sub_100583488 from 0x100583488 to 0x1005834c0 (56 bytes)
//
// 1 xrefs:
// > sub_100587658 @ 0x100587768
//
// 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_100583488(__int64 a1)
{
_QWORD *v1; // x19
__int64 result; // x0
v1 = (_QWORD *)(a1 + 35464);
result = *(_QWORD *)(a1 + 35464);
if ( result )
{
sub_1005D70C4();
result = sub_1005D6580(*v1);
*v1 = 0;
}
return result;
}