//
// IDNameBrowserPopup::onFormArrowLeft from 0x10090aab0 to 0x10090ab55 (165 bytes)
//
// 1 xrefs:
// > IDNameBrowserPopup::init @ 0x10090a201
//
// This function is hookable on this platform (idp: pc, 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:38:07 +0000
//
__int64 __fastcall IDNameBrowserPopup::onFormArrowLeft(__int64 a1)
{
__int64 v2; // rsi
char v3; // r15
char *v4; // rdi
unsigned int v5; // r14d
int v6; // eax
int v7; // ecx
int v8; // esi
char *v10[2]; // [rsp+0h] [rbp-30h] BYREF
char *v11; // [rsp+10h] [rbp-20h]
v2 = *(_QWORD *)(a1 + 712);
if ( !v2 )
goto LABEL_5;
CCTextInputNode::getString(v10, v2);
v3 = (char)v10[0];
if ( ((__int64)v10[0] & 1) == 0 )
{
if ( LOBYTE(v10[0]) )
{
v4 = (char *)v10 + 1;
goto LABEL_8;
}
LABEL_5:
v5 = 0;
goto LABEL_16;
}
if ( !v10[1] )
{
v5 = 0;
LABEL_15:
operator delete(v11);
goto LABEL_16;
}
v4 = v11;
LABEL_8:
v6 = atoi(v4);
v7 = 0;
if ( v6 > 0 )
v7 = v6;
v5 = 9999;
if ( v7 < 9999 )
v5 = v7;
if ( (v3 & 1) != 0 )
goto LABEL_15;
LABEL_16:
v8 = 2;
if ( v5 >= 3 )
v8 = v5;
sub_10090B2D0(a1, (unsigned int)(v8 - 1));
return sub_10090C4C0(a1);
}