//
// DropdownListPopup::onRowSelected from 0x777334 to 0x77737e (74 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:20 +0000
//
int __fastcall DropdownListPopup::onRowSelected(int this, cocos2d::CCObject *a2)
{
DropdownListPopup *v2; // r4
int v4; // r1
int v5; // r0
void (__fastcall *v6)(int, cocos2d::CCObject *); // r2
int v7; // r3
int v8; // r3
int v9; // r0
v2 = (DropdownListPopup *)this;
if ( a2 )
{
cocos2d::CCObject::retain(a2);
cocos2d::CCObject::autorelease(a2);
v5 = *((_DWORD *)v2 + 169);
if ( v5 )
{
v6 = *((void (__fastcall **)(int, cocos2d::CCObject *))v2 + 170);
v7 = *((_DWORD *)v2 + 171);
if ( v6 || (v4 = v7 << 31, (v7 & 1) != 0) )
{
v8 = v7 >> 1;
if ( (*((_DWORD *)v2 + 171) & 1) != 0 )
v4 = *(_DWORD *)(v5 + v8);
v9 = v5 + v8;
if ( (*((_DWORD *)v2 + 171) & 1) != 0 )
v6 = *(void (__fastcall **)(int, cocos2d::CCObject *))((char *)v6 + v4);
v6(v9, a2);
}
}
return DropdownListPopup::closeSelf(v2);
}
return this;
}