//
// sub_8652E from 0x8652e to 0x86568 (58 bytes)
//
// 1 xrefs:
// > sub_87B50 @ 0x888c6
//
// 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
//
int __fastcall sub_8652E(int a1)
{
*(_DWORD *)(*(_DWORD *)(a1 + 4) + 20) = 0;
sub_4F22C(a1, 0);
while ( !*(_BYTE *)(a1 + 2421) )
{
sub_86568(a1, 0);
*(_DWORD *)(*(_DWORD *)(a1 + 4) + 20) += *(_DWORD *)(a1 + 1512);
}
sub_4F378(a1);
return 0;
}