{"type": "func", "start": 4297428000, "end": 4297428161, "name": "GJMessageCell::uploadActionFailed", "pseudocode": "// \n// GJMessageCell::uploadActionFailed from 0x100258c20 to 0x100258cc1 (161 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1008e8c88\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 GJMessageCell::uploadActionFailed(GJMessageCell *a1, int a2, int a3)\n{\n  UploadActionPopup *m_popup; // rbx\n  _QWORD v4[2]; // [rsp+8h] [rbp-28h] BYREF\n  void *__p; // [rsp+18h] [rbp-18h]\n\n  if ( a1->m_message->m_messageID == a2 )\n  {\n    m_popup = a1->m_popup;\n    if ( m_popup )\n    {\n      __p = operator new(0x20u);\n      v4[0] = 33;\n      v4[1] = 31;\n      strcpy((char *)__p, \"Failed. Please try again later.\");\n      UploadActionPopup::showFailMessage(m_popup, v4);\n      if ( (v4[0] & 1) != 0 )\n        operator delete(__p);\n      a1->m_popup->m_delegate = nullptr;\n      a1->m_popup = nullptr;\n    }\n  }\n}", "assembly": "; \n; GJMessageCell::uploadActionFailed from 0x100258c20 to 0x100258cc1 (161 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1008e8c88\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, 0x100258c20\nmov     rbp, rsp                                                       ; +0x1, 0x100258c21\npush    r14                                                            ; +0x4, 0x100258c24\npush    rbx                                                            ; +0x6, 0x100258c26\nsub     rsp, 20h                                                       ; +0x7, 0x100258c27\nmov     rax, [rdi+240h]                                                ; +0xb, 0x100258c2b\ncmp     [rax+13Ch], esi                                                ; +0x12, 0x100258c32\njnz     short loc_100258CB8                                            ; +0x18, 0x100258c38\nmov     rbx, [rdi+248h]                                                ; +0x1a, 0x100258c3a\ntest    rbx, rbx                                                       ; +0x21, 0x100258c41\njz      short loc_100258CB8                                            ; +0x24, 0x100258c44\nmov     r14, rdi                                                       ; +0x26, 0x100258c46\nmov     edi, 20h ; ' '; __sz                                           ; +0x29, 0x100258c49\ncall    __Znwm; operator new(ulong)                                    ; +0x2e, 0x100258c4e\nmov     [rbp+__p], rax                                                 ; +0x33, 0x100258c53\nmov     [rbp+var_28], 21h ; '!'                                        ; +0x37, 0x100258c57\nmov     [rbp+var_20], 1Fh                                              ; +0x3f, 0x100258c5f\nmovups  xmm0, xmmword ptr cs:aFailedPleaseTr+0Fh; \"try again later.\"   ; +0x47, 0x100258c67\nmovups  xmmword ptr [rax+0Fh], xmm0                                    ; +0x4e, 0x100258c6e\nmovups  xmm0, xmmword ptr cs:aFailedPleaseTr; \"Failed. Please try again later.\" ; +0x52, 0x100258c72\nmovups  xmmword ptr [rax], xmm0                                        ; +0x59, 0x100258c79\nmov     byte ptr [rax+1Fh], 0                                          ; +0x5c, 0x100258c7c\nlea     rsi, [rbp+var_28]                                              ; +0x60, 0x100258c80\nmov     rdi, rbx                                                       ; +0x64, 0x100258c84\ncall    UploadActionPopup__showFailMessage                             ; +0x67, 0x100258c87\ntest    byte ptr [rbp+var_28], 1                                       ; +0x6c, 0x100258c8c\njz      short loc_100258C9B                                            ; +0x70, 0x100258c90\nmov     rdi, [rbp+__p]; __p                                            ; +0x72, 0x100258c92\ncall    __ZdlPv; operator delete(void *)                               ; +0x76, 0x100258c96\nmov     rax, [r14+248h]                                                ; +0x7b, 0x100258c9b\nmov     qword ptr [rax+278h], 0                                        ; +0x82, 0x100258ca2\nmov     qword ptr [r14+248h], 0                                        ; +0x8d, 0x100258cad\nadd     rsp, 20h                                                       ; +0x98, 0x100258cb8\npop     rbx                                                            ; +0x9c, 0x100258cbc\npop     r14                                                            ; +0x9d, 0x100258cbd\npop     rbp                                                            ; +0x9f, 0x100258cbf\nretn                                                                   ; +0xa0, 0x100258cc0", "xrefs": ["<???> @ 0x1008e8c88"], "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"}