//
// IDNameBrowserPopup::onSelectRow from 0xcdd6a0 to 0xcdd748 (168 bytes)
//
// 3 xrefs:
// > ??> @ 0x5f098
// > IDNameBrowserPopup::mountVirtualRow @ 0xcdd4e4
// > ??> @ 0x1542398
//
// 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:34 +0000
//
int *__fastcall IDNameBrowserPopup::onSelectRow(int *this, cocos2d::CCObject *a2)
{
int *v3; // x20
int v4; // w21
GameManager *v5; // x0
GameManager *v6; // x0
GameManager *v7; // x0
__int64 v8; // x0
if ( a2 )
{
v3 = this;
this = (int *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
v4 = (int)this;
if ( (int)this > 0 )
{
cocos2d::CCObject::retain(a2);
v5 = (GameManager *)cocos2d::CCObject::autorelease(a2);
v6 = *(GameManager **)(GameManager::sharedState(v5) + 552);
if ( v6 )
{
v7 = *(GameManager **)(*(_QWORD *)(GameManager::sharedState(v6) + 552) + 3272LL);
if ( v7 )
{
v8 = GameManager::sharedState(v7);
LevelSettingsObject::touchIDUsage(*(LevelSettingsObject **)(*(_QWORD *)(v8 + 552) + 3272LL), v4, v3[169]);
}
}
v3[188] = v4;
return (int *)IDNameBrowserPopup::onClose((IDNameBrowserPopup *)v3, nullptr);
}
}
return this;
}