// // ProfilePage::uploadActionFinished from 0x1403c4e30 to 0x1403c4fe6 (438 bytes) // // 2 xrefs: // > @ 0x1405cabb8 // > @ 0x1406d77f0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=1 void ProfilePage::uploadActionFinished(ProfilePage *a1, int a2, int a3) { _BYTE *v5; // rbx void **v6; // rdx size_t v7; // r8 void *v8; // rcx __int128 v9; // [rsp+20h] [rbp-58h] BYREF __int64 v10; // [rsp+30h] [rbp-48h] __int64 v11; // [rsp+38h] [rbp-40h] void *Block[2]; // [rsp+48h] [rbp-30h] BYREF __int64 v13; // [rsp+58h] [rbp-20h] unsigned __int64 v14; // [rsp+60h] [rbp-18h] if ( a2 == a1->m_uIndexInArray && *(_QWORD *)&a1->m_sInverse.b ) { *(_OWORD *)Block = 0; v5 = sub_14003AA10(0x20u); Block[0] = v5; v13 = 23; v14 = 31; strcpy(v5, "Unknown action finished"); switch ( a3 ) { case 30: v13 = 15; memmove(v5, &qword_140571158, 0xFu); v5[15] = 0; break; case 33: v13 = 14; memmove(v5, "Friend removed", 0xEu); v5[14] = 0; break; case 34: v13 = 12; memmove(v5, "User blocked", 0xCu); v5[12] = 0; break; } v6 = Block; if ( v14 > 0xF ) v6 = (void **)Block[0]; v9 = 0; v10 = 0; v11 = 0; v7 = -1; do ++v7; while ( *((_BYTE *)v6 + v7) ); sub_14003A930(&v9, v6, v7); UploadActionPopup::showSuccessMessage(*(_QWORD *)&a1->m_sInverse.b, &v9); if ( v14 > 0xF ) { v8 = Block[0]; if ( v14 + 1 >= 0x1000 ) { v8 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v8 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v8); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source