// // MessagesProfilePage::onDeleteSelected from 0x140476720 to 0x140476a0f (751 bytes) // // 2 xrefs: // > MessagesProfilePage::init @ 0x140475ef6 // > @ 0x1409283f4 // // 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:32:41 +0000 // // Hidden C++ exception states: #wind=3 __int64 __fastcall MessagesProfilePage::onDeleteSelected(__int64 a1) { _BYTE *v2; // rbx __int64 v3; // rcx __int64 StoredOnlineLevels; // rax unsigned int *v5; // rcx __int64 v6; // rax unsigned __int64 v7; // rcx unsigned __int64 v8; // rdx __int64 v9; // rax cocos2d::CCObject *v10; // rbx __int64 v12; // r14 __int64 *v13; // rbx __int64 v14; // rax __int128 v15; // [rsp+50h] [rbp+7h] BYREF __int64 v16; // [rsp+60h] [rbp+17h] __int64 v17; // [rsp+68h] [rbp+1Fh] _BYTE v18[32]; // [rsp+70h] [rbp+27h] BYREF void *v19; // [rsp+B0h] [rbp+67h] void *v20; // [rsp+C0h] [rbp+77h] v2 = (_BYTE *)(a1 + 704); if ( *(_QWORD *)(a1 + 728) > 0xFu ) v2 = *(_BYTE **)v2; v3 = *(_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); v3 = *(_QWORD *)&qword_14090BFB0; } StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v3, v2); if ( StoredOnlineLevels ) { v5 = *(unsigned int **)(StoredOnlineLevels + 56); v6 = *v5; if ( (_DWORD)v6 ) { v7 = *((_QWORD *)v5 + 2); v8 = v7 + 8 * (v6 - 1); if ( v7 <= v8 ) { while ( *(_QWORD *)v7 ) { if ( *(_BYTE *)(*(_QWORD *)v7 + 466LL) ) { v12 = a1 + 664; if ( !a1 ) v12 = 0; v15 = 0; *(_QWORD *)&v15 = sub_14003D460(0x50u); v16 = 70; v17 = 79; strcpy((char *)v15, "Are you sure you want to delete the selected messages?"); v20 = operator new(0x298u); v13 = (__int64 *)FLAlertLayer::FLAlertLayer((__int64)v20); if ( v13 ) { v14 = sub_14003F4F0((__int64)v18, (__int64)&v15); if ( FLAlertLayer::init( (cocos2d::CCLayerColor *)v13, v12, "Delete", v14, (__int64)"Back", (__int64)"Delete", 380.0, 0, 0, 1.0) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v13); } else { (*(void (__fastcall **)(__int64 *, __int64))(*v13 + 8))(v13, 1); v13 = nullptr; } } sub_14003D310((__int64)&v15); ButtonSprite::updateBGImage(v13[77], "GJ_button_06.png"); (*(void (__fastcall **)(__int64 *, __int64))(*v13 + 64))(v13, 1); return (*(__int64 (__fastcall **)(__int64 *))(*v13 + 1064))(v13); } v7 += 8LL; if ( v7 > v8 ) break; } } } } v15 = 0; v16 = 0; v17 = 0; *(_QWORD *)&v15 = sub_14003D460(0x20u); v16 = 21; v17 = 31; strcpy((char *)v15, "No messages selected."); v9 = sub_14003F4F0((__int64)v18, (__int64)&v15); v10 = FLAlertLayer::create(0, (int)"Nothing here...", v9, (__int64)"OK", 0, 1132068864, 0, 0, 1065353216); sub_14003D310((__int64)&v15); return (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v10 + 1064LL))(v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source