// // MessagesProfilePage::onDeleteSelected from 0xa4a504 to 0xa4a6d0 (460 bytes) // // 3 xrefs: // > @ 0x102e38 // > MessagesProfilePage::init @ 0xa4b700 // > @ 0x1547e90 // // 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:02 +0000 // __int64 __fastcall MessagesProfilePage::onDeleteSelected(MessagesProfilePage *this, cocos2d::CCObject *a2) { GameLevelManager *v3; // x0 const char *v4; // x1 __int64 StoredOnlineLevels; // x0 int *v6; // x0 unsigned int v7; // w1 ButtonSprite **v8; // x20 unsigned __int64 v10; // x0 unsigned __int64 v11; // x2 __int64 v12; // [xsp+30h] [xbp+30h] BYREF __int64 v13; // [xsp+38h] [xbp+38h] void *v14; // [xsp+40h] [xbp+40h] v3 = (GameLevelManager *)GameLevelManager::sharedState(_stack_chk_guard); v4 = (char *)this + 705; if ( (*((_BYTE *)this + 704) & 1) != 0 ) v4 = *((const char **)this + 90); StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v3, v4); if ( StoredOnlineLevels ) { v6 = *(int **)(StoredOnlineLevels + 56); v7 = *v6; if ( *v6 ) { v10 = *((_QWORD *)v6 + 2); v11 = v10 + 8LL * v7 - 8; if ( v10 <= v11 ) { while ( *(_QWORD *)v10 ) { if ( *(_BYTE *)(*(_QWORD *)v10 + 426LL) ) { v12 = 0; v13 = 0; v14 = nullptr; std::string::__init(&v12, "Are you sure you want to delete the selected messages?", 0x46u); v8 = (ButtonSprite **)FLAlertLayer::create( (__int64)this + 664, (cocos2d::CCLabelBMFont *)"Delete", (char *)&v12, (ButtonSprite *)"Back", (ButtonSprite *)"Delete", 0, 380.0, 0.0, 1.0); if ( (v12 & 1) != 0 ) operator delete(v14); ButtonSprite::updateBGImage(v8[77], "GJ_button_06.png"); (*((void (__fastcall **)(ButtonSprite **, __int64))*v8 + 9))(v8, 1); goto LABEL_7; } v10 += 8LL; if ( v11 < v10 ) break; } } } } v12 = 0; v13 = 0; v14 = nullptr; std::string::__init(&v12, "No messages selected.", 0x15u); v8 = (ButtonSprite **)FLAlertLayer::create( 0, (cocos2d::CCLabelBMFont *)"Nothing here...", (char *)&v12, (ButtonSprite *)"OK", nullptr); if ( (v12 & 1) != 0 ) operator delete(v14); LABEL_7: (*((void (__fastcall **)(ButtonSprite **))*v8 + 164))(v8); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source