// // SetupShaderEffectPopup::setupSepia from 0x1405e8400 to 0x1405e8724 (804 bytes) // // 2 xrefs: // > SetupShaderEffectPopup::init @ 0x1405dfb33 // > @ 0x14092eea4 // // 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:02 +0000 // // Hidden C++ exception states: #wind=3 double __fastcall SetupShaderEffectPopup::setupSepia(__int64 a1) { __int64 v2; // rcx __int64 v3; // rax __int64 v4; // rax __int64 v5; // rax __int64 v6; // rax int v7; // r8d int v8; // r9d __int128 *v10; // [rsp+48h] [rbp-29h] BYREF __int128 *v11; // [rsp+50h] [rbp-21h] BYREF __int128 v12; // [rsp+58h] [rbp-19h] BYREF __int64 v13; // [rsp+68h] [rbp-9h] __int64 v14; // [rsp+70h] [rbp-1h] __int128 v15; // [rsp+78h] [rbp+7h] BYREF __int64 v16; // [rsp+88h] [rbp+17h] __int128 v17; // [rsp+90h] [rbp+1Fh] char v18; // [rsp+E0h] [rbp+6Fh] BYREF float v19; // [rsp+E8h] [rbp+77h] BYREF float v20; // [rsp+ECh] [rbp+7Bh] __int128 *v21; // [rsp+F0h] [rbp+7Fh] BYREF v13 = 11; v14 = 15; *(_QWORD *)&v12 = 0x6553207075746553LL; *((_QWORD *)&v12 + 1) = 6383984; SetupTriggerPopup::addTitle(a1, &v12); v21 = &v12; v12 = 0; v13 = 0; v14 = 0; *(_QWORD *)&v12 = sub_14003D460(0xA0u); v13 = 151; v14 = 159; strcpy( (char *)v12, "Applies a sepia filter to the screen.\n" "Target is how much of the filter to apply.\n" "FadeTime is time until final state is reached."); v15 = 0; v16 = 4; *(_QWORD *)&v17 = 15; strcpy((char *)&v15, "Help"); SetupTriggerPopup::addHelpButton(a1, &v15, &v12); v3 = cocos2d::CCDirector::sharedDirector(v2); cocos2d::CCDirector::getWinSize(v3, &v19); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v18, v19 * 0.5, (float)(v20 * 0.5) + 85.0); v10 = &v12; v13 = 7; v14 = 15; v12 = 0x3A746567726154uLL; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v11, -100.0, 0.0); cocos2d::CCPoint::operator+(&v18, &v21, v4); SetupTriggerPopup::createValueControl(a1, 176, (unsigned int)&v12, (unsigned int)&v21, 1060320051, 0, 0); v11 = &v12; *((_QWORD *)&v12 + 1) = 58; v13 = 9; v14 = 15; *(_QWORD *)&v12 = 0x656D695465646146LL; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v10, 100.0, 0.0); cocos2d::CCPoint::operator+(&v18, &v21, v5); SetupTriggerPopup::createValueControl(a1, 10, (unsigned int)&v12, (unsigned int)&v21, 1060320051, 0, 0); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v11, 0.0, -100.0); cocos2d::CCPoint::operator+(&v18, &v21, v6); return SetupTriggerPopup::createEasingControls(a1, (unsigned int)&v21, v7, v8, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source