// // ProfilePage::commentDeleteFailed from 0x4c7f3c to 0x4c7ff4 (184 bytes) // // 1 xrefs: // > `non-virtual thunk to'ProfilePage::commentDeleteFailed @ 0x4c8008 // // 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 ProfilePage::commentDeleteFailed(ProfilePage *a1, int a2, int a3) { GJAccountManager *v6; // r0 FLAlertLayer *v7; // r6 GameLevelManager *v8; // r0 cocos2d::CCArray *StoredOnlineLevels; // r6 unsigned int i; // r4 int v11; // r0 int m_page; // r1 _BYTE v13[4]; // [sp+10h] [bp-8h] BYREF v6 = GJAccountManager::sharedState(); if ( a2 == v6->m_accountID - v6->m_unkInt1 ) { sub_776584((int)v13, "Comment delete failed. Please try again later."); v7 = FLAlertLayer::create(0, (int)"Failed", (int)v13, (int)"OK", 0); sub_774008(v13); v7->show(v7); v8 = GameLevelManager::sharedState(); StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v8, (const char *)a1->m_profileKey.m_data.m_data); if ( StoredOnlineLevels ) { for ( i = 0; i < cocos2d::CCArray::count(StoredOnlineLevels); ++i ) { v11 = cocos2d::CCArray::objectAtIndex(StoredOnlineLevels, i); if ( *(_DWORD *)(v11 + 272) == a3 ) { m_page = a1->m_page; *(_BYTE *)(v11 + 300) = 0; ProfilePage::loadPage(a1, m_page); return; } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source