{"type": "func", "start": 4297764016, "end": 4297764177, "name": "GJWriteMessagePopup::onClosePopup", "pseudocode": "// \n// GJWriteMessagePopup::onClosePopup from 0x1002aacb0 to 0x1002aad51 (161 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008fb678\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 GJWriteMessagePopup::onClosePopup(GJWriteMessagePopup *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    if ( !a1->m_uploadSuccess )\n      return;\n    goto LABEL_3;\n  }\n  a1->m_uploadPopup = nullptr;\n  if ( a1->m_uploadSuccess )\n  {\nLABEL_3:\n    ((void (__fastcall *)(CCTextInputNode *, _QWORD))a1->m_messageInput->onClickTrackNode)(a1->m_messageInput, 0);\n    ((void (__fastcall *)(CCTextInputNode *, _QWORD))a1->m_subjectInput->onClickTrackNode)(a1->m_subjectInput, 0);\n    ((void (__fastcall *)(GJWriteMessagePopup *, _QWORD))a1->setKeypadEnabled)(a1, 0);\n    ((void (__fastcall *)(GJWriteMessagePopup *, __int64))a1->removeFromParentAndCleanup)(a1, 1);\n  }\n}", "assembly": "; \n; GJWriteMessagePopup::onClosePopup from 0x1002aacb0 to 0x1002aad51 (161 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008fb678\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, 0x1002aacb0\nmov     rbp, rsp                                                       ; +0x1, 0x1002aacb1\npush    r14                                                            ; +0x4, 0x1002aacb4\npush    rbx                                                            ; +0x6, 0x1002aacb6\nmov     r14, rsi                                                       ; +0x7, 0x1002aacb7\nmov     rbx, rdi                                                       ; +0xa, 0x1002aacba\nmov     rax, [rsi]                                                     ; +0xd, 0x1002aacbd\nmov     rdi, rsi                                                       ; +0x10, 0x1002aacc0\nxor     esi, esi                                                       ; +0x13, 0x1002aacc3\ncall    qword ptr [rax+420h]                                           ; +0x15, 0x1002aacc5\nmov     rax, [r14]                                                     ; +0x1b, 0x1002aaccb\nmov     rdi, r14                                                       ; +0x1e, 0x1002aacce\nmov     esi, 1                                                         ; +0x21, 0x1002aacd1\ncall    qword ptr [rax+200h]                                           ; +0x26, 0x1002aacd6\ncmp     [rbx+2F8h], r14                                                ; +0x2c, 0x1002aacdc\njz      short loc_1002AAD38                                            ; +0x33, 0x1002aace3\ncmp     byte ptr [rbx+300h], 1                                         ; +0x35, 0x1002aace5\njnz     short loc_1002AAD4C                                            ; +0x3c, 0x1002aacec\nmov     rdi, [rbx+2A8h]                                                ; +0x3e, 0x1002aacee\nmov     rax, [rdi]                                                     ; +0x45, 0x1002aacf5\nxor     esi, esi                                                       ; +0x48, 0x1002aacf8\ncall    qword ptr [rax+478h]                                           ; +0x4a, 0x1002aacfa\nmov     rdi, [rbx+2B0h]                                                ; +0x50, 0x1002aad00\nmov     rax, [rdi]                                                     ; +0x57, 0x1002aad07\nxor     esi, esi                                                       ; +0x5a, 0x1002aad0a\ncall    qword ptr [rax+478h]                                           ; +0x5c, 0x1002aad0c\nmov     rax, [rbx]                                                     ; +0x62, 0x1002aad12\nmov     rdi, rbx                                                       ; +0x65, 0x1002aad15\nxor     esi, esi                                                       ; +0x68, 0x1002aad18\ncall    qword ptr [rax+420h]                                           ; +0x6a, 0x1002aad1a\nmov     rax, [rbx]                                                     ; +0x70, 0x1002aad20\nmov     rax, [rax+200h]                                                ; +0x73, 0x1002aad23\nmov     rdi, rbx                                                       ; +0x7a, 0x1002aad2a\nmov     esi, 1                                                         ; +0x7d, 0x1002aad2d\npop     rbx                                                            ; +0x82, 0x1002aad32\npop     r14                                                            ; +0x83, 0x1002aad33\npop     rbp                                                            ; +0x85, 0x1002aad35\njmp     rax                                                            ; +0x86, 0x1002aad36\nmov     qword ptr [rbx+2F8h], 0                                        ; +0x88, 0x1002aad38\ncmp     byte ptr [rbx+300h], 1                                         ; +0x93, 0x1002aad43\njz      short loc_1002AACEE                                            ; +0x9a, 0x1002aad4a\npop     rbx                                                            ; +0x9c, 0x1002aad4c\npop     r14                                                            ; +0x9d, 0x1002aad4d\npop     rbp                                                            ; +0x9f, 0x1002aad4f\nretn                                                                   ; +0xa0, 0x1002aad50", "xrefs": ["<???> @ 0x1008fb678"], "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"}