{"type": "func", "start": 3342648, "end": 3342754, "name": "GJMessageCell::uploadActionFailed", "pseudocode": "// \n// GJMessageCell::uploadActionFailed from 0x330138 to 0x3301a2 (106 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'GJMessageCell::uploadActionFailed @ 0x3301b0\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 GJMessageCell::uploadActionFailed(GJMessageCell *a1, int a2, int a3)\n{\n  UploadActionPopup *m_popup; // r7\n  _BYTE v5[4]; // [sp+8h] [bp-Ch] BYREF\n\n  if ( a2 == a1->m_message->m_messageID )\n  {\n    m_popup = a1->m_popup;\n    if ( m_popup )\n    {\n      sub_776584((int)v5, \"Failed. Please try again later.\");\n      UploadActionPopup::showFailMessage(m_popup, (std::string)v5);\n      sub_774008(v5);\n      a1->m_popup->m_delegate = nullptr;\n      a1->m_popup = nullptr;\n    }\n  }\n}", "assembly": "; \n; GJMessageCell::uploadActionFailed from 0x330138 to 0x3301a2 (106 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'GJMessageCell::uploadActionFailed @ 0x3301b0\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\nLDR             R3, =(__stack_chk_guard_ptr - 0x330140)                ; +0x0, 0x330138\nPUSH            {R4-R7,LR}                                             ; +0x2, 0x33013a\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x4, 0x33013c\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x6, 0x33013e\nSUB             SP, SP, #0x14                                          ; +0x8, 0x330140\nMOV             R6, R0                                                 ; +0xa, 0x330142\nLDR             R2, [R3]                                               ; +0xc, 0x330144\nMOV             R4, R3                                                 ; +0xe, 0x330146\nSTR             R2, [SP,#0x14+var_8]                                   ; +0x10, 0x330148\nLDR.W           R2, [R0,#0x1A8]                                        ; +0x12, 0x33014a\nLDR.W           R2, [R2,#0x108]                                        ; +0x16, 0x33014e\nCMP             R1, R2                                                 ; +0x1a, 0x330152\nBNE             loc_330192                                             ; +0x1c, 0x330154\nLDR.W           R7, [R0,#0x1AC]                                        ; +0x1e, 0x330156\nCBZ             R7, loc_330192                                         ; +0x22, 0x33015a\nADD             R5, SP, #0x14+var_C                                    ; +0x24, 0x33015c\nLDR             R1, =(aFailedPleaseTr - 0x330166); \"Failed. Please try again later.\" ; +0x26, 0x33015e\nADD             R2, SP, #0x14+var_10                                   ; +0x28, 0x330160\nADD             R1, PC; \"Failed. Please try again later.\"              ; +0x2a, 0x330162\nMOV             R0, R5; int                                            ; +0x2c, 0x330164\nBL              sub_776584                                             ; +0x2e, 0x330166\nMOV             R0, R7                                                 ; +0x32, 0x33016a\nMOV             R1, R5                                                 ; +0x34, 0x33016c\nBL              _ZN17UploadActionPopup15showFailMessageESs; UploadActionPopup::showFailMessage(std::string) ; +0x36, 0x33016e\nMOV             R0, R5                                                 ; +0x3a, 0x330172\nBL              sub_774008                                             ; +0x3c, 0x330174\nLDR.W           R2, [R6,#0x1AC]                                        ; +0x40, 0x330178\nMOVS            R3, #0                                                 ; +0x44, 0x33017c\nSTR.W           R3, [R2,#0x1F0]                                        ; +0x46, 0x33017e\nSTR.W           R3, [R6,#0x1AC]                                        ; +0x4a, 0x330182\nB               loc_330192                                             ; +0x4e, 0x330186\nMOV             R0, R5                                                 ; +0x50, 0x330188\nBL              sub_774008                                             ; +0x52, 0x33018a\nBL              __cxa_end_cleanup                                      ; +0x56, 0x33018e\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x5a, 0x330192\nLDR             R3, [R4]                                               ; +0x5c, 0x330194\nCMP             R2, R3                                                 ; +0x5e, 0x330196\nBEQ             loc_33019E                                             ; +0x60, 0x330198\nBLX             __stack_chk_fail                                       ; +0x62, 0x33019a\nADD             SP, SP, #0x14                                          ; +0x66, 0x33019e\nPOP             {R4-R7,PC}                                             ; +0x68, 0x3301a0", "xrefs": ["`non-virtual thunk to'GJMessageCell::uploadActionFailed @ 0x3301b0"], "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"}