{"type": "func", "start": 5371998320, "end": 5371998386, "name": "SelectArtLayer::onClose", "pseudocode": "// \n// SelectArtLayer::onClose from 0x140323070 to 0x1403230b2 (66 bytes)\n// \n// 2 xrefs:\n// > SelectArtLayer::init @ 0x140322946\n// > <???> @ 0x1406d4d18\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 SelectArtLayer::onClose(SelectArtLayer *a1, cocos2d::CCObject *a2)\n{\n  _BOOL8 v3; // rdx\n  SelectArtDelegate *m_delegate; // rcx\n\n  a1->setKeypadEnabled(a1, 0);\n  LOBYTE(v3) = 1;\n  a1->removeFromParentAndCleanup(a1, v3);\n  m_delegate = a1->m_delegate;\n  if ( m_delegate )\n    m_delegate->selectArtClosed(m_delegate, a1);\n}", "assembly": "; \n; SelectArtLayer::onClose from 0x140323070 to 0x1403230b2 (66 bytes)\n; \n; 2 xrefs:\n; > SelectArtLayer::init @ 0x140322946\n; > <???> @ 0x1406d4d18\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, 0x140323070\nsub     rsp, 20h                                                       ; +0x2, 0x140323072\nmov     rax, [rcx]                                                     ; +0x6, 0x140323076\nxor     edx, edx                                                       ; +0x9, 0x140323079\nmov     rbx, rcx                                                       ; +0xb, 0x14032307b\ncall    qword ptr [rax+3D0h]                                           ; +0xe, 0x14032307e\nmov     rax, [rbx]                                                     ; +0x14, 0x140323084\nmov     dl, 1                                                          ; +0x17, 0x140323087\nmov     rcx, rbx                                                       ; +0x19, 0x140323089\ncall    qword ptr [rax+1F8h]                                           ; +0x1c, 0x14032308c\nmov     rcx, [rbx+298h]                                                ; +0x22, 0x140323092\ntest    rcx, rcx                                                       ; +0x29, 0x140323099\njz      short loc_1403230AC                                            ; +0x2c, 0x14032309c\nmov     rax, [rcx]                                                     ; +0x2e, 0x14032309e\nmov     rdx, rbx                                                       ; +0x31, 0x1403230a1\nadd     rsp, 20h                                                       ; +0x34, 0x1403230a4\npop     rbx                                                            ; +0x38, 0x1403230a8\njmp     qword ptr [rax]                                                ; +0x39, 0x1403230a9\nadd     rsp, 20h                                                       ; +0x3c, 0x1403230ac\npop     rbx                                                            ; +0x40, 0x1403230b0\nretn                                                                   ; +0x41, 0x1403230b1", "xrefs": ["SelectArtLayer::init @ 0x140322946", "<???> @ 0x1406d4d18"], "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"}