// // FRequestProfilePage::onDeleteSelected from 0x1001b6ae0 to 0x1001b6c28 (328 bytes) // // 1 xrefs: // > FRequestProfilePage::init @ 0x1001b647c // // 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 __fastcall FRequestProfilePage::onDeleteSelected(FRequestProfilePage *a1, cocos2d::CCObject *a2) { GameLevelManager *v3; // x0 std::string *p_m_key; // x1 cocos2d::CCArray *StoredOnlineLevels; // x0 cocos2d::ccArray *data; // x8 __int64 num; // x9 unsigned __int64 arr; // x8 unsigned __int64 v9; // x9 ButtonSprite **v10; // x19 void *v11[2]; // [xsp+0h] [xbp-40h] BYREF char v12; // [xsp+17h] [xbp-29h] void *__p[2]; // [xsp+18h] [xbp-28h] BYREF char v14; // [xsp+2Fh] [xbp-11h] v3 = GameLevelManager::sharedState(); p_m_key = &a1->m_key; if ( a1->m_key.m_data.m_short.shortStorage.__elems_[22] < 0 ) p_m_key = (std::string *)p_m_key->m_data.m_long.capacitym1; StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v3, (const char *)p_m_key); if ( StoredOnlineLevels ) { data = StoredOnlineLevels->data; num = data->num; if ( (_DWORD)num ) { arr = (unsigned __int64)data->arr; v9 = arr + 8 * num - 8; while ( *(_QWORD *)arr ) { if ( (*(_BYTE *)(*(_QWORD *)arr + 689LL) & 1) != 0 ) { sub_100009900(v11, "Are you sure you want to delete the selected requests?"); v10 = (ButtonSprite **)FLAlertLayer::create( &a1->FLAlertLayerProtocol, "Delete", v11, "Back", "Delete", 0, 380.0, 0.0, 1.0); if ( v12 < 0 ) operator delete(v11[0]); ButtonSprite::updateBGImage(v10[75], "GJ_button_06.png"); (*(void (__fastcall **)(ButtonSprite **, __int64))&(*v10)->m_fVertexZ)(v10, 3); goto LABEL_14; } arr += 8LL; if ( arr > v9 ) break; } } } sub_100009900(__p, "No requests selected."); v10 = (ButtonSprite **)sub_1002ABCCC(0, "Nothing here...", __p, "OK", 0); if ( v14 < 0 ) operator delete(__p[0]); LABEL_14: (*(void (__fastcall **)(ButtonSprite **))&(*v10)[1].m_fTextureTop)(v10); }
GD Web Decomp Icon

GD Web Decomp

Raw Source