{"type": "func", "start": 4295558908, "end": 4295559052, "name": "DialogLayer::onClose", "pseudocode": "// \n// DialogLayer::onClose from 0x1000906fc to 0x10009078c (144 bytes)\n// \n// 3 xrefs:\n// > DialogLayer::handleDialogTap @ 0x100090690\n// > DialogLayer::keyBackClicked @ 0x1000907e4\n// > sub_1000907E8 @ 0x1000907ec\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:58:23 +0000\n// \n\n__int64 __fastcall DialogLayer::onClose(_QWORD *a1)\n{\n  void (__fastcall ***v2)(_QWORD, _QWORD *); // x0\n  __int64 v3; // x8\n  __int64 result; // x0\n\n  v2 = (void (__fastcall ***)(_QWORD, _QWORD *))a1[78];\n  if ( v2 )\n    (**v2)(v2, a1);\n  a1[78] = 0;\n  v3 = a1[72];\n  if ( v3 )\n    *(_QWORD *)(v3 + 696) = 0;\n  (*(void (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1072LL))(a1, 0);\n  result = (*(__int64 (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1088LL))(a1, 0);\n  if ( (a1[80] & 1) == 0 )\n    return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1 + 528LL))(a1, 1);\n  return result;\n}", "assembly": "; \n; DialogLayer::onClose from 0x1000906fc to 0x10009078c (144 bytes)\n; \n; 3 xrefs:\n; > DialogLayer::handleDialogTap @ 0x100090690\n; > DialogLayer::keyBackClicked @ 0x1000907e4\n; > sub_1000907E8 @ 0x1000907ec\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:58:23 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1000906fc\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100090700\nADD             X29, SP, #0x10                                         ; +0x8, 0x100090704\nMOV             X19, X0                                                ; +0xc, 0x100090708\nLDR             X0, [X0,#0x270]                                        ; +0x10, 0x10009070c\nCBZ             X0, loc_100090724                                      ; +0x14, 0x100090710\nLDR             X8, [X0]                                               ; +0x18, 0x100090714\nLDR             X8, [X8]                                               ; +0x1c, 0x100090718\nMOV             X1, X19                                                ; +0x20, 0x10009071c\nBLR             X8                                                     ; +0x24, 0x100090720\nSTR             XZR, [X19,#0x270]                                      ; +0x28, 0x100090724\nLDR             X8, [X19,#0x240]                                       ; +0x2c, 0x100090728\nCBZ             X8, loc_100090734                                      ; +0x30, 0x10009072c\nSTR             XZR, [X8,#0x2B8]                                       ; +0x34, 0x100090730\nLDR             X8, [X19]                                              ; +0x38, 0x100090734\nLDR             X8, [X8,#0x430]                                        ; +0x3c, 0x100090738\nMOV             X0, X19                                                ; +0x40, 0x10009073c\nMOV             W1, #0                                                 ; +0x44, 0x100090740\nBLR             X8                                                     ; +0x48, 0x100090744\nLDR             X8, [X19]                                              ; +0x4c, 0x100090748\nLDR             X8, [X8,#0x440]                                        ; +0x50, 0x10009074c\nMOV             X0, X19                                                ; +0x54, 0x100090750\nMOV             W1, #0                                                 ; +0x58, 0x100090754\nBLR             X8                                                     ; +0x5c, 0x100090758\nLDRB            W8, [X19,#0x280]                                       ; +0x60, 0x10009075c\nTBZ             W8, #0, loc_100090770                                  ; +0x64, 0x100090760\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x68, 0x100090764\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x6c, 0x100090768\nRET                                                                    ; +0x70, 0x10009076c\nLDR             X8, [X19]                                              ; +0x74, 0x100090770\nLDR             X2, [X8,#0x210]                                        ; +0x78, 0x100090774\nMOV             X0, X19                                                ; +0x7c, 0x100090778\nMOV             W1, #1                                                 ; +0x80, 0x10009077c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x84, 0x100090780\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x88, 0x100090784\nBR              X2                                                     ; +0x8c, 0x100090788", "xrefs": ["DialogLayer::handleDialogTap @ 0x100090690", "DialogLayer::keyBackClicked @ 0x1000907e4", "sub_1000907E8 @ 0x1000907ec"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}