{"type": "func", "start": 4901980, "end": 4902078, "name": "FriendRequestPopup::uploadActionFailed", "pseudocode": "// \n// FriendRequestPopup::uploadActionFailed from 0x4acc5c to 0x4accbe (98 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'FriendRequestPopup::uploadActionFailed @ 0x4acccc\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 FriendRequestPopup::uploadActionFailed(FriendRequestPopup *a1, int a2, int a3)\n{\n  GJFriendRequest *m_request; // r2\n  UploadActionPopup *m_popup; // r6\n  int v5; // r2\n  int v6; // r3\n  char *v7; // [sp+8h] [bp-8h] BYREF\n\n  v7 = (char *)a3;\n  m_request = a1->m_request;\n  if ( m_request && (m_request->m_requestID == a2 || m_request->m_accountID == a2) )\n  {\n    m_popup = a1->m_popup;\n    if ( m_popup )\n    {\n      sub_776584((int)&v7, \"Failed. Please try again later.\");\n      UploadActionPopup::showFailMessage((int)m_popup, &v7, v5, v6);\n      sub_774008(&v7);\n    }\n  }\n}", "assembly": "; \n; FriendRequestPopup::uploadActionFailed from 0x4acc5c to 0x4accbe (98 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'FriendRequestPopup::uploadActionFailed @ 0x4acccc\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, 0x4acc5c\nLDR             R3, =(__stack_chk_guard_ptr - 0x4ACC64)                ; +0x2, 0x4acc5e\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x4, 0x4acc60\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x6, 0x4acc62\nLDR             R2, [R3]                                               ; +0x8, 0x4acc64\nMOV             R5, R3                                                 ; +0xa, 0x4acc66\nSTR             R2, [SP,#0x10+var_4]                                   ; +0xc, 0x4acc68\nLDR.W           R2, [R0,#0x200]                                        ; +0xe, 0x4acc6a\nCBZ             R2, loc_4ACCAE                                         ; +0x12, 0x4acc6e\nLDR.W           R3, [R2,#0x108]                                        ; +0x14, 0x4acc70\nCMP             R3, R1                                                 ; +0x18, 0x4acc74\nBEQ             loc_4ACC80                                             ; +0x1a, 0x4acc76\nLDR.W           R3, [R2,#0x10C]                                        ; +0x1c, 0x4acc78\nCMP             R3, R1                                                 ; +0x20, 0x4acc7c\nBNE             loc_4ACCAE                                             ; +0x22, 0x4acc7e\nLDR.W           R6, [R0,#0x20C]                                        ; +0x24, 0x4acc80\nCBZ             R6, loc_4ACCAE                                         ; +0x28, 0x4acc84\nADD             R4, SP, #0x10+var_8                                    ; +0x2a, 0x4acc86\nLDR             R1, =(aFailedPleaseTr - 0x4ACC90); \"Failed. Please try again later.\" ; +0x2c, 0x4acc88\nADD             R2, SP, #0x10+var_C                                    ; +0x2e, 0x4acc8a\nADD             R1, PC; \"Failed. Please try again later.\"              ; +0x30, 0x4acc8c\nMOV             R0, R4; int                                            ; +0x32, 0x4acc8e\nBL              sub_776584                                             ; +0x34, 0x4acc90\nMOV             R0, R6                                                 ; +0x38, 0x4acc94\nMOV             R1, R4                                                 ; +0x3a, 0x4acc96\nBL              _ZN17UploadActionPopup15showFailMessageESs; UploadActionPopup::showFailMessage(std::string) ; +0x3c, 0x4acc98\nMOV             R0, R4                                                 ; +0x40, 0x4acc9c\nBL              sub_774008                                             ; +0x42, 0x4acc9e\nB               loc_4ACCAE                                             ; +0x46, 0x4acca2\nMOV             R0, R4                                                 ; +0x48, 0x4acca4\nBL              sub_774008                                             ; +0x4a, 0x4acca6\nBL              __cxa_end_cleanup                                      ; +0x4e, 0x4accaa\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x52, 0x4accae\nLDR             R3, [R5]                                               ; +0x54, 0x4accb0\nCMP             R2, R3                                                 ; +0x56, 0x4accb2\nBEQ             loc_4ACCBA                                             ; +0x58, 0x4accb4\nBLX             __stack_chk_fail                                       ; +0x5a, 0x4accb6\nADD             SP, SP, #0x10                                          ; +0x5e, 0x4accba\nPOP             {R4-R6,PC}                                             ; +0x60, 0x4accbc", "xrefs": ["`non-virtual thunk to'FriendRequestPopup::uploadActionFailed @ 0x4acccc"], "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"}