//
// IDNameInput::onBrowser from 0xce4ab4 to 0xce4ba0 (236 bytes)
//
// 3 xrefs:
// > ??> @ 0x9fd30
// > IDNameInput::initCore @ 0xce55b0
// > ??> @ 0x15446f8
//
// 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 13:06:38 +0000
//
__int64 __fastcall IDNameInput::onBrowser(IDNameInput *this, cocos2d::CCObject *a2)
{
CCTextInputNode *v3; // x0
int v5; // w22
char *v6; // x0
__int64 v7; // x0
__int64 v8[2]; // [xsp+30h] [xbp+30h] BYREF
char *v9; // [xsp+40h] [xbp+40h]
v3 = *((CCTextInputNode **)this + 48);
if ( v3 && *((_DWORD *)this + 94) )
{
CCTextInputNode::getString(v3, v8);
v5 = 0;
if ( (unsigned __int8)IDNameInput::textIsPureInt((__int64)v8) )
{
v6 = (char *)v8 + 1;
if ( (v8[0] & 1) != 0 )
v6 = v9;
v5 = atoi(v6);
}
IDNameInput::dismissAutocomplete((__int64)this);
v7 = IDNameBrowserPopup::create(v5, *((_DWORD *)this + 94), (__int64)this + 328);
if ( v7 )
(*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 1312LL))(v7);
if ( (v8[0] & 1) != 0 )
operator delete(v9);
}
return _stack_chk_guard;
}