// // ProfilePage::commentDeleteFailed from 0x8feee8 to 0x8ff094 (428 bytes) // // 3 xrefs: // > `non-virtual thunk to'ProfilePage::commentDeleteFailed @ 0x8ff098 // > @ 0x4e528 // > @ 0x11a69f8 // // 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 *v5; // x0 FLAlertLayer *v6; // x19 void *v7; // x0 FLAlertLayer_vtbl *v8; // x1 FLAlertLayer *v9; // x0 unsigned int v10; // w19 GameLevelManager *v11; // x0 cocos2d::CCArray *StoredOnlineLevels; // x21 __int64 v13; // x2 int m_page; // w1 unsigned int *v15; // x2 int v16; // w1 __int64 v18; // [xsp+60h] [xbp+60h] BYREF v5 = GJAccountManager::sharedState(); if ( a2 == v5->m_accountID - v5->m_unkInt1 ) { sub_D153B8((int)&v18, "Comment delete failed. Please try again later."); v6 = FLAlertLayer::create(0, (__int64)"Failed", (__int64)&v18); v7 = (void *)(v18 - 24); if ( (__int64 *)(v18 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v15 = (unsigned int *)(v18 - 8); do v16 = __ldaxr(v15); while ( __stlxr(v16 - 1, v15) ); } else { v16 = *(_DWORD *)(v18 - 8); *(_DWORD *)(v18 - 8) = v16 - 1; } if ( v16 <= 0 ) operator delete(v7); } v8 = v6->cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; v9 = v6; v10 = 0; v8->show(v9); v11 = GameLevelManager::sharedState(); StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v11, (const char *)a1->m_profileKey.m_data.m_data); if ( StoredOnlineLevels ) { while ( v10 < (unsigned int)cocos2d::CCArray::count(StoredOnlineLevels) ) { v13 = cocos2d::CCArray::objectAtIndex(StoredOnlineLevels, v10); if ( *(_DWORD *)(v13 + 336) == a3 ) { m_page = a1->m_page; *(_BYTE *)(v13 + 368) = 0; ProfilePage::loadPage(a1, m_page); return; } ++v10; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source