// // FRequestProfilePage::onDeleteSelected from 0x4c1f94 to 0x4c2082 (238 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void FRequestProfilePage::onDeleteSelected(FRequestProfilePage *a1, cocos2d::CCObject *a2) { GameLevelManager *v3; // r0 cocos2d::CCArray *StoredOnlineLevels; // r0 cocos2d::ccArray *data; // r2 unsigned int num; // r3 cocos2d::CCObject **arr; // r2 cocos2d::CCObject **v8; // r3 int v9; // r1 int v10; // t1 FLAlertLayer *v11; // r6 FLAlertLayer *v12; // r5 char v13[4]; // [sp+20h] [bp-8h] BYREF v3 = GameLevelManager::sharedState(); StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v3, (const char *)a1->m_key.m_data.m_data); if ( StoredOnlineLevels ) { data = StoredOnlineLevels->data; num = data->num; if ( data->num ) { arr = data->arr; v8 = &arr[num] + 0x3FFFFFFF; while ( arr <= v8 ) { v10 = (int)*arr++; v9 = v10; if ( !v10 ) break; if ( *(_BYTE *)(v9 + 453) ) { sub_776584((int)v13, "Are you sure you want to delete the selected requests?"); v12 = FLAlertLayer::create( (int)&a1->FLAlertLayerProtocol, (int)"Delete", (int)v13, (int)"Back", (int)"Delete", 380.0, 0, 0, 1.0); sub_774008(v13); ButtonSprite::updateBGImage(v12->m_button2, "GJ_button_06.png"); v12->setTag(v12, 3); v12->show(v12); return; } } } } sub_776584((int)v13, "No requests selected."); v11 = FLAlertLayer::create(0, (int)"Nothing here...", (int)v13, (int)"OK", 0); sub_774008(v13); v11->show(v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source