{"type": "func", "start": 9532188, "end": 9532324, "name": "DialogLayer::onClose", "pseudocode": "// \n// DialogLayer::onClose from 0x91731c to 0x9173a4 (136 bytes)\n// \n// 3 xrefs:\n// > DialogLayer::keyBackClicked @ 0x9173a4\n// > DialogLayer::handleDialogTap @ 0x91748c\n// > <???> @ 0x4cb90\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 DialogLayer::onClose(DialogLayer *a1)\n{\n  DialogDelegate *m_delegate; // x0\n  TextArea *m_textArea; // x0\n\n  m_delegate = a1->m_delegate;\n  if ( m_delegate )\n    m_delegate->dialogClosed(m_delegate, a1);\n  m_textArea = a1->m_textArea;\n  a1->m_delegate = nullptr;\n  if ( m_textArea )\n    m_textArea->m_delegate = nullptr;\n  a1->setKeypadEnabled(a1, 0);\n  a1->setKeyboardEnabled(a1, 0);\n  if ( !a1->m_noRemove )\n    a1->removeFromParentAndCleanup(a1, 1);\n}", "assembly": "; \n; DialogLayer::onClose from 0x91731c to 0x9173a4 (136 bytes)\n; \n; 3 xrefs:\n; > DialogLayer::keyBackClicked @ 0x9173a4\n; > DialogLayer::handleDialogTap @ 0x91748c\n; > <???> @ 0x4cb90\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\nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x91731c\nMOV             X29, SP                                                ; +0x4, 0x917320\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x917324\nMOV             X19, X0                                                ; +0xc, 0x917328\nLDR             X0, [X0,#0x270]                                        ; +0x10, 0x91732c\nCBZ             X0, loc_917344                                         ; +0x14, 0x917330\nLDR             X2, [X0]                                               ; +0x18, 0x917334\nMOV             X1, X19                                                ; +0x1c, 0x917338\nLDR             X2, [X2]                                               ; +0x20, 0x91733c\nBLR             X2                                                     ; +0x24, 0x917340\nLDR             X0, [X19,#0x240]                                       ; +0x28, 0x917344\nSTR             XZR, [X19,#0x270]                                      ; +0x2c, 0x917348\nCBZ             X0, loc_917354                                         ; +0x30, 0x91734c\nSTR             XZR, [X0,#0x2A0]                                       ; +0x34, 0x917350\nLDR             X2, [X19]                                              ; +0x38, 0x917354\nMOV             X0, X19                                                ; +0x3c, 0x917358\nMOV             W1, #0                                                 ; +0x40, 0x91735c\nLDR             X2, [X2,#0x420]                                        ; +0x44, 0x917360\nBLR             X2                                                     ; +0x48, 0x917364\nLDR             X2, [X19]                                              ; +0x4c, 0x917368\nMOV             X0, X19                                                ; +0x50, 0x91736c\nMOV             W1, #0                                                 ; +0x54, 0x917370\nLDR             X2, [X2,#0x430]                                        ; +0x58, 0x917374\nBLR             X2                                                     ; +0x5c, 0x917378\nLDRB            W0, [X19,#0x280]                                       ; +0x60, 0x91737c\nCBNZ            W0, loc_917398                                         ; +0x64, 0x917380\nLDR             X2, [X19]                                              ; +0x68, 0x917384\nMOV             X0, X19                                                ; +0x6c, 0x917388\nMOV             W1, #1                                                 ; +0x70, 0x91738c\nLDR             X2, [X2,#0x200]                                        ; +0x74, 0x917390\nBLR             X2                                                     ; +0x78, 0x917394\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x7c, 0x917398\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x80, 0x91739c\nRET                                                                    ; +0x84, 0x9173a0", "xrefs": ["DialogLayer::keyBackClicked @ 0x9173a4", "DialogLayer::handleDialogTap @ 0x91748c", "<???> @ 0x4cb90"], "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"}