{"type": "func", "start": 5372001984, "end": 5372002050, "name": "SelectSettingLayer::onClose", "pseudocode": "// \n// SelectSettingLayer::onClose from 0x140323ec0 to 0x140323f02 (66 bytes)\n// \n// 2 xrefs:\n// > SelectSettingLayer::init @ 0x1403237e4\n// > <???> @ 0x1406d4d60\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 SelectSettingLayer::onClose(SelectSettingLayer *a1, cocos2d::CCObject *a2)\n{\n  _BOOL8 v3; // rdx\n  SelectSettingDelegate *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->selectSettingClosed(m_delegate, a1);\n}", "assembly": "; \n; SelectSettingLayer::onClose from 0x140323ec0 to 0x140323f02 (66 bytes)\n; \n; 2 xrefs:\n; > SelectSettingLayer::init @ 0x1403237e4\n; > <???> @ 0x1406d4d60\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, 0x140323ec0\nsub     rsp, 20h                                                       ; +0x2, 0x140323ec2\nmov     rax, [rcx]                                                     ; +0x6, 0x140323ec6\nxor     edx, edx                                                       ; +0x9, 0x140323ec9\nmov     rbx, rcx                                                       ; +0xb, 0x140323ecb\ncall    qword ptr [rax+3D0h]                                           ; +0xe, 0x140323ece\nmov     rax, [rbx]                                                     ; +0x14, 0x140323ed4\nmov     dl, 1                                                          ; +0x17, 0x140323ed7\nmov     rcx, rbx                                                       ; +0x19, 0x140323ed9\ncall    qword ptr [rax+1F8h]                                           ; +0x1c, 0x140323edc\nmov     rcx, [rbx+288h]                                                ; +0x22, 0x140323ee2\ntest    rcx, rcx                                                       ; +0x29, 0x140323ee9\njz      short loc_140323EFC                                            ; +0x2c, 0x140323eec\nmov     rax, [rcx]                                                     ; +0x2e, 0x140323eee\nmov     rdx, rbx                                                       ; +0x31, 0x140323ef1\nadd     rsp, 20h                                                       ; +0x34, 0x140323ef4\npop     rbx                                                            ; +0x38, 0x140323ef8\njmp     qword ptr [rax]                                                ; +0x39, 0x140323ef9\nadd     rsp, 20h                                                       ; +0x3c, 0x140323efc\npop     rbx                                                            ; +0x40, 0x140323f00\nretn                                                                   ; +0x41, 0x140323f01", "xrefs": ["SelectSettingLayer::init @ 0x1403237e4", "<???> @ 0x1406d4d60"], "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"}