//
// sub_7FF0C0 from 0x7ff0c0 to 0x7ff14c (140 bytes)
//
// 6 xrefs:
// > GameLevelManager::onAdminClearReportedContentCompleted @ 0x80c374
// > GameLevelManager::onAdminCloseCaseCompleted @ 0x810fd8
// > GameLevelManager::onAdminGetUserHistoryCompleted @ 0x836a5c
// > GameLevelManager::onAdminGetReportedContentCompleted @ 0x840d4c
// > GameLevelManager::onAdminGetAbuseInfoCompleted @ 0x841c50
// > GameLevelManager::onAdminGetAccountReviewCompleted @ 0x84c1d0
//
// 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:54:42 +0000
//
__int64 __fastcall sub_7FF0C0(__int64 a1)
{
int v1; // w20
size_t v2; // x2
const void *v3; // x21
_BYTE *v6; // x0
signed __int64 v7; // x0
__int64 v8; // x1
v1 = *(_BYTE *)a1 & 1;
if ( (*(_BYTE *)a1 & 1) != 0 )
{
v2 = *(_QWORD *)(a1 + 8);
v3 = *(const void **)(a1 + 16);
if ( !v2 )
return 0;
}
else
{
v2 = *(_BYTE *)a1 >> 1;
v3 = (const void *)(a1 + 1);
if ( !(*(_BYTE *)a1 >> 1) )
return 0;
}
v6 = memchr(v3, 95, v2);
if ( !v6 )
return 0;
v7 = v6 - (_BYTE *)v3;
if ( v7 == -1 )
return 0;
v8 = a1 + 1;
if ( v1 )
v8 = *(_QWORD *)(a1 + 16);
return atoi((const char *)(v8 + v7 + 1));
}