//
// IDNameBrowserPopup::onDeleteRow from 0x79336c to 0x79341e (178 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
//
GameManager *__fastcall IDNameBrowserPopup::onDeleteRow(GameManager *this, cocos2d::CCObject *a2, int a3, int a4)
{
int *v4; // r6
int v6; // r7
GameManager *v7; // r0
unsigned int v8; // r8
GameManager *v9; // [sp+0h] [bp-10h] BYREF
cocos2d::CCObject *v10; // [sp+4h] [bp-Ch]
int v11; // [sp+8h] [bp-8h]
int v12; // [sp+Ch] [bp-4h]
v9 = this;
v10 = a2;
v11 = a3;
v12 = a4;
v4 = (int *)this;
if ( a2 )
{
this = (GameManager *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);
v6 = (int)this;
if ( (int)this > 0 )
{
this = (GameManager *)GameManager::sharedState(this);
if ( *((_DWORD *)this + 102) )
{
this = (GameManager *)GameManager::sharedState(this);
if ( *(_DWORD *)(*((_DWORD *)this + 102) + 2084) )
{
cocos2d::CCObject::retain(a2);
v7 = (GameManager *)cocos2d::CCObject::autorelease(a2);
v9 = nullptr;
v10 = nullptr;
v11 = 0;
v8 = *(_DWORD *)(*(_DWORD *)(GameManager::sharedState(v7) + 408) + 2084);
std::string::__init((int *)&v9, &unk_B6B226, 0);
LevelSettingsObject::setIDName(v8, v6, (unsigned __int8 *)&v9, v4[132]);
std::string::~string((int)&v9);
LevelSettingsObject::removeFromIDUseOrder(v8, v6, v4[132]);
IDNameBrowserPopup::rebuildList((IDNameBrowserPopup *)v4);
return IDNameBrowserPopup::updateConflictLabel((GameManager *)v4);
}
}
}
}
return this;
}