{"type": "func", "start": 4299357040, "end": 4299357227, "name": "HSVWidgetPopup::keyBackClicked", "pseudocode": "// \n// HSVWidgetPopup::keyBackClicked from 0x10042fb70 to 0x10042fc2b (187 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1009369f0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall HSVWidgetPopup::keyBackClicked(HSVWidgetPopup *a1)\n{\n  ConfigureHSVWidget *m_widget; // rax\n  cocos2d::CCDictionary *m_inputs; // rcx\n  cocos2d::CCDictElement *m_pElements; // r15\n  _QWORD *v5; // r14\n  HSVWidgetDelegate *m_delegate; // rdi\n\n  m_widget = a1->m_widget;\n  m_inputs = m_widget->m_inputs;\n  if ( m_inputs )\n  {\n    m_pElements = m_inputs->m_pElements;\n    if ( m_pElements )\n    {\n      do\n      {\n        v5 = &m_pElements->m_pObject->__vftable;\n        m_pElements = (cocos2d::CCDictElement *)m_pElements->hh.next;\n        (*(void (__fastcall **)(_QWORD *, _QWORD))(*v5 + 1144LL))(v5, 0);\n        v5[68] = 0;\n      }\n      while ( m_pElements );\n      m_widget = a1->m_widget;\n    }\n  }\n  if ( !m_widget->m_mixed )\n  {\n    m_delegate = a1->m_delegate;\n    if ( m_delegate )\n      ((void (__fastcall *)(HSVWidgetDelegate *, HSVWidgetPopup *, _QWORD, double))m_delegate->hsvPopupClosed)(\n        m_delegate,\n        a1,\n        *(_QWORD *)&m_widget->m_hsv.v,\n        *(double *)&m_widget->m_hsv.h);\n  }\n  ((void (__fastcall *)(HSVWidgetPopup *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n  ((void (__fastcall *)(HSVWidgetPopup *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; HSVWidgetPopup::keyBackClicked from 0x10042fb70 to 0x10042fc2b (187 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1009369f0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x10042fb70\nmov     rbp, rsp                                                       ; +0x1, 0x10042fb71\npush    r15                                                            ; +0x4, 0x10042fb74\npush    r14                                                            ; +0x6, 0x10042fb76\npush    rbx                                                            ; +0x8, 0x10042fb78\npush    rax                                                            ; +0x9, 0x10042fb79\nmov     rbx, rdi                                                       ; +0xa, 0x10042fb7a\nmov     rax, [rdi+278h]                                                ; +0xd, 0x10042fb7d\nmov     rcx, [rax+1A0h]                                                ; +0x14, 0x10042fb84\ntest    rcx, rcx                                                       ; +0x1b, 0x10042fb8b\njz      short loc_10042FBD3                                            ; +0x1e, 0x10042fb8e\nmov     r15, [rcx+38h]                                                 ; +0x20, 0x10042fb90\ntest    r15, r15                                                       ; +0x24, 0x10042fb94\njz      short loc_10042FBD3                                            ; +0x27, 0x10042fb97\nnop     dword ptr [rax+00000000h]                                      ; +0x29, 0x10042fb99\nmov     r14, [r15+108h]                                                ; +0x30, 0x10042fba0\nmov     r15, [r15+120h]                                                ; +0x37, 0x10042fba7\nmov     rax, [r14]                                                     ; +0x3e, 0x10042fbae\nmov     rdi, r14                                                       ; +0x41, 0x10042fbb1\nxor     esi, esi                                                       ; +0x44, 0x10042fbb4\ncall    qword ptr [rax+478h]                                           ; +0x46, 0x10042fbb6\nmov     qword ptr [r14+220h], 0                                        ; +0x4c, 0x10042fbbc\ntest    r15, r15                                                       ; +0x57, 0x10042fbc7\njnz     short loc_10042FBA0                                            ; +0x5a, 0x10042fbca\nmov     rax, [rbx+278h]                                                ; +0x5c, 0x10042fbcc\ncmp     byte ptr [rax+188h], 0                                         ; +0x63, 0x10042fbd3\njnz     short loc_10042FBFF                                            ; +0x6a, 0x10042fbda\nmov     rdi, [rbx+280h]                                                ; +0x6c, 0x10042fbdc\ntest    rdi, rdi                                                       ; +0x73, 0x10042fbe3\njz      short loc_10042FBFF                                            ; +0x76, 0x10042fbe6\nmovsd   xmm0, qword ptr [rax+178h]                                     ; +0x78, 0x10042fbe8\nmov     rdx, [rax+180h]                                                ; +0x80, 0x10042fbf0\nmov     rax, [rdi]                                                     ; +0x87, 0x10042fbf7\nmov     rsi, rbx                                                       ; +0x8a, 0x10042fbfa\ncall    qword ptr [rax]                                                ; +0x8d, 0x10042fbfd\nmov     rax, [rbx]                                                     ; +0x8f, 0x10042fbff\nmov     rdi, rbx                                                       ; +0x92, 0x10042fc02\nxor     esi, esi                                                       ; +0x95, 0x10042fc05\ncall    qword ptr [rax+420h]                                           ; +0x97, 0x10042fc07\nmov     rax, [rbx]                                                     ; +0x9d, 0x10042fc0d\nmov     rax, [rax+200h]                                                ; +0xa0, 0x10042fc10\nmov     rdi, rbx                                                       ; +0xa7, 0x10042fc17\nmov     esi, 1                                                         ; +0xaa, 0x10042fc1a\nadd     rsp, 8                                                         ; +0xaf, 0x10042fc1f\npop     rbx                                                            ; +0xb3, 0x10042fc23\npop     r14                                                            ; +0xb4, 0x10042fc24\npop     r15                                                            ; +0xb6, 0x10042fc26\npop     rbp                                                            ; +0xb8, 0x10042fc28\njmp     rax                                                            ; +0xb9, 0x10042fc29", "xrefs": ["<???> @ 0x1009369f0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}