// // ProfilePage::commentDeleteFailed from 0xa5d12c to 0xa5d294 (360 bytes) // // 3 xrefs: // > `non-virtual thunk to'ProfilePage::commentDeleteFailed @ 0xa5d298 // > @ 0x6da50 // > @ 0x148d028 // // This function is hookable on this platform (idp: arm, 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 13:00:12 +0000 // __int64 __fastcall ProfilePage::commentDeleteFailed(ProfilePage *this, int a2, int a3) { __int64 v5; // x0 __int64 v7; // x19 GameLevelManager *v8; // x0 GameLevelManager *v9; // x0 const char *v10; // x1 unsigned int v11; // w19 cocos2d::CCArray *StoredOnlineLevels; // x21 __int64 v13; // x0 __int64 v15[2]; // [xsp+50h] [xbp+50h] BYREF void *v16; // [xsp+60h] [xbp+60h] v5 = GJAccountManager::sharedState(_stack_chk_guard); if ( a2 == *(_DWORD *)(v5 + 352) - *(_DWORD *)(v5 + 356) ) { v15[0] = 0; v15[1] = 0; v16 = nullptr; std::string::__init(v15, "Comment delete failed. Please try again later.", 0x2Eu); v7 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Failed", (char *)v15, (ButtonSprite *)"OK", nullptr); if ( (v15[0] & 1) != 0 ) operator delete(v16); v8 = (GameLevelManager *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 1312LL))(v7); v9 = (GameLevelManager *)GameLevelManager::sharedState(v8); v10 = (char *)this + 745; if ( (*((_BYTE *)this + 744) & 1) != 0 ) v10 = *((const char **)this + 95); v11 = 0; StoredOnlineLevels = (cocos2d::CCArray *)GameLevelManager::getStoredOnlineLevels(v9, v10); if ( StoredOnlineLevels ) { while ( v11 < (unsigned int)cocos2d::CCArray::count(StoredOnlineLevels) ) { v13 = cocos2d::CCArray::objectAtIndex(StoredOnlineLevels, v11); if ( *(_DWORD *)(v13 + 368) == a3 ) { *(_BYTE *)(v13 + 416) = 0; ProfilePage::loadPage(this, *((_DWORD *)this + 215)); return _stack_chk_guard; } ++v11; } } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source