// // ProfilePage::commentDeleteFailed from 0x14055a880 to 0x14055aa76 (502 bytes) // // 2 xrefs: // > @ 0x1407d9098 // > @ 0x14092c0c0 // // 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 11:34:12 +0000 // // Hidden C++ exception states: #wind=2 void __fastcall ProfilePage::commentDeleteFailed(__int64 a1, int a2, int a3) { __int64 v6; // rax unsigned int v7; // edi __int64 v8; // rax cocos2d::CCObject *v9; // rbx _BYTE *v10; // rbx __int64 v11; // rcx cocos2d::CCArray *StoredOnlineLevels; // rax cocos2d::CCArray *v13; // rbx struct cocos2d::CCObject *v14; // rax __int128 v15; // [rsp+58h] [rbp-50h] BYREF __int64 v16; // [rsp+68h] [rbp-40h] __int64 v17; // [rsp+70h] [rbp-38h] _BYTE v18[40]; // [rsp+78h] [rbp-30h] BYREF void *v19; // [rsp+C8h] [rbp+20h] v6 = GJAccountManager::sharedState(); if ( a2 == *(_DWORD *)(v6 + 360) - *(_DWORD *)(v6 + 364) ) { v15 = 0; v7 = 0; *(_QWORD *)&v15 = sub_14003D460(0x30u); v16 = 46; v17 = 47; strcpy((char *)v15, "Comment delete failed. Please try again later."); v8 = sub_14003F4F0((__int64)v18, (__int64)&v15); v9 = FLAlertLayer::create(0, (int)"Failed", v8, (__int64)"OK", 0, 1132068864, 0, 0, 1065353216); sub_14003D310((__int64)&v15); (*(void (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v9 + 1064LL))(v9); v10 = (_BYTE *)(a1 + 64); if ( *(_QWORD *)(a1 + 88) > 0xFu ) v10 = *(_BYTE **)v10; v11 = *(_QWORD *)&qword_14090BFB0; if ( !*(_QWORD *)&qword_14090BFB0 ) { v19 = operator new(0x690u); *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v19); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0); v11 = *(_QWORD *)&qword_14090BFB0; } StoredOnlineLevels = (cocos2d::CCArray *)GameLevelManager::getStoredOnlineLevels(v11, v10); v13 = StoredOnlineLevels; if ( StoredOnlineLevels ) { if ( cocos2d::CCArray::count(StoredOnlineLevels) ) { while ( 1 ) { v14 = cocos2d::CCArray::objectAtIndex(v13, v7); if ( *((_DWORD *)v14 + 96) == a3 ) break; if ( ++v7 >= cocos2d::CCArray::count(v13) ) return; } *((_BYTE *)v14 + 440) = 0; ProfilePage::loadPage(a1 - 680, *(_DWORD *)(a1 + 188)); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source