// // SetupShaderEffectPopup::setupInvertColor from 0x68cd74 to 0x68d0a6 (818 bytes) // // 1 xrefs: // > SetupShaderEffectPopup::init @ 0x68de9c // // 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:56:09 +0000 // int __fastcall SetupShaderEffectPopup::setupInvertColor(cocos2d::CCDictionary **this) { cocos2d::CCDirector *v2; // r0 float v4[2]; // [sp+14h] [bp-40h] BYREF _BYTE v5[8]; // [sp+1Ch] [bp-38h] BYREF _BYTE v6[8]; // [sp+24h] [bp-30h] BYREF _BYTE v7[8]; // [sp+2Ch] [bp-28h] BYREF int v8[3]; // [sp+34h] [bp-20h] BYREF int v9; // [sp+40h] [bp-14h] BYREF int v10; // [sp+44h] [bp-10h] int v11; // [sp+48h] [bp-Ch] v9 = 0; v10 = 0; v11 = 0; std::string::__init(&v9, "Setup Invert Color", 0x12u); SetupTriggerPopup::addTitle((int)this, (unsigned __int8 *)&v9); std::string::~string((int)&v9); memset(v8, 0, sizeof(v8)); std::string::__init(v8, "Help", 4u); v9 = 0; v10 = 0; v11 = 0; std::string::__init( &v9, "Inverts colors on the screen.\n" "Target is how much of the filter to apply.\n" "FadeTime is time until final state is reached.\n" "R, G, and B let you customize the filter color.\n" "EditRGB allows editing the above values.\n" "TweenRGB makes transitions smoother.\n" "ClampRGB limits these values to 1.\n" "Tip: Use ClampRGB and set an R, G or B value\n" "over 1 to avoid the middle grey effect.", 0x1ADu); SetupTriggerPopup::addHelpButton((int)this, (int)v8, (int)&v9, 1065353216); std::string::~string((int)&v9); v2 = (cocos2d::CCDirector *)std::string::~string((int)v8); cocos2d::CCDirector::sharedDirector(v2); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v4); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v5, v4[0] * 0.5, (float)(v4[1] * 0.5) + 90.0); v9 = 0; v10 = 0; v11 = 0; std::string::__init(&v9, "Target:", 7u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v6, -100.0, 0.0); cocos2d::CCPoint::operator+(v7, v5, v6); SetupTriggerPopup::createValueControl(this, 176, (int)&v9, (const cocos2d::CCPoint *)v7, 1060320051, 0, 0); std::string::~string((int)&v9); v9 = 0; v10 = 0; v11 = 0; std::string::__init(&v9, "FadeTime:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v6, 100.0, 0.0); cocos2d::CCPoint::operator+(v7, v5, v6); SetupTriggerPopup::createValueControl(this, 10, (int)&v9, (const cocos2d::CCPoint *)v7, 1060320051, 0, 0); std::string::~string((int)&v9); v9 = 0; v10 = 0; v11 = 0; std::string::__init(&v9, "R:", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v6, -130.0, -50.0); cocos2d::CCPoint::operator+(v7, v5, v6); SetupTriggerPopup::createValueControl(this, 179, (int)&v9, (const cocos2d::CCPoint *)v7, 1058642330, 0, 0); std::string::~string((int)&v9); v9 = 0; v10 = 0; v11 = 0; std::string::__init(&v9, "G:", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v6, 0.0, -50.0); cocos2d::CCPoint::operator+(v7, v5, v6); SetupTriggerPopup::createValueControl(this, 180, (int)&v9, (const cocos2d::CCPoint *)v7, 1058642330, 0, 0); std::string::~string((int)&v9); v9 = 0; v10 = 0; v11 = 0; std::string::__init(&v9, "B:", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v6, 130.0, -50.0); cocos2d::CCPoint::operator+(v7, v5, v6); SetupTriggerPopup::createValueControl(this, 189, (int)&v9, (const cocos2d::CCPoint *)v7, 1058642330, 0, 0); std::string::~string((int)&v9); v9 = 0; v10 = 0; v11 = 0; std::string::__init(&v9, "EditRGB", 7u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v6, -130.0, -105.0); cocos2d::CCPoint::operator+(v7, v5, v6); SetupTriggerPopup::createToggleValueControl((int)this, 188, (int)&v9, (const cocos2d::CCPoint *)v7, 0, 0, 0, 1.0); std::string::~string((int)&v9); v9 = 0; v10 = 0; v11 = 0; std::string::__init(&v9, "TweenRGB", 8u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v6, -30.0, -105.0); cocos2d::CCPoint::operator+(v7, v5, v6); SetupTriggerPopup::createToggleValueControl((int)this, 190, (int)&v9, (const cocos2d::CCPoint *)v7, 0, 0, 0, 1.0); std::string::~string((int)&v9); v9 = 0; v10 = 0; v11 = 0; std::string::__init(&v9, "ClampRGB", 8u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v6, 70.0, -105.0); cocos2d::CCPoint::operator+(v7, v5, v6); SetupTriggerPopup::createToggleValueControl((int)this, 194, (int)&v9, (const cocos2d::CCPoint *)v7, 0, 0, 0, 1.0); std::string::~string((int)&v9); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v6, 0.0, -140.0); cocos2d::CCPoint::operator+(v7, v5, v6); return SetupTriggerPopup::createEasingControls((int)this, (int)v7, 0.8, 0, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source