// // ProfilePage::commentDeleteFailed from 0x1008a7750 to 0x1008a7898 (328 bytes) // // 2 xrefs: // > sub_1008A78C0 @ 0x1008a78cc // > @ 0x100ba9c00 // // 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::commentDeleteFailed(__int64 a1, __int64 a2, int a3) { __int64 v4; // rax __int64 v5; // r15 __int64 v6; // rax __int64 StoredOnlineLevels; // rax __int64 v8; // r15 unsigned int v9; // r12d __int64 v10; // rax __int128 v11; // [rsp+8h] [rbp-38h] BYREF void *__p; // [rsp+18h] [rbp-28h] v4 = GJAccountManager::sharedState(a1, a2); if ( *(_DWORD *)(v4 + 352) - *(_DWORD *)(v4 + 356) == (_DWORD)a2 ) { __p = operator new(0x30u); *(_QWORD *)&v11 = 49; *((_QWORD *)&v11 + 1) = 46; strcpy((char *)__p, "Comment delete failed. Please try again later."); v5 = sub_100493AB0(0, (__int64)"Failed", &v11, (__int64)"OK", 0); if ( (v11 & 1) != 0 ) operator delete(__p); (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 1312LL))(v5); v6 = GameLevelManager::sharedState(); if ( (*(_BYTE *)(a1 + 744) & 1) != 0 ) { StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v6, *(const char **)(a1 + 760)); if ( !StoredOnlineLevels ) return; } else { StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v6, (const char *)(a1 + 745)); if ( !StoredOnlineLevels ) return; } v8 = StoredOnlineLevels; if ( (unsigned int)sub_1007FEF90(StoredOnlineLevels) ) { v9 = 0; while ( 1 ) { v10 = sub_1007FEFE0(v8, v9); if ( *(_DWORD *)(v10 + 368) == a3 ) break; if ( ++v9 >= (unsigned int)sub_1007FEF90(v8) ) return; } *(_BYTE *)(v10 + 416) = 0; ProfilePage::loadPage((std::string *)a1, *(_DWORD *)(a1 + 860)); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source