//
// sub_907154 from 0x907154 to 0x9071f8 (164 bytes)
//
// 6 xrefs:
// > InfoLayer::setupCommentsBrowser @ 0x909c18
// > InfoLayer::onCommentCellToggled @ 0x90d83c
// > InfoLayer::onCommentCellToggled @ 0x90d87c
// > InfoLayer::onCommentCellToggled @ 0x90d8b4
// > InfoLayer::onCommentCellToggled @ 0x90d900
// > InfoLayer::onBulkSelectAll @ 0x90da44
//
// 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:57:09 +0000
//
unsigned __int64 __fastcall sub_907154(_DWORD *a1)
{
int v1; // w1
int v2; // w1
unsigned int v4; // [xsp+0h] [xbp-10h]
unsigned int v5; // [xsp+4h] [xbp-Ch]
if ( a1 )
{
v1 = a1[109];
switch ( v1 )
{
case 3:
v2 = 6;
break;
case 4:
v2 = 7;
break;
case 5:
v2 = 8;
break;
default:
v2 = a1[95] == 0;
break;
}
v4 = v2;
v5 = a1[92];
}
else
{
v4 = 0;
v5 = 0;
}
return v4 | ((unsigned __int64)v5 << 32);
}