{"type": "func", "start": 4297755024, "end": 4297755140, "name": "GJMessagePopup::onClosePopup", "pseudocode": "// \n// GJMessagePopup::onClosePopup from 0x1002a8990 to 0x1002a8a04 (116 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008faf20\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 GJMessagePopup::onClosePopup(GJMessagePopup *a1, UploadActionPopup *a2)\n{\n  ((void (__fastcall *)(UploadActionPopup *, _QWORD))a2->setKeypadEnabled)(a2, 0);\n  ((void (__fastcall *)(UploadActionPopup *, __int64))a2->removeFromParentAndCleanup)(a2, 1);\n  if ( a1->m_uploadPopup == a2 )\n  {\n    a1->m_uploadPopup = nullptr;\n    if ( a1->m_actionSuccess )\n    {\n      ((void (__fastcall *)(GJMessagePopup *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n      ((void (__fastcall *)(GJMessagePopup *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n    }\n  }\n}", "assembly": "; \n; GJMessagePopup::onClosePopup from 0x1002a8990 to 0x1002a8a04 (116 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008faf20\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\npush    rbp                                                            ; +0x0, 0x1002a8990\nmov     rbp, rsp                                                       ; +0x1, 0x1002a8991\npush    r14                                                            ; +0x4, 0x1002a8994\npush    rbx                                                            ; +0x6, 0x1002a8996\nmov     r14, rsi                                                       ; +0x7, 0x1002a8997\nmov     rbx, rdi                                                       ; +0xa, 0x1002a899a\nmov     rax, [rsi]                                                     ; +0xd, 0x1002a899d\nmov     rdi, rsi                                                       ; +0x10, 0x1002a89a0\nxor     esi, esi                                                       ; +0x13, 0x1002a89a3\ncall    qword ptr [rax+420h]                                           ; +0x15, 0x1002a89a5\nmov     rax, [r14]                                                     ; +0x1b, 0x1002a89ab\nmov     rdi, r14                                                       ; +0x1e, 0x1002a89ae\nmov     esi, 1                                                         ; +0x21, 0x1002a89b1\ncall    qword ptr [rax+200h]                                           ; +0x26, 0x1002a89b6\ncmp     [rbx+2C0h], r14                                                ; +0x2c, 0x1002a89bc\njnz     short loc_1002A89FF                                            ; +0x33, 0x1002a89c3\nmov     qword ptr [rbx+2C0h], 0                                        ; +0x35, 0x1002a89c5\ncmp     byte ptr [rbx+298h], 1                                         ; +0x40, 0x1002a89d0\njnz     short loc_1002A89FF                                            ; +0x47, 0x1002a89d7\nmov     rax, [rbx]                                                     ; +0x49, 0x1002a89d9\nmov     rdi, rbx                                                       ; +0x4c, 0x1002a89dc\nxor     esi, esi                                                       ; +0x4f, 0x1002a89df\ncall    qword ptr [rax+420h]                                           ; +0x51, 0x1002a89e1\nmov     rax, [rbx]                                                     ; +0x57, 0x1002a89e7\nmov     rax, [rax+200h]                                                ; +0x5a, 0x1002a89ea\nmov     rdi, rbx                                                       ; +0x61, 0x1002a89f1\nmov     esi, 1                                                         ; +0x64, 0x1002a89f4\npop     rbx                                                            ; +0x69, 0x1002a89f9\npop     r14                                                            ; +0x6a, 0x1002a89fa\npop     rbp                                                            ; +0x6c, 0x1002a89fc\njmp     rax                                                            ; +0x6d, 0x1002a89fd\npop     rbx                                                            ; +0x6f, 0x1002a89ff\npop     r14                                                            ; +0x70, 0x1002a8a00\npop     rbp                                                            ; +0x72, 0x1002a8a02\nretn                                                                   ; +0x73, 0x1002a8a03", "xrefs": ["<???> @ 0x1008faf20"], "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"}