{"type": "func", "start": 5369898512, "end": 5369898654, "name": "DropdownListPopup::onRowSelected", "pseudocode": "// \n// DropdownListPopup::onRowSelected from 0x140122610 to 0x14012269e (142 bytes)\n// \n// 3 xrefs:\n// > DropdownListPopup::buildRows @ 0x140121ecc\n// > DropdownListPopup::buildRows @ 0x14012210f\n// > <???> @ 0x1409166c4\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:26:57 +0000\n// \n\nvoid __fastcall DropdownListPopup::onRowSelected(_QWORD *a1, cocos2d::CCObject *a2)\n{\n  __int64 v4; // rcx\n  void (__fastcall *v5)(__int64, cocos2d::CCObject *); // rax\n  void (__fastcall ***v6)(_QWORD, _QWORD *); // rcx\n  __int64 v7; // rdx\n\n  if ( a2 )\n  {\n    cocos2d::CCObject::retain(a2);\n    cocos2d::CCObject::autorelease(a2);\n    v4 = a1[117];\n    if ( v4 )\n    {\n      v5 = (void (__fastcall *)(__int64, cocos2d::CCObject *))a1[118];\n      if ( v5 )\n        v5(v4, a2);\n    }\n    v6 = (void (__fastcall ***)(_QWORD, _QWORD *))a1[116];\n    if ( v6 )\n    {\n      a1[116] = 0;\n      (**v6)(v6, a1);\n    }\n    (*(void (__fastcall **)(_QWORD *, _QWORD))(*a1 + 992LL))(a1, 0);\n    LOBYTE(v7) = 1;\n    (*(void (__fastcall **)(_QWORD *, __int64))(*a1 + 520LL))(a1, v7);\n  }\n}", "assembly": "; \n; DropdownListPopup::onRowSelected from 0x140122610 to 0x14012269e (142 bytes)\n; \n; 3 xrefs:\n; > DropdownListPopup::buildRows @ 0x140121ecc\n; > DropdownListPopup::buildRows @ 0x14012210f\n; > <???> @ 0x1409166c4\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:26:57 +0000\n; \ntest    rdx, rdx                                                       ; +0x0, 0x140122610\njz      locret_14012269D                                               ; +0x3, 0x140122613\nmov     [rsp+arg_0], rbx                                               ; +0x9, 0x140122619\npush    rdi                                                            ; +0xe, 0x14012261e\nsub     rsp, 20h                                                       ; +0xf, 0x14012261f\nmov     rbx, rcx                                                       ; +0x13, 0x140122623\nmov     rdi, rdx                                                       ; +0x16, 0x140122626\nmov     rcx, rdx                                                       ; +0x19, 0x140122629\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x1c, 0x14012262c\nmov     rcx, rdi                                                       ; +0x22, 0x140122632\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x25, 0x140122635\nmov     rcx, [rbx+3A8h]                                                ; +0x2b, 0x14012263b\ntest    rcx, rcx                                                       ; +0x32, 0x140122642\njz      short loc_140122658                                            ; +0x35, 0x140122645\nmov     rax, [rbx+3B0h]                                                ; +0x37, 0x140122647\ntest    rax, rax                                                       ; +0x3e, 0x14012264e\njz      short loc_140122658                                            ; +0x41, 0x140122651\nmov     rdx, rdi                                                       ; +0x43, 0x140122653\ncall    rax                                                            ; +0x46, 0x140122656\nmov     rcx, [rbx+3A0h]                                                ; +0x48, 0x140122658\ntest    rcx, rcx                                                       ; +0x4f, 0x14012265f\njz      short loc_140122677                                            ; +0x52, 0x140122662\nmov     qword ptr [rbx+3A0h], 0                                        ; +0x54, 0x140122664\nmov     rdx, rbx                                                       ; +0x5f, 0x14012266f\nmov     rax, [rcx]                                                     ; +0x62, 0x140122672\ncall    qword ptr [rax]                                                ; +0x65, 0x140122675\nmov     rax, [rbx]                                                     ; +0x67, 0x140122677\nxor     edx, edx                                                       ; +0x6a, 0x14012267a\nmov     rcx, rbx                                                       ; +0x6c, 0x14012267c\ncall    qword ptr [rax+3E0h]                                           ; +0x6f, 0x14012267f\nmov     rax, [rbx]                                                     ; +0x75, 0x140122685\nmov     dl, 1                                                          ; +0x78, 0x140122688\nmov     rcx, rbx                                                       ; +0x7a, 0x14012268a\ncall    qword ptr [rax+208h]                                           ; +0x7d, 0x14012268d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x83, 0x140122693\nadd     rsp, 20h                                                       ; +0x88, 0x140122698\npop     rdi                                                            ; +0x8c, 0x14012269c\nretn                                                                   ; +0x8d, 0x14012269d", "xrefs": ["DropdownListPopup::buildRows @ 0x140121ecc", "DropdownListPopup::buildRows @ 0x14012210f", "<???> @ 0x1409166c4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}