//
// sub_A361C from 0xa361c to 0xa3674 (88 bytes)
//
// 1 xrefs:
// > sub_A50C8 @ 0xa6018
//
// 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_A361C(__int64 a1)
{
__int64 v2; // x0
*(_DWORD *)(*(_QWORD *)(a1 + 8) + 24LL) = 0;
v2 = sub_5FBCC(a1, 0);
while ( !*(_BYTE *)(a1 + 3049) )
{
v2 = sub_A3674(a1, 0);
*(_DWORD *)(*(_QWORD *)(a1 + 8) + 24LL) += *(_DWORD *)(a1 + 2132);
}
sub_A6458(v2);
return 0;
}