//
// sub_1003F0FF0 from 0x1003f0ff0 to 0x1003f10b4 (196 bytes)
//
// 3 xrefs:
// > InfoLayer::bulkCommentDeleteFinished @ 0x1003f28f4
// > InfoLayer::keyDown @ 0x1003f2bd4
// > InfoLayer::init @ 0x1003ef63c
//
// 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 11:04:30 +0000
//
void __fastcall sub_1003F0FF0(__int64 a1)
{
__int64 v2; // x0
__int64 v3; // x0
__int64 v4; // x20
__int64 v5; // x8
char v6; // w21
int v7; // w1
int v8; // w2
v2 = GameLevelManager::sharedState();
if ( (unsigned int)sub_1000ADD00(v2, "upd_comments", 5.0) - 1 >= 5 )
{
v3 = GameLevelManager::sharedState();
sub_1000AD8CC(v3, "upd_comments");
v4 = GameLevelManager::sharedState();
v5 = *(_QWORD *)(a1 + 704);
v6 = *(_BYTE *)(a1 + 880);
if ( v5 )
{
if ( (*(_BYTE *)(a1 + 880) & 1) != 0 )
{
v7 = *(_DWORD *)(v5 + 376);
v8 = 5;
LABEL_9:
sub_1000C1F7C(v4, v7, v8);
InfoLayer::loadPage(a1, 0, 1);
return;
}
v7 = sub_1003F055C((_QWORD *)a1);
}
else
{
v7 = sub_1003F055C((_QWORD *)a1);
if ( (v6 & 1) != 0 )
{
v8 = 4;
goto LABEL_9;
}
}
v8 = *(_DWORD *)(a1 + 876);
goto LABEL_9;
}
}