{"type": "func", "start": 4902096, "end": 4902196, "name": "GJMessagePopup::uploadActionFailed", "pseudocode": "// \n// GJMessagePopup::uploadActionFailed from 0x4accd0 to 0x4acd34 (100 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'GJMessagePopup::uploadActionFailed @ 0x4acd40\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 GJMessagePopup::uploadActionFailed(GJMessagePopup *a1, int a2, int a3)\n{\n  GJUserMessage *m_message; // r4\n  UploadActionPopup *m_uploadPopup; // r6\n  int v5; // r2\n  int v6; // r3\n  char *v7; // [sp+8h] [bp-8h] BYREF\n\n  v7 = (char *)a3;\n  m_message = a1->m_message;\n  if ( m_message->m_messageID == a2 || a3 == 34 && a2 == m_message->m_accountID )\n  {\n    m_uploadPopup = a1->m_uploadPopup;\n    if ( m_uploadPopup )\n    {\n      sub_776584((int)&v7, \"Failed. Please try again later.\");\n      UploadActionPopup::showFailMessage((int)m_uploadPopup, &v7, v5, v6);\n      sub_774008(&v7);\n    }\n  }\n}", "assembly": "; \n; GJMessagePopup::uploadActionFailed from 0x4accd0 to 0x4acd34 (100 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'GJMessagePopup::uploadActionFailed @ 0x4acd40\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            {R0-R6,LR}                                             ; +0x0, 0x4accd0\nLDR             R3, =(__stack_chk_guard_ptr - 0x4ACCD8)                ; +0x2, 0x4accd2\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x4, 0x4accd4\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x6, 0x4accd6\nLDR             R4, [R3]                                               ; +0x8, 0x4accd8\nSTR             R4, [SP,#0x10+var_4]                                   ; +0xa, 0x4accda\nLDR.W           R4, [R0,#0x208]                                        ; +0xc, 0x4accdc\nLDR.W           R5, [R4,#0x108]                                        ; +0x10, 0x4acce0\nCMP             R5, R1                                                 ; +0x14, 0x4acce4\nMOV             R5, R3                                                 ; +0x16, 0x4acce6\nBEQ             loc_4ACCF6                                             ; +0x18, 0x4acce8\nCMP             R2, #0x22 ; '\"'                                        ; +0x1a, 0x4accea\nBNE             loc_4ACD24                                             ; +0x1c, 0x4accec\nLDR.W           R3, [R4,#0x10C]                                        ; +0x1e, 0x4accee\nCMP             R1, R3                                                 ; +0x22, 0x4accf2\nBNE             loc_4ACD24                                             ; +0x24, 0x4accf4\nLDR.W           R6, [R0,#0x214]                                        ; +0x26, 0x4accf6\nCBZ             R6, loc_4ACD24                                         ; +0x2a, 0x4accfa\nADD             R4, SP, #0x10+var_8                                    ; +0x2c, 0x4accfc\nLDR             R1, =(aFailedPleaseTr - 0x4ACD06); \"Failed. Please try again later.\" ; +0x2e, 0x4accfe\nADD             R2, SP, #0x10+var_C                                    ; +0x30, 0x4acd00\nADD             R1, PC; \"Failed. Please try again later.\"              ; +0x32, 0x4acd02\nMOV             R0, R4; int                                            ; +0x34, 0x4acd04\nBL              sub_776584                                             ; +0x36, 0x4acd06\nMOV             R0, R6                                                 ; +0x3a, 0x4acd0a\nMOV             R1, R4                                                 ; +0x3c, 0x4acd0c\nBL              _ZN17UploadActionPopup15showFailMessageESs; UploadActionPopup::showFailMessage(std::string) ; +0x3e, 0x4acd0e\nMOV             R0, R4                                                 ; +0x42, 0x4acd12\nBL              sub_774008                                             ; +0x44, 0x4acd14\nB               loc_4ACD24                                             ; +0x48, 0x4acd18\nMOV             R0, R4                                                 ; +0x4a, 0x4acd1a\nBL              sub_774008                                             ; +0x4c, 0x4acd1c\nBL              __cxa_end_cleanup                                      ; +0x50, 0x4acd20\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x54, 0x4acd24\nLDR             R3, [R5]                                               ; +0x56, 0x4acd26\nCMP             R2, R3                                                 ; +0x58, 0x4acd28\nBEQ             loc_4ACD30                                             ; +0x5a, 0x4acd2a\nBLX             __stack_chk_fail                                       ; +0x5c, 0x4acd2c\nADD             SP, SP, #0x10                                          ; +0x60, 0x4acd30\nPOP             {R4-R6,PC}                                             ; +0x62, 0x4acd32", "xrefs": ["`non-virtual thunk to'GJMessagePopup::uploadActionFailed @ 0x4acd40"], "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"}