// // SetupShaderEffectPopup::setupPixelate from 0x1405e4310 to 0x1405e49a1 (1681 bytes) // // 2 xrefs: // > SetupShaderEffectPopup::init @ 0x1405dfaea // > @ 0x14092ee50 // // 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:35:01 +0000 // // Hidden C++ exception states: #wind=3 double __fastcall SetupShaderEffectPopup::setupPixelate(__int64 a1) { __int64 v2; // rcx __int64 v3; // rax __int64 v4; // rax __int64 v5; // rax __int64 v6; // rax __int64 v7; // rax __int64 v8; // rax __int64 v9; // rax __int64 v10; // rax int v11; // eax __int64 v12; // rax int v13; // r8d int v14; // r9d __int128 *v16; // [rsp+48h] [rbp-59h] BYREF __int128 *v17; // [rsp+50h] [rbp-51h] BYREF __int128 v18; // [rsp+58h] [rbp-49h] BYREF __int64 v19; // [rsp+68h] [rbp-39h] __int64 v20; // [rsp+70h] [rbp-31h] __int128 v21; // [rsp+78h] [rbp-29h] BYREF __int64 v22; // [rsp+88h] [rbp-19h] __int64 v23; // [rsp+90h] [rbp-11h] char v24; // [rsp+110h] [rbp+6Fh] BYREF float v25; // [rsp+118h] [rbp+77h] BYREF float v26; // [rsp+11Ch] [rbp+7Bh] __int128 *v27; // [rsp+120h] [rbp+7Fh] BYREF v19 = 14; v20 = 15; strcpy((char *)&v18, "Setup Pixelate"); HIBYTE(v18) = 0; SetupTriggerPopup::addTitle(a1, &v18); v27 = &v18; v18 = 0; v19 = 0; v20 = 0; *(_QWORD *)&v18 = sub_14003D460(0xE0u); v19 = 208; v20 = 223; strcpy( (char *)v18, "Pixelates the screen.\n" "TargetX and TargetY define how strong the effect is.\n" "FadeTime is time until final state is reached.\n" "Snap Grid makes the pixels align with the game camera."); v21 = 0; v22 = 4; v23 = 15; strcpy((char *)&v21, "Help"); SetupTriggerPopup::addHelpButton(a1, &v21, &v18); v3 = cocos2d::CCDirector::sharedDirector(v2); cocos2d::CCDirector::getWinSize(v3, &v25); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v24, v25 * 0.5, (float)(v26 * 0.5) + 95.0); v16 = &v21; v22 = 8; v23 = 15; v21 = 0x3A58746567726154uLL; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v17, -100.0, 0.0); cocos2d::CCPoint::operator+(&v24, &v27, v4); SetupTriggerPopup::createValueControl(a1, 180, (unsigned int)&v21, (unsigned int)&v27, 1058642330, 0, 1092616192); v17 = &v21; v22 = 8; v23 = 15; v21 = 0x3A59746567726154uLL; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v16, 100.0, 0.0); cocos2d::CCPoint::operator+(&v24, &v27, v5); SetupTriggerPopup::createValueControl(a1, 189, (unsigned int)&v21, (unsigned int)&v27, 1058642330, 0, 1092616192); v17 = &v18; *((_QWORD *)&v18 + 1) = 58; v19 = 9; v20 = 15; *(_QWORD *)&v18 = 0x656D695465646146LL; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v16, -100.0, -40.0); cocos2d::CCPoint::operator+(&v24, &v27, v6); SetupTriggerPopup::createValueControl(a1, 10, (unsigned int)&v18, (unsigned int)&v27, 1058642330, 0, 0); v17 = &v18; v18 = 0; v19 = 5; v20 = 15; strcpy((char *)&v18, "Use X"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v16, 45.0, -45.0); cocos2d::CCPoint::operator+(&v24, &v27, v7); SetupTriggerPopup::createToggleValueControl(a1, 188, (unsigned int)&v18, (unsigned int)&v27, 0, 0, 0, 1065353216); v17 = &v18; v18 = 0; v19 = 5; v20 = 15; strcpy((char *)&v18, "Use Y"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v16, 130.0, -45.0); cocos2d::CCPoint::operator+(&v24, &v27, v8); SetupTriggerPopup::createToggleValueControl(a1, 190, (unsigned int)&v18, (unsigned int)&v27, 0, 0, 0, 1065353216); v17 = &v18; *((_QWORD *)&v18 + 1) = 100; v19 = 9; v20 = 15; *(_QWORD *)&v18 = 0x6972472070616E53LL; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v16, -155.0, -85.0); cocos2d::CCPoint::operator+(&v24, &v27, v9); SetupTriggerPopup::createToggleValueControl(a1, 194, (unsigned int)&v18, (unsigned int)&v27, 0, 0, 0, 1065353216); v17 = &v18; *((_QWORD *)&v18 + 1) = 29541; v19 = 10; v20 = 15; *(_QWORD *)&v18 = 0x6764452064726148LL; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v16, 45.0, -85.0); cocos2d::CCPoint::operator+(&v24, &v27, v10); SetupTriggerPopup::createToggleValueControl(a1, 515, (unsigned int)&v18, (unsigned int)&v27, 0, 0, 0, 1065353216); v27 = &v21; v22 = 8; v23 = 15; v21 = 0x65766974616C6552uLL; cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v17, (float)((float)((float)(*(float *)(a1 + 732) * 0.5) + (float)(v25 * 0.5)) - 72.0) - 90.0, (float)((float)(v26 * 0.5) - (float)(*(float *)(a1 + 736) * 0.5)) + 20.0); SetupTriggerPopup::createToggleValueControl(a1, 514, (unsigned int)&v21, v11, 0, 0, 0, 1065353216); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v17, 0.0, -120.0); cocos2d::CCPoint::operator+(&v24, &v27, v12); return SetupTriggerPopup::createEasingControls(a1, (unsigned int)&v27, v13, v14, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source