// // MessagesProfilePage::onDeleteSelected from 0x5efb48 to 0x5efc46 (254 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:54:26 +0000 // int __fastcall MessagesProfilePage::onDeleteSelected(MessagesProfilePage *this, cocos2d::CCObject *a2) { GameLevelManager *v3; // r0 const char *v4; // r1 int StoredOnlineLevels; // r0 int *v6; // r2 int v7; // r3 int *v8; // r2 int *v9; // r3 int v10; // r1 int v11; // t1 char **v12; // r5 int v14; // [sp+18h] [bp-14h] BYREF int v15; // [sp+1Ch] [bp-10h] int v16; // [sp+20h] [bp-Ch] v3 = (GameLevelManager *)GameLevelManager::sharedState(this); if ( (*((_BYTE *)this + 540) & 1) != 0 ) v4 = *((const char **)this + 137); else v4 = (char *)this + 541; StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v3, v4); if ( StoredOnlineLevels ) { v6 = *(int **)(StoredOnlineLevels + 52); v7 = *v6; if ( *v6 ) { v8 = (int *)v6[3]; v9 = &v8[v7 - 1]; while ( v8 <= v9 ) { v11 = *v8++; v10 = v11; if ( !v11 ) break; if ( *(_BYTE *)(v10 + 326) ) { v14 = 0; v15 = 0; v16 = 0; std::string::__init(&v14, "Are you sure you want to delete the selected messages?", 0x46u); v12 = (char **)FLAlertLayer::create( (int)this + 520, (cocos2d::CCLabelBMFont *)"Delete", (int)&v14, (ButtonSprite *)"Back", (ButtonSprite *)"Delete", 380.0, 0, 0, 1.0); std::string::~string((int)&v14); ButtonSprite::updateBGImage(v12[121], "GJ_button_06.png"); (*((void (__fastcall **)(char **, int))*v12 + 9))(v12, 1); return (*((int (__fastcall **)(char **))*v12 + 164))(v12); } } } } v14 = 0; v15 = 0; v16 = 0; std::string::__init(&v14, "No messages selected.", 0x15u); v12 = (char **)FLAlertLayer::create( 0, (cocos2d::CCLabelBMFont *)"Nothing here...", (int)&v14, (ButtonSprite *)"OK", nullptr); std::string::~string((int)&v14); return (*((int (__fastcall **)(char **))*v12 + 164))(v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source