// // ProfilePage::uploadActionFinished from 0x1008a5a10 to 0x1008a5b92 (386 bytes) // // 2 xrefs: // > sub_1008A5BE0 @ 0x1008a5bec // > @ 0x100ba9c10 // // This function is hookable on this platform (idp: pc, 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 12:37:16 +0000 // void __fastcall ProfilePage::uploadActionFinished(__int64 a1, int a2, int a3, double a4, __m128d a5) { unsigned int v6; // eax int v7; // ecx const char *data; // r12 __int64 v9; // r14 size_t v10; // rax size_t v11; // r13 char *v12; // r15 size_t v13; // r14 int v14; // [rsp+8h] [rbp-68h] __int64 v15; // [rsp+10h] [rbp-60h] _QWORD __dst[2]; // [rsp+18h] [rbp-58h] BYREF void *__p; // [rsp+28h] [rbp-48h] std::string v18; // [rsp+30h] [rbp-40h] BYREF if ( *(_DWORD *)(a1 + 736) == a2 ) { if ( !*(_QWORD *)(a1 + 872) ) { LABEL_21: if ( a3 == 41 ) ProfilePage::onUpdate(a1, a4, a5); return; } v18.__r_.__value_.__r.__words[2] = (std::string::size_type)operator new(0x1Au); v18.__r_.__value_.__r.__words[0] = 27; v18.__r_.__value_.__l.__size_ = 23; a4 = *(double *)"Unknown action finished"; strcpy(v18.__r_.__value_.__l.__data_, "Unknown action finished"); v14 = a3; v6 = a3 - 36; if ( (unsigned int)(a3 - 36) < 6 ) { v7 = 57; if ( _bittest(&v7, v6) ) std::string::assign(&v18, (const std::string::value_type *)&unk_100A13244 + *((int *)&unk_100A13244 + v6)); } if ( (*(_BYTE *)&v18.__r_.__value_.__s.0 & 1) != 0 ) data = v18.__r_.__value_.__l.__data_; else data = v18.__r_.__value_.__s.__data_; v9 = *(_QWORD *)(a1 + 872); v10 = strlen(data); if ( v10 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v11 = v10; if ( v10 >= 0x17 ) { v15 = *(_QWORD *)(a1 + 872); v13 = 26; if ( (v10 | 7) != 0x17 ) v13 = (v10 | 7) + 1; v12 = (char *)operator new(v13); __p = v12; __dst[0] = v13 | 1; __dst[1] = v11; v9 = v15; } else { LOBYTE(__dst[0]) = 2 * v10; v12 = (char *)__dst + 1; if ( !v10 ) goto LABEL_17; } memmove(v12, data, v11); LABEL_17: v12[v11] = 0; UploadActionPopup::showSuccessMessage(v9, (__int64)__dst, 1.817838931840398e-152); a3 = v14; if ( (__dst[0] & 1) != 0 ) operator delete(__p); if ( (*(_BYTE *)&v18.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v18.__r_.__value_.__l.__data_); goto LABEL_21; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source