{"type": "func", "start": 10946132, "end": 10946268, "name": "DialogLayer::onClose", "pseudocode": "// \n// DialogLayer::onClose from 0xa70654 to 0xa706dc (136 bytes)\n// \n// 3 xrefs:\n// > DialogLayer::keyBackClicked @ 0xa706dc\n// > DialogLayer::handleDialogTap @ 0xa70f28\n// > <???> @ 0x6ba70\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 13:00:23 +0000\n// \n\n__int64 __fastcall DialogLayer::onClose(DialogLayer *this)\n{\n  void (__fastcall ***v2)(_QWORD, DialogLayer *); // x0\n  __int64 v3; // x0\n  __int64 result; // x0\n\n  v2 = *((void (__fastcall ****)(_QWORD, DialogLayer *))this + 78);\n  if ( v2 )\n    (**v2)(v2, this);\n  v3 = *((_QWORD *)this + 72);\n  *((_QWORD *)this + 78) = 0;\n  if ( v3 )\n    *(_QWORD *)(v3 + 696) = 0;\n  (*(void (__fastcall **)(DialogLayer *, _QWORD))(*(_QWORD *)this + 1072LL))(this, 0);\n  (*(void (__fastcall **)(DialogLayer *, _QWORD))(*(_QWORD *)this + 1088LL))(this, 0);\n  result = *((unsigned __int8 *)this + 640);\n  if ( !*((_BYTE *)this + 640) )\n    return (*(__int64 (__fastcall **)(DialogLayer *, __int64))(*(_QWORD *)this + 528LL))(this, 1);\n  return result;\n}", "assembly": "; \n; DialogLayer::onClose from 0xa70654 to 0xa706dc (136 bytes)\n; \n; 3 xrefs:\n; > DialogLayer::keyBackClicked @ 0xa706dc\n; > DialogLayer::handleDialogTap @ 0xa70f28\n; > <???> @ 0x6ba70\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 13:00:23 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xa70654\nMOV             X29, SP                                                ; +0x4, 0xa70658\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xa7065c\nMOV             X19, X0                                                ; +0xc, 0xa70660\nLDR             X0, [X0,#0x270]                                        ; +0x10, 0xa70664\nCBZ             X0, loc_A7067C                                         ; +0x14, 0xa70668\nLDR             X2, [X0]                                               ; +0x18, 0xa7066c\nMOV             X1, X19                                                ; +0x1c, 0xa70670\nLDR             X2, [X2]                                               ; +0x20, 0xa70674\nBLR             X2                                                     ; +0x24, 0xa70678\nLDR             X0, [X19,#0x240]                                       ; +0x28, 0xa7067c\nSTR             XZR, [X19,#0x270]                                      ; +0x2c, 0xa70680\nCBZ             X0, loc_A7068C                                         ; +0x30, 0xa70684\nSTR             XZR, [X0,#0x2B8]                                       ; +0x34, 0xa70688\nLDR             X2, [X19]                                              ; +0x38, 0xa7068c\nMOV             X0, X19                                                ; +0x3c, 0xa70690\nMOV             W1, #0                                                 ; +0x40, 0xa70694\nLDR             X2, [X2,#0x430]                                        ; +0x44, 0xa70698\nBLR             X2                                                     ; +0x48, 0xa7069c\nLDR             X2, [X19]                                              ; +0x4c, 0xa706a0\nMOV             X0, X19                                                ; +0x50, 0xa706a4\nMOV             W1, #0                                                 ; +0x54, 0xa706a8\nLDR             X2, [X2,#0x440]                                        ; +0x58, 0xa706ac\nBLR             X2                                                     ; +0x5c, 0xa706b0\nLDRB            W0, [X19,#0x280]                                       ; +0x60, 0xa706b4\nCBNZ            W0, loc_A706D0                                         ; +0x64, 0xa706b8\nLDR             X2, [X19]                                              ; +0x68, 0xa706bc\nMOV             X0, X19                                                ; +0x6c, 0xa706c0\nMOV             W1, #1                                                 ; +0x70, 0xa706c4\nLDR             X2, [X2,#0x210]                                        ; +0x74, 0xa706c8\nBLR             X2                                                     ; +0x78, 0xa706cc\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x7c, 0xa706d0\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x80, 0xa706d4\nRET                                                                    ; +0x84, 0xa706d8", "xrefs": ["DialogLayer::keyBackClicked @ 0xa706dc", "DialogLayer::handleDialogTap @ 0xa70f28", "<???> @ 0x6ba70"], "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"}