//
// IDNameBrowserPopup::onEditRow from 0x78ffdc to 0x7900b6 (218 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:40 +0000
//
unsigned int *__fastcall IDNameBrowserPopup::onEditRow(unsigned int *this, cocos2d::CCObject *a2)
{
char *v2; // r8
unsigned int *v3; // r6
unsigned int v4; // r4
int v5; // r0
int v6; // r9
size_t v7; // r0
char v8; // [sp+4h] [bp-20h] BYREF
char v9; // [sp+5h] [bp-1Fh] BYREF
char *v10; // [sp+Ch] [bp-18h]
int v11[3]; // [sp+10h] [bp-14h] BYREF
v3 = this;
if ( a2 )
{
this = (unsigned int *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);
v4 = (unsigned int)this;
if ( (int)this > 0 )
{
this = (unsigned int *)GameManager::sharedState((GameManager *)this);
if ( *(this + 102) )
{
this = (unsigned int *)GameManager::sharedState((GameManager *)this);
if ( *(_DWORD *)(*(this + 102) + 2084) )
{
v5 = GameManager::sharedState((GameManager *)this);
LevelSettingsObject::getIDName(
(LevelSettingsObject *)&v8,
*(_DWORD *)(*(_DWORD *)(v5 + 408) + 2084),
v4,
v3[132]);
IDNameBrowserPopup::setFormID((int)v3, v4);
v6 = v3[138];
if ( v6 )
{
if ( (v8 & 1) == 0 )
v2 = &v9;
v11[0] = 0;
if ( (v8 & 1) != 0 )
v2 = v10;
v11[1] = 0;
v11[2] = 0;
v7 = strlen(v2);
std::string::__init(v11, v2, v7);
CCTextInputNode::setString(v6, (int)v11);
std::string::~string((int)v11);
}
IDNameBrowserPopup::updateConflictLabel((GameManager *)v3);
return (unsigned int *)std::string::~string((int)&v8);
}
}
}
}
return this;
}