//
// sub_5848C from 0x5848c to 0x584e4 (88 bytes)
//
// 1 xrefs:
// > ??> @ 0x10c400
//
// 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_5848C(__int64 a1)
{
__int64 v1; // x19
__int64 i; // x21
char v3; // zf
_QWORD *v4; // x20
_QWORD *v5; // x19
__int64 v6; // x0
v1 = a1;
for ( i = a1 + 400; ; a1 = sub_593F4(*(_QWORD *)(i + 16)) )
{
sub_5937C(a1);
if ( v3 )
break;
}
v4 = *(_QWORD **)(v1 + 424);
v5 = (_QWORD *)(v1 + 424);
while ( v4 != v5 )
{
v6 = v4[2];
v4 = (_QWORD *)*v4;
sub_593F4(v6);
}
return 0;
}