{"type": "func", "start": 5369286880, "end": 5369286952, "name": "ColorSelectLiveOverlay::closeColorSelect", "pseudocode": "// \n// ColorSelectLiveOverlay::closeColorSelect from 0x14008d0e0 to 0x14008d128 (72 bytes)\n// \n// 2 xrefs:\n// > ColorSelectLiveOverlay::init @ 0x14008ca2b\n// > <???> @ 0x1406c6e28\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 ColorSelectLiveOverlay::closeColorSelect(ColorSelectLiveOverlay *a1, cocos2d::CCObject *a2)\n{\n  _BOOL8 v3; // rdx\n  ColorSelectDelegate *m_delegate; // rcx\n\n  a1->m_closeButtonPressed = a2 != nullptr;\n  a1->setKeypadEnabled(a1, 0);\n  m_delegate = a1->m_delegate;\n  if ( m_delegate )\n    m_delegate->colorSelectClosed(m_delegate, a1);\n  LOBYTE(v3) = 1;\n  a1->removeFromParentAndCleanup(a1, v3);\n}", "assembly": "; \n; ColorSelectLiveOverlay::closeColorSelect from 0x14008d0e0 to 0x14008d128 (72 bytes)\n; \n; 2 xrefs:\n; > ColorSelectLiveOverlay::init @ 0x14008ca2b\n; > <???> @ 0x1406c6e28\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    rbx                                                            ; +0x0, 0x14008d0e0\nsub     rsp, 20h                                                       ; +0x2, 0x14008d0e2\ntest    rdx, rdx                                                       ; +0x6, 0x14008d0e6\nmov     rbx, rcx                                                       ; +0x9, 0x14008d0e9\nsetnz   al                                                             ; +0xc, 0x14008d0ec\nxor     edx, edx                                                       ; +0xf, 0x14008d0ef\nmov     [rcx+339h], al                                                 ; +0x11, 0x14008d0f1\nmov     rax, [rcx]                                                     ; +0x17, 0x14008d0f7\ncall    qword ptr [rax+3D0h]                                           ; +0x1a, 0x14008d0fa\nmov     rcx, [rbx+2C0h]                                                ; +0x20, 0x14008d100\ntest    rcx, rcx                                                       ; +0x27, 0x14008d107\njz      short loc_14008D114                                            ; +0x2a, 0x14008d10a\nmov     rax, [rcx]                                                     ; +0x2c, 0x14008d10c\nmov     rdx, rbx                                                       ; +0x2f, 0x14008d10f\ncall    qword ptr [rax]                                                ; +0x32, 0x14008d112\nmov     rax, [rbx]                                                     ; +0x34, 0x14008d114\nmov     dl, 1                                                          ; +0x37, 0x14008d117\nmov     rcx, rbx                                                       ; +0x39, 0x14008d119\nadd     rsp, 20h                                                       ; +0x3c, 0x14008d11c\npop     rbx                                                            ; +0x40, 0x14008d120\njmp     qword ptr [rax+1F8h]                                           ; +0x41, 0x14008d121", "xrefs": ["ColorSelectLiveOverlay::init @ 0x14008ca2b", "<???> @ 0x1406c6e28"], "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"}