//
// sub_82A7C from 0x82a7c to 0x82ad8 (92 bytes)
//
// 2 xrefs:
// > sub_8295C @ 0x829b0
// > sub_82AD8 @ 0x82b00
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:14:08 +0000
//
__int64 sub_82A7C()
{
__int64 v0; // x19
int v1; // w21
unsigned int v2; // w0
unsigned int v3; // w20
_BYTE v5[32]; // [xsp+0h] [xbp-40h] BYREF
sub_839E8();
v1 = -1;
v5[8] = 1;
while ( ++v1 < *(_DWORD *)(v0 + 56) )
{
v2 = sub_E71C0(*(_QWORD *)(v0 + 40));
if ( v2 )
{
v3 = v2;
goto LABEL_6;
}
}
v3 = 0;
*(_DWORD *)(v0 + 56) = 0;
LABEL_6:
sub_52090((__int64)v5);
return v3;
}