{"type": "func", "start": 13329848, "end": 13329976, "name": "Dropdown::onRowSelected", "pseudocode": "// \n// Dropdown::onRowSelected from 0xcb65b8 to 0xcb6638 (128 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x5b798\n// > Dropdown::openList @ 0xcb881c\n// > <???> @ 0x15421f0\n// \n// This function is hookable on this platform (idp: arm, 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 13:06:12 +0000\n// \n\n__int64 __fastcall Dropdown::onRowSelected(__int64 this, cocos2d::CCObject *a2)\n{\n  __int64 v2; // x19\n  signed int v3; // w20\n\n  if ( a2 )\n  {\n    v2 = this;\n    this = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);\n    v3 = this;\n    if ( (this & 0x80000000) == 0 )\n    {\n      this = 0xAAAAAAAAAAAAAAAALL;\n      if ( v3 < (int)(-1431655765 * ((__int64)(*(_QWORD *)(v2 + 368) - *(_QWORD *)(v2 + 360)) >> 3)) )\n      {\n        *(_DWORD *)(v2 + 384) = v3;\n        Dropdown::refreshValueLabel(v2);\n        this = *(_QWORD *)(v2 + 352);\n        if ( this )\n          return (**(__int64 (__fastcall ***)(__int64, __int64, _QWORD))this)(this, v2, (unsigned int)v3);\n      }\n    }\n  }\n  return this;\n}", "assembly": "; \n; Dropdown::onRowSelected from 0xcb65b8 to 0xcb6638 (128 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x5b798\n; > Dropdown::openList @ 0xcb881c\n; > <???> @ 0x15421f0\n; \n; This function is hookable on this platform (idp: arm, 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 13:06:12 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0xcb65b8\nMOV             X29, SP                                                ; +0x4, 0xcb65bc\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0xcb65c0\nCBZ             X1, loc_CB662C                                         ; +0xc, 0xcb65c4\nMOV             X19, X0                                                ; +0x10, 0xcb65c8\nMOV             X0, X1                                                 ; +0x14, 0xcb65cc\nLDR             X1, [X1]                                               ; +0x18, 0xcb65d0\nLDR             X1, [X1,#0x40]                                         ; +0x1c, 0xcb65d4\nBLR             X1                                                     ; +0x20, 0xcb65d8\nMOV             W20, W0                                                ; +0x24, 0xcb65dc\nTBNZ            W20, #0x1F, loc_CB662C                                 ; +0x28, 0xcb65e0\nLDR             X0, [X19,#0x168]                                       ; +0x2c, 0xcb65e4\nLDR             X3, [X19,#0x170]                                       ; +0x30, 0xcb65e8\nSUB             X3, X3, X0                                             ; +0x34, 0xcb65ec\nMOV             X0, #0xAAAAAAAAAAAAAAAA                                ; +0x38, 0xcb65f0\nASR             X3, X3, #3                                             ; +0x3c, 0xcb65f4\nMADD            X3, X0, X3, X3                                         ; +0x40, 0xcb65f8\nCMP             W20, W3                                                ; +0x44, 0xcb65fc\nB.GE            loc_CB662C                                             ; +0x48, 0xcb6600\nMOV             X0, X19; this                                          ; +0x4c, 0xcb6604\nSTR             W20, [X19,#0x180]                                      ; +0x50, 0xcb6608\nBL              _ZN8Dropdown17refreshValueLabelEv; Dropdown::refreshValueLabel(void) ; +0x54, 0xcb660c\nLDR             X0, [X19,#0x160]                                       ; +0x58, 0xcb6610\nCBZ             X0, loc_CB662C                                         ; +0x5c, 0xcb6614\nLDR             X3, [X0]                                               ; +0x60, 0xcb6618\nMOV             X1, X19                                                ; +0x64, 0xcb661c\nMOV             W2, W20                                                ; +0x68, 0xcb6620\nLDR             X3, [X3]                                               ; +0x6c, 0xcb6624\nBLR             X3                                                     ; +0x70, 0xcb6628\nLDP             X19, X20, [SP,#var_s10]                                ; +0x74, 0xcb662c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x78, 0xcb6630\nRET                                                                    ; +0x7c, 0xcb6634", "xrefs": ["<???> @ 0x5b798", "Dropdown::openList @ 0xcb881c", "<???> @ 0x15421f0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}