//
// sub_82A7C from 0x82a7c to 0x82ad8 (92 bytes)
//
// 2 xrefs:
// > sub_8295C @ 0x829b0
// > sub_82AD8 @ 0x82b00
//
// 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 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;
}