//
// IDNameInput::onBrowser from 0x793940 to 0x7939c4 (132 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:43 +0000
//
int __fastcall IDNameInput::onBrowser(int this, cocos2d::CCObject *a2)
{
int v2; // r1
int v3; // r4
int IsPureInt; // r0
char *v5; // r0
int v6; // r5
int *v7; // r0
unsigned __int8 v8; // [sp+0h] [bp-14h] BYREF
char v9; // [sp+1h] [bp-13h] BYREF
char *v10; // [sp+8h] [bp-Ch]
v2 = *(_DWORD *)(this + 300);
v3 = this;
if ( v2 && *(_DWORD *)(this + 292) )
{
CCTextInputNode::getString((CCTextInputNode *)&v8, v2);
IsPureInt = IDNameInput::textIsPureInt(&v8);
if ( IsPureInt )
{
if ( (v8 & 1) != 0 )
v5 = v10;
else
v5 = &v9;
IsPureInt = atoi(v5);
}
v6 = IsPureInt;
IDNameInput::dismissAutocomplete(v3);
v7 = IDNameBrowserPopup::create(v6, *(_DWORD *)(v3 + 292), v3 + 268);
if ( v7 )
(*(void (__fastcall **)(int *))(*v7 + 656))(v7);
return std::string::~string((int)&v8);
}
return this;
}