{"type": "func", "start": 5371562464, "end": 5371562534, "name": "GJSpecialColorSelect::onClose", "pseudocode": "// \n// GJSpecialColorSelect::onClose from 0x1402b89e0 to 0x1402b8a26 (70 bytes)\n// \n// 2 xrefs:\n// > GJSpecialColorSelect::init @ 0x1402b8067\n// > <???> @ 0x1406d2600\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 GJSpecialColorSelect::onClose(GJSpecialColorSelect *a1, cocos2d::CCObject *a2)\n{\n  GJSpecialColorSelectDelegate *m_delegate; // rcx\n  _BOOL8 v4; // rdx\n\n  m_delegate = a1->m_delegate;\n  if ( m_delegate )\n    m_delegate->colorSelectClosed(m_delegate, a1, a1->m_colorID);\n  a1->setKeypadEnabled(a1, 0);\n  LOBYTE(v4) = 1;\n  a1->removeFromParentAndCleanup(a1, v4);\n}", "assembly": "; \n; GJSpecialColorSelect::onClose from 0x1402b89e0 to 0x1402b8a26 (70 bytes)\n; \n; 2 xrefs:\n; > GJSpecialColorSelect::init @ 0x1402b8067\n; > <???> @ 0x1406d2600\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, 0x1402b89e0\nsub     rsp, 20h                                                       ; +0x2, 0x1402b89e2\nmov     rbx, rcx                                                       ; +0x6, 0x1402b89e6\nmov     rcx, [rcx+278h]                                                ; +0x9, 0x1402b89e9\ntest    rcx, rcx                                                       ; +0x10, 0x1402b89f0\njz      short loc_1402B8A04                                            ; +0x13, 0x1402b89f3\nmov     rax, [rcx]                                                     ; +0x15, 0x1402b89f5\nmov     rdx, rbx                                                       ; +0x18, 0x1402b89f8\nmov     r8d, [rbx+280h]                                                ; +0x1b, 0x1402b89fb\ncall    qword ptr [rax]                                                ; +0x22, 0x1402b8a02\nmov     rax, [rbx]                                                     ; +0x24, 0x1402b8a04\nxor     edx, edx                                                       ; +0x27, 0x1402b8a07\nmov     rcx, rbx                                                       ; +0x29, 0x1402b8a09\ncall    qword ptr [rax+3D0h]                                           ; +0x2c, 0x1402b8a0c\nmov     rax, [rbx]                                                     ; +0x32, 0x1402b8a12\nmov     dl, 1                                                          ; +0x35, 0x1402b8a15\nmov     rcx, rbx                                                       ; +0x37, 0x1402b8a17\nadd     rsp, 20h                                                       ; +0x3a, 0x1402b8a1a\npop     rbx                                                            ; +0x3e, 0x1402b8a1e\njmp     qword ptr [rax+1F8h]                                           ; +0x3f, 0x1402b8a1f", "xrefs": ["GJSpecialColorSelect::init @ 0x1402b8067", "<???> @ 0x1406d2600"], "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"}