{"type": "func", "start": 7885908, "end": 7886028, "name": "EditorSoundConfigInfoLayer::uploadActionFailed", "pseudocode": "// \n// EditorSoundConfigInfoLayer::uploadActionFailed from 0x785454 to 0x7854cc (120 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'EditorSoundConfigInfoLayer::uploadActionFailed @ 0x7854d8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:59:32 +0000\n// \n\nint __fastcall EditorSoundConfigInfoLayer::uploadActionFailed(EditorSoundConfigInfoLayer *this, int a2, int a3)\n{\n  int result; // r0\n  int v5; // r3\n  int v6; // r7\n  int v7[3]; // [sp+0h] [bp-14h] BYREF\n\n  result = _stack_chk_guard;\n  if ( a3 == 73 )\n  {\n    v5 = *((_DWORD *)this + 187);\n    if ( v5 )\n    {\n      if ( *(_DWORD *)(v5 + 264) == a2 )\n      {\n        v6 = *((_DWORD *)this + 201);\n        if ( v6 )\n        {\n          memset(v7, 0, sizeof(v7));\n          std::string::__init(v7, \"Failed. Please try again later.\", 0x1Fu);\n          UploadActionPopup::showFailMessage(v6, (const char *)v7);\n          result = std::string::~string((int)v7);\n          *(_DWORD *)(*((_DWORD *)this + 201) + 520) = 0;\n          *((_DWORD *)this + 201) = 0;\n        }\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::uploadActionFailed from 0x785454 to 0x7854cc (120 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'EditorSoundConfigInfoLayer::uploadActionFailed @ 0x7854d8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:59:32 +0000\n; \nLDR             R3, =(__stack_chk_guard_ptr - 0x78545E)                ; +0x0, 0x785454\nCMP             R2, #0x49 ; 'I'                                        ; +0x2, 0x785456\nPUSH            {R4-R7,LR}                                             ; +0x4, 0x785458\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x6, 0x78545a\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x8, 0x78545c\nMOV             R6, R0                                                 ; +0xa, 0x78545e\nSUB             SP, SP, #0x14                                          ; +0xc, 0x785460\nLDR             R0, [R3]                                               ; +0xe, 0x785462\nMOV             R5, R3                                                 ; +0x10, 0x785464\nSTR             R0, [SP,#0x14+var_8]                                   ; +0x12, 0x785466\nBNE             loc_7854BC                                             ; +0x14, 0x785468\nLDR.W           R3, [R6,#0x2EC]                                        ; +0x16, 0x78546a\nCBZ             R3, loc_7854BC                                         ; +0x1a, 0x78546e\nLDR.W           R3, [R3,#0x108]                                        ; +0x1c, 0x785470\nCMP             R3, R1                                                 ; +0x20, 0x785474\nBNE             loc_7854BC                                             ; +0x22, 0x785476\nLDR.W           R7, [R6,#0x324]                                        ; +0x24, 0x785478\nCBZ             R7, loc_7854BC                                         ; +0x28, 0x78547c\nLDR             R1, =(aFailedPleaseTr - 0x78548A); \"Failed. Please try again later.\" ; +0x2a, 0x78547e\nMOV             R0, SP                                                 ; +0x2c, 0x785480\nMOVS            R2, #0x1F                                              ; +0x2e, 0x785482\nMOVS            R3, #0                                                 ; +0x30, 0x785484\nADD             R1, PC; \"Failed. Please try again later.\"              ; +0x32, 0x785486\nSTR             R3, [SP,#0x14+var_14]                                  ; +0x34, 0x785488\nSTR             R3, [SP,#0x14+var_10]                                  ; +0x36, 0x78548a\nMOV             R4, SP                                                 ; +0x38, 0x78548c\nSTR             R3, [SP,#0x14+var_C]                                   ; +0x3a, 0x78548e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x3c, 0x785490\nMOV             R0, R7                                                 ; +0x40, 0x785494\nMOV             R1, SP                                                 ; +0x42, 0x785496\nBL              _ZN17UploadActionPopup15showFailMessageENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; UploadActionPopup::showFailMessage(std::string) ; +0x44, 0x785498\nMOV             R0, SP                                                 ; +0x48, 0x78549c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x4a, 0x78549e\nLDR.W           R2, [R6,#0x324]                                        ; +0x4e, 0x7854a2\nMOVS            R3, #0                                                 ; +0x52, 0x7854a6\nSTR.W           R3, [R2,#0x208]                                        ; +0x54, 0x7854a8\nSTR.W           R3, [R6,#0x324]                                        ; +0x58, 0x7854ac\nB               loc_7854BC                                             ; +0x5c, 0x7854b0\nMOV             R0, R4                                                 ; +0x5e, 0x7854b2\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x60, 0x7854b4\nBL              __cxa_end_cleanup                                      ; +0x64, 0x7854b8\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x68, 0x7854bc\nLDR             R3, [R5]                                               ; +0x6a, 0x7854be\nCMP             R2, R3                                                 ; +0x6c, 0x7854c0\nBEQ             loc_7854C8                                             ; +0x6e, 0x7854c2\nBLX             __stack_chk_fail                                       ; +0x70, 0x7854c4\nADD             SP, SP, #0x14                                          ; +0x74, 0x7854c8\nPOP             {R4-R7,PC}                                             ; +0x76, 0x7854ca", "xrefs": ["`non-virtual thunk to'EditorSoundConfigInfoLayer::uploadActionFailed @ 0x7854d8"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}