{"type": "func", "start": 5371953232, "end": 5371953301, "name": "DemonFilterSelectLayer::onClose", "pseudocode": "// \n// DemonFilterSelectLayer::onClose from 0x140318050 to 0x140318095 (69 bytes)\n// \n// 2 xrefs:\n// > DemonFilterSelectLayer::init @ 0x140317e73\n// > <???> @ 0x1406d49e8\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 DemonFilterSelectLayer::onClose(DemonFilterSelectLayer *a1, cocos2d::CCObject *a2)\n{\n  _BOOL8 v3; // rdx\n  DemonFilterDelegate *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->demonFilterSelectClosed(m_delegate, a1->m_currentDemon);\n}", "assembly": "; \n; DemonFilterSelectLayer::onClose from 0x140318050 to 0x140318095 (69 bytes)\n; \n; 2 xrefs:\n; > DemonFilterSelectLayer::init @ 0x140317e73\n; > <???> @ 0x1406d49e8\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, 0x140318050\nsub     rsp, 20h                                                       ; +0x2, 0x140318052\nmov     rax, [rcx]                                                     ; +0x6, 0x140318056\nxor     edx, edx                                                       ; +0x9, 0x140318059\nmov     rbx, rcx                                                       ; +0xb, 0x14031805b\ncall    qword ptr [rax+3D0h]                                           ; +0xe, 0x14031805e\nmov     rax, [rbx]                                                     ; +0x14, 0x140318064\nmov     dl, 1                                                          ; +0x17, 0x140318067\nmov     rcx, rbx                                                       ; +0x19, 0x140318069\ncall    qword ptr [rax+1F8h]                                           ; +0x1c, 0x14031806c\nmov     rcx, [rbx+290h]                                                ; +0x22, 0x140318072\ntest    rcx, rcx                                                       ; +0x29, 0x140318079\njz      short loc_14031808F                                            ; +0x2c, 0x14031807c\nmov     rax, [rcx]                                                     ; +0x2e, 0x14031807e\nmov     edx, [rbx+288h]                                                ; +0x31, 0x140318081\nadd     rsp, 20h                                                       ; +0x37, 0x140318087\npop     rbx                                                            ; +0x3b, 0x14031808b\njmp     qword ptr [rax]                                                ; +0x3c, 0x14031808c\nadd     rsp, 20h                                                       ; +0x3f, 0x14031808f\npop     rbx                                                            ; +0x43, 0x140318093\nretn                                                                   ; +0x44, 0x140318094", "xrefs": ["DemonFilterSelectLayer::init @ 0x140317e73", "<???> @ 0x1406d49e8"], "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"}