{"type": "func", "start": 7828276, "end": 7828350, "name": "DropdownListPopup::onRowSelected", "pseudocode": "// \n// DropdownListPopup::onRowSelected from 0x777334 to 0x77737e (74 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:59:20 +0000\n// \n\nint __fastcall DropdownListPopup::onRowSelected(int this, cocos2d::CCObject *a2)\n{\n  DropdownListPopup *v2; // r4\n  int v4; // r1\n  int v5; // r0\n  void (__fastcall *v6)(int, cocos2d::CCObject *); // r2\n  int v7; // r3\n  int v8; // r3\n  int v9; // r0\n\n  v2 = (DropdownListPopup *)this;\n  if ( a2 )\n  {\n    cocos2d::CCObject::retain(a2);\n    cocos2d::CCObject::autorelease(a2);\n    v5 = *((_DWORD *)v2 + 169);\n    if ( v5 )\n    {\n      v6 = *((void (__fastcall **)(int, cocos2d::CCObject *))v2 + 170);\n      v7 = *((_DWORD *)v2 + 171);\n      if ( v6 || (v4 = v7 << 31, (v7 & 1) != 0) )\n      {\n        v8 = v7 >> 1;\n        if ( (*((_DWORD *)v2 + 171) & 1) != 0 )\n          v4 = *(_DWORD *)(v5 + v8);\n        v9 = v5 + v8;\n        if ( (*((_DWORD *)v2 + 171) & 1) != 0 )\n          v6 = *(void (__fastcall **)(int, cocos2d::CCObject *))((char *)v6 + v4);\n        v6(v9, a2);\n      }\n    }\n    return DropdownListPopup::closeSelf(v2);\n  }\n  return this;\n}", "assembly": "; \n; DropdownListPopup::onRowSelected from 0x777334 to 0x77737e (74 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:59:20 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x777334\nMOV             R4, R0                                                 ; +0x2, 0x777336\nMOV             R5, R1                                                 ; +0x4, 0x777338\nCBZ             R1, locret_77737C                                      ; +0x6, 0x77733a\nMOV             R0, R1; this                                           ; +0x8, 0x77733c\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0xa, 0x77733e\nMOV             R0, R5; this                                           ; +0xe, 0x777342\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x10, 0x777344\nLDR.W           R0, [R4,#0x2A4]                                        ; +0x14, 0x777348\nCBZ             R0, loc_777372                                         ; +0x18, 0x77734c\nLDR.W           R2, [R4,#0x2A8]                                        ; +0x1a, 0x77734e\nLDR.W           R3, [R4,#0x2AC]                                        ; +0x1e, 0x777352\nCBNZ            R2, loc_77735C                                         ; +0x22, 0x777356\nLSLS            R1, R3, #0x1F                                          ; +0x24, 0x777358\nBPL             loc_777372                                             ; +0x26, 0x77735a\nTST.W           R3, #1                                                 ; +0x28, 0x77735c\nMOV.W           R3, R3,ASR#1                                           ; +0x2c, 0x777360\nIT NE                                                                  ; +0x30, 0x777364\nLDRNE           R1, [R0,R3]                                            ; +0x32, 0x777366\nADD             R0, R3                                                 ; +0x34, 0x777368\nIT NE                                                                  ; +0x36, 0x77736a\nLDRNE           R2, [R1,R2]                                            ; +0x38, 0x77736c\nMOV             R1, R5                                                 ; +0x3a, 0x77736e\nBLX             R2                                                     ; +0x3c, 0x777370\nMOV             R0, R4; this                                           ; +0x3e, 0x777372\nPOP.W           {R3-R5,LR}                                             ; +0x40, 0x777374\nB.W             _ZN17DropdownListPopup9closeSelfEv; DropdownListPopup::closeSelf(void) ; +0x44, 0x777378\nPOP             {R3-R5,PC}                                             ; +0x48, 0x77737c", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}