//
// sub_7C9F8 from 0x7c9f8 to 0x7ca98 (160 bytes)
//
// 1 xrefs:
// > sub_7BC78 @ 0x7be98
//
// 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:06 +0000
//
__int64 __fastcall sub_7C9F8(__int64 a1)
{
unsigned int v2; // w19
_QWORD *v3; // x21
_QWORD *v4; // x22
__int64 v5; // x20
__int64 v7; // [xsp+0h] [xbp-30h] BYREF
int v8; // [xsp+8h] [xbp-28h]
char v9; // [xsp+Ch] [xbp-24h]
v7 = a1;
v9 = 0;
v8 = 7;
sub_520A0((__int64)&v7);
v2 = *(_DWORD *)(a1 + 1760);
v3 = (_QWORD *)(a1 + 67912);
v4 = (_QWORD *)(a1 + 67912);
while ( 1 )
{
v4 = (_QWORD *)*v4;
if ( v4 == v3 )
break;
v5 = v4[2];
if ( *(_BYTE *)(v5 + 530) )
sub_CCA10(v4[2], v2);
if ( *(_BYTE *)(v5 + 1062) )
sub_CCA10(v5 + 532, v2);
}
sub_51F94((__int64)&v7);
return 0;
}