{"type": "func", "start": 4298615028, "end": 4298615176, "name": "GJMessagePopup::onClosePopup", "pseudocode": "// \n// GJMessagePopup::onClosePopup from 0x10037a8f4 to 0x10037a988 (148 bytes)\n// \n// 2 xrefs:\n// > sub_10037A988 @ 0x10037a98c\n// > <???> @ 0x100935538\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 11:03:27 +0000\n// \n\n__int64 __fastcall GJMessagePopup::onClosePopup(_QWORD *a1, __int64 a2)\n{\n  __int64 result; // x0\n\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a2 + 1072LL))(a2, 0);\n  result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a2 + 528LL))(a2, 1);\n  if ( a1[92] == a2 )\n  {\n    a1[92] = 0;\n    if ( *((_BYTE *)a1 + 696) == 1 )\n    {\n      (*(void (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1072LL))(a1, 0);\n      return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1 + 528LL))(a1, 1);\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJMessagePopup::onClosePopup from 0x10037a8f4 to 0x10037a988 (148 bytes)\n; \n; 2 xrefs:\n; > sub_10037A988 @ 0x10037a98c\n; > <???> @ 0x100935538\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 11:03:27 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10037a8f4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10037a8f8\nADD             X29, SP, #0x10                                         ; +0x8, 0x10037a8fc\nMOV             X20, X1                                                ; +0xc, 0x10037a900\nMOV             X19, X0                                                ; +0x10, 0x10037a904\nLDR             X8, [X1]                                               ; +0x14, 0x10037a908\nLDR             X8, [X8,#0x430]                                        ; +0x18, 0x10037a90c\nMOV             X0, X1                                                 ; +0x1c, 0x10037a910\nMOV             W1, #0                                                 ; +0x20, 0x10037a914\nBLR             X8                                                     ; +0x24, 0x10037a918\nLDR             X8, [X20]                                              ; +0x28, 0x10037a91c\nLDR             X8, [X8,#0x210]                                        ; +0x2c, 0x10037a920\nMOV             X0, X20                                                ; +0x30, 0x10037a924\nMOV             W1, #1                                                 ; +0x34, 0x10037a928\nBLR             X8                                                     ; +0x38, 0x10037a92c\nLDR             X8, [X19,#0x2E0]                                       ; +0x3c, 0x10037a930\nCMP             X8, X20                                                ; +0x40, 0x10037a934\nB.NE            loc_10037A97C                                          ; +0x44, 0x10037a938\nSTR             XZR, [X19,#0x2E0]                                      ; +0x48, 0x10037a93c\nLDRB            W8, [X19,#0x2B8]                                       ; +0x4c, 0x10037a940\nCMP             W8, #1                                                 ; +0x50, 0x10037a944\nB.NE            loc_10037A97C                                          ; +0x54, 0x10037a948\nLDR             X8, [X19]                                              ; +0x58, 0x10037a94c\nLDR             X8, [X8,#0x430]                                        ; +0x5c, 0x10037a950\nMOV             X0, X19                                                ; +0x60, 0x10037a954\nMOV             W1, #0                                                 ; +0x64, 0x10037a958\nBLR             X8                                                     ; +0x68, 0x10037a95c\nLDR             X8, [X19]                                              ; +0x6c, 0x10037a960\nLDR             X2, [X8,#0x210]                                        ; +0x70, 0x10037a964\nMOV             X0, X19                                                ; +0x74, 0x10037a968\nMOV             W1, #1                                                 ; +0x78, 0x10037a96c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x7c, 0x10037a970\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x80, 0x10037a974\nBR              X2                                                     ; +0x84, 0x10037a978\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x88, 0x10037a97c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x8c, 0x10037a980\nRET                                                                    ; +0x90, 0x10037a984", "xrefs": ["sub_10037A988 @ 0x10037a98c", "<???> @ 0x100935538"], "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"}