// // MPLobbyLayer::uploadActionFailed from 0xb06300 to 0xb064b0 (432 bytes) // // 3 xrefs: // > `non-virtual thunk to'MPLobbyLayer::uploadActionFailed @ 0xb064b4 // > @ 0x93fb8 // > @ 0x14b11e0 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:01:24 +0000 // __int64 __fastcall MPLobbyLayer::uploadActionFailed(MPLobbyLayer *this, int a2, int a3) { const char *v6; // x22 __int64 v7; // x24 size_t v8; // x0 size_t v9; // x20 unsigned __int64 v10; // x21 char *v11; // x3 __int64 v12[2]; // [xsp+48h] [xbp+48h] BYREF void *v13; // [xsp+58h] [xbp+58h] __int64 v14; // [xsp+60h] [xbp+60h] BYREF size_t v15; // [xsp+68h] [xbp+68h] void *v16; // [xsp+70h] [xbp+70h] if ( *((_DWORD *)this + 112) != a2 || !*((_QWORD *)this + 58) ) return _stack_chk_guard; v12[0] = 0; v12[1] = 0; v13 = nullptr; std::string::__init(v12, "Unknown action failed", 0x15u); if ( a3 == 64 ) std::string::assign(v12, "Could not exit game", 0x13u); v6 = (char *)v12 + 1; v7 = *((_QWORD *)this + 58); if ( (v12[0] & 1) != 0 ) v6 = (const char *)v13; v14 = 0; v15 = 0; v16 = nullptr; v8 = strlen(v6); v9 = v8; if ( v8 > 0xFFFFFFFFFFFFFFEFLL ) sub_62EC5C(); if ( v8 <= 0x16 ) { LOBYTE(v14) = 2 * v8; v11 = (char *)&v14 + 1; if ( !v8 ) goto LABEL_12; } else { v10 = (v8 + 16) & 0xFFFFFFFFFFFFFFF0LL; v11 = (char *)operator new(v10); v16 = v11; v15 = v9; v14 = v10 | 1; } v11 = (char *)memcpy(v11, v6, v9); LABEL_12: v11[v9] = 0; UploadActionPopup::showFailMessage(v7, (char *)&v14); if ( (v14 & 1) != 0 ) operator delete(v16); if ( (v12[0] & 1) != 0 ) operator delete(v13); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source