{"type": "func", "start": 5369673968, "end": 5369674084, "name": "LevelPickerPopup::cellPerformedAction", "pseudocode": "// \n// LevelPickerPopup::cellPerformedAction from 0x1400eb8f0 to 0x1400eb964 (116 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1407299d0\n// > <???> @ 0x140914f54\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:34 +0000\n// \n\nchar __fastcall LevelPickerPopup::cellPerformedAction(__int64 a1, __int64 a2, int a3, int a4)\n{\n  void (__fastcall ***v5)(_QWORD); // rcx\n  __int64 v6; // rcx\n\n  if ( a4 == 1 )\n  {\n    if ( a3 == 37 )\n    {\n      if ( *(_QWORD *)(a2 + 568) )\n      {\n        v5 = *(void (__fastcall ****)(_QWORD))(a1 + 8);\n        if ( v5 )\n          (**v5)(v5);\n      }\nLABEL_10:\n      (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(a1 - 784) + 1096LL))(a1 - 784, 0);\n      return 1;\n    }\n    if ( a3 == 39 )\n    {\n      if ( *(_QWORD *)(a2 + 560) )\n      {\n        v6 = *(_QWORD *)(a1 + 8);\n        if ( v6 )\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 8LL))(v6);\n      }\n      goto LABEL_10;\n    }\n  }\n  return 0;\n}", "assembly": "; \n; LevelPickerPopup::cellPerformedAction from 0x1400eb8f0 to 0x1400eb964 (116 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1407299d0\n; > <???> @ 0x140914f54\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:34 +0000\n; \npush    rbx                                                            ; +0x0, 0x1400eb8f0\nsub     rsp, 20h                                                       ; +0x2, 0x1400eb8f2\nmov     rbx, rcx                                                       ; +0x6, 0x1400eb8f6\ncmp     r9d, 1                                                         ; +0x9, 0x1400eb8f9\njnz     short loc_1400EB95C                                            ; +0xd, 0x1400eb8fd\ncmp     r8d, 25h ; '%'                                                 ; +0xf, 0x1400eb8ff\njnz     short loc_1400EB921                                            ; +0x13, 0x1400eb903\nmov     rdx, [rdx+238h]                                                ; +0x15, 0x1400eb905\ntest    rdx, rdx                                                       ; +0x1c, 0x1400eb90c\njz      short loc_1400EB942                                            ; +0x1f, 0x1400eb90f\nmov     rcx, [rcx+8]                                                   ; +0x21, 0x1400eb911\ntest    rcx, rcx                                                       ; +0x25, 0x1400eb915\njz      short loc_1400EB942                                            ; +0x28, 0x1400eb918\nmov     rax, [rcx]                                                     ; +0x2a, 0x1400eb91a\ncall    qword ptr [rax]                                                ; +0x2d, 0x1400eb91d\njmp     short loc_1400EB942                                            ; +0x2f, 0x1400eb91f\ncmp     r8d, 27h ; '''                                                 ; +0x31, 0x1400eb921\njnz     short loc_1400EB95C                                            ; +0x35, 0x1400eb925\nmov     rdx, [rdx+230h]                                                ; +0x37, 0x1400eb927\ntest    rdx, rdx                                                       ; +0x3e, 0x1400eb92e\njz      short loc_1400EB942                                            ; +0x41, 0x1400eb931\nmov     rcx, [rcx+8]                                                   ; +0x43, 0x1400eb933\ntest    rcx, rcx                                                       ; +0x47, 0x1400eb937\njz      short loc_1400EB942                                            ; +0x4a, 0x1400eb93a\nmov     rax, [rcx]                                                     ; +0x4c, 0x1400eb93c\ncall    qword ptr [rax+8]                                              ; +0x4f, 0x1400eb93f\nlea     rcx, [rbx-310h]                                                ; +0x52, 0x1400eb942\nxor     edx, edx                                                       ; +0x59, 0x1400eb949\nmov     rax, [rcx]                                                     ; +0x5b, 0x1400eb94b\ncall    qword ptr [rax+448h]                                           ; +0x5e, 0x1400eb94e\nmov     al, 1                                                          ; +0x64, 0x1400eb954\nadd     rsp, 20h                                                       ; +0x66, 0x1400eb956\npop     rbx                                                            ; +0x6a, 0x1400eb95a\nretn                                                                   ; +0x6b, 0x1400eb95b\nxor     al, al                                                         ; +0x6c, 0x1400eb95c\nadd     rsp, 20h                                                       ; +0x6e, 0x1400eb95e\npop     rbx                                                            ; +0x72, 0x1400eb962\nretn                                                                   ; +0x73, 0x1400eb963", "xrefs": ["<???> @ 0x1407299d0", "<???> @ 0x140914f54"], "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"}