// // ProfilePage::commentDeleteFailed from 0x10019cc28 to 0x10019cd34 (268 bytes) // // 2 xrefs: // > sub_10019CD50 @ 0x10019cd54 // > @ 0x1007a8ee8 // // 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 // void __fastcall ProfilePage::commentDeleteFailed(ProfilePage *a1, int a2, int a3) { GJAccountManager *v6; // x0 __int64 v7; // x21 GameLevelManager *v8; // x0 std::string *p_m_profileKey; // x1 cocos2d::CCArray *StoredOnlineLevels; // x0 cocos2d::CCArray *v11; // x21 __int64 v12; // x22 __int64 v13; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v15; // [xsp+1Fh] [xbp-21h] v6 = GJAccountManager::sharedState(); if ( v6->m_accountID - v6->m_unkInt1 == a2 ) { sub_100009900(__p, "Comment delete failed. Please try again later."); v7 = sub_1002ABCCC(0, "Failed", __p, "OK", 0); if ( v15 < 0 ) operator delete(__p[0]); (*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 1288LL))(v7); v8 = GameLevelManager::sharedState(); p_m_profileKey = &a1->m_profileKey; if ( a1->m_profileKey.m_data.m_short.shortStorage.__elems_[22] < 0 ) p_m_profileKey = (std::string *)p_m_profileKey->m_data.m_long.capacitym1; StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v8, (const char *)p_m_profileKey); if ( StoredOnlineLevels ) { v11 = StoredOnlineLevels; if ( (unsigned int)sub_10024A36C(StoredOnlineLevels) ) { v12 = 0; while ( 1 ) { v13 = sub_10024A388(v11, v12); if ( *(_DWORD *)(v13 + 368) == a3 ) break; v12 = (unsigned int)(v12 + 1); if ( (unsigned int)v12 >= (unsigned int)sub_10024A36C(v11) ) return; } *(_BYTE *)(v13 + 416) = 0; ProfilePage::loadPage(a1, a1->m_page); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source