{"type": "func", "start": 4295520916, "end": 4295521060, "name": "DialogLayer::onClose", "pseudocode": "// \n// DialogLayer::onClose from 0x100087294 to 0x100087324 (144 bytes)\n// \n// 3 xrefs:\n// > DialogLayer::handleDialogTap @ 0x100087228\n// > DialogLayer::keyBackClicked @ 0x10008737c\n// > sub_100087380 @ 0x100087384\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 __fastcall DialogLayer::onClose(DialogLayer *a1)\n{\n  DialogDelegate *m_delegate; // x0\n  TextArea *m_textArea; // x8\n\n  m_delegate = a1->m_delegate;\n  if ( m_delegate )\n    ((void (__fastcall *)(DialogDelegate *, DialogLayer *))m_delegate->dialogClosed)(m_delegate, a1);\n  a1->m_delegate = nullptr;\n  m_textArea = a1->m_textArea;\n  if ( m_textArea )\n    m_textArea->m_delegate = nullptr;\n  ((void (__fastcall *)(DialogLayer *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n  ((void (__fastcall *)(DialogLayer *, _QWORD))a1->setKeyboardEnabled)(a1, 0);\n  if ( !a1->m_noRemove )\n    ((void (__fastcall *)(DialogLayer *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n}", "assembly": "; \n; DialogLayer::onClose from 0x100087294 to 0x100087324 (144 bytes)\n; \n; 3 xrefs:\n; > DialogLayer::handleDialogTap @ 0x100087228\n; > DialogLayer::keyBackClicked @ 0x10008737c\n; > sub_100087380 @ 0x100087384\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100087294\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100087298\nADD             X29, SP, #0x10                                         ; +0x8, 0x10008729c\nMOV             X19, X0                                                ; +0xc, 0x1000872a0\nLDR             X0, [X0,#0x270]                                        ; +0x10, 0x1000872a4\nCBZ             X0, loc_1000872BC                                      ; +0x14, 0x1000872a8\nLDR             X8, [X0]                                               ; +0x18, 0x1000872ac\nLDR             X8, [X8]                                               ; +0x1c, 0x1000872b0\nMOV             X1, X19                                                ; +0x20, 0x1000872b4\nBLR             X8                                                     ; +0x24, 0x1000872b8\nSTR             XZR, [X19,#0x270]                                      ; +0x28, 0x1000872bc\nLDR             X8, [X19,#0x240]                                       ; +0x2c, 0x1000872c0\nCBZ             X8, loc_1000872CC                                      ; +0x30, 0x1000872c4\nSTR             XZR, [X8,#0x2B0]                                       ; +0x34, 0x1000872c8\nLDR             X8, [X19]                                              ; +0x38, 0x1000872cc\nLDR             X8, [X8,#0x420]                                        ; +0x3c, 0x1000872d0\nMOV             X0, X19                                                ; +0x40, 0x1000872d4\nMOV             W1, #0                                                 ; +0x44, 0x1000872d8\nBLR             X8                                                     ; +0x48, 0x1000872dc\nLDR             X8, [X19]                                              ; +0x4c, 0x1000872e0\nLDR             X8, [X8,#0x430]                                        ; +0x50, 0x1000872e4\nMOV             X0, X19                                                ; +0x54, 0x1000872e8\nMOV             W1, #0                                                 ; +0x58, 0x1000872ec\nBLR             X8                                                     ; +0x5c, 0x1000872f0\nLDRB            W8, [X19,#0x280]                                       ; +0x60, 0x1000872f4\nTBZ             W8, #0, loc_100087308                                  ; +0x64, 0x1000872f8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x68, 0x1000872fc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x6c, 0x100087300\nRET                                                                    ; +0x70, 0x100087304\nLDR             X8, [X19]                                              ; +0x74, 0x100087308\nLDR             X2, [X8,#0x200]                                        ; +0x78, 0x10008730c\nMOV             X0, X19                                                ; +0x7c, 0x100087310\nMOV             W1, #1                                                 ; +0x80, 0x100087314\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x84, 0x100087318\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x88, 0x10008731c\nBR              X2                                                     ; +0x8c, 0x100087320", "xrefs": ["DialogLayer::handleDialogTap @ 0x100087228", "DialogLayer::keyBackClicked @ 0x10008737c", "sub_100087380 @ 0x100087384"], "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"}