// // SetupShaderEffectPopup::setupLensCircle from 0x68a920 to 0x68aea0 (1408 bytes) // // 1 xrefs: // > SetupShaderEffectPopup::init @ 0x68de64 // // 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:08 +0000 // int __fastcall SetupShaderEffectPopup::setupLensCircle(cocos2d::CCDictionary **this) { cocos2d::CCDirector *v2; // r0 int v3; // r11 float v5; // [sp+34h] [bp-40h] BYREF float v6; // [sp+38h] [bp-3Ch] _BYTE v7[8]; // [sp+3Ch] [bp-38h] BYREF _BYTE v8[8]; // [sp+44h] [bp-30h] BYREF _BYTE v9[8]; // [sp+4Ch] [bp-28h] BYREF int v10[3]; // [sp+54h] [bp-20h] BYREF int v11; // [sp+60h] [bp-14h] BYREF int v12; // [sp+64h] [bp-10h] int v13; // [sp+68h] [bp-Ch] v11 = 0; v12 = 0; v13 = 0; std::string::__init(&v11, "Setup Lens Circle", 0x11u); SetupTriggerPopup::addTitle((int)this, (unsigned __int8 *)&v11); std::string::~string((int)&v11); memset(v10, 0, sizeof(v10)); std::string::__init(v10, "Help", 4u); v11 = 0; v12 = 0; v13 = 0; std::string::__init( &v11, "Creates a lens circle.\n" "Size defines how big the circle is.\n" "Strength is the opacity of the circle.\n" "Fade sets how much the circle fades out at the edges.\n" "Screen OffX and OffY offsets the center of the effect.\n" "CenterID lets you set a specific target object as the center.\n" "FadeTime is time until final state is reached.\n" "Tint Channel lets you set a color channel to use for the circle.", 0x1BCu); SetupTriggerPopup::addHelpButton((int)this, (int)v10, (int)&v11, 1065353216); std::string::~string((int)&v11); v2 = (cocos2d::CCDirector *)std::string::~string((int)v10); cocos2d::CCDirector::sharedDirector(v2); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v5); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v7, v5 * 0.5, (float)(v6 * 0.5) + 100.0); v11 = 0; v12 = 0; v13 = 0; std::string::__init(&v11, "Size:", 5u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, -100.0, 0.0); cocos2d::CCPoint::operator+(v9, v7, v8); SetupTriggerPopup::createValueControl(this, 179, (int)&v11, (const cocos2d::CCPoint *)v9, 1058642330, 0, 0); std::string::~string((int)&v11); v11 = 0; v12 = 0; v13 = 0; std::string::__init(&v11, "Fade:", 5u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, 100.0, 0.0); cocos2d::CCPoint::operator+(v9, v7, v8); SetupTriggerPopup::createValueControl(this, 181, (int)&v11, (const cocos2d::CCPoint *)v9, 1058642330, 0, 0); std::string::~string((int)&v11); v11 = 0; v12 = 0; v13 = 0; std::string::__init(&v11, "FadeTime:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, -100.0, -45.0); cocos2d::CCPoint::operator+(v9, v7, v8); SetupTriggerPopup::createValueControl(this, 10, (int)&v11, (const cocos2d::CCPoint *)v9, 1058642330, 0, 0); std::string::~string((int)&v11); v11 = 0; v12 = 0; v13 = 0; std::string::__init(&v11, "Strength:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, 100.0, -45.0); cocos2d::CCPoint::operator+(v9, v7, v8); SetupTriggerPopup::createValueControl(this, 176, (int)&v11, (const cocos2d::CCPoint *)v9, 1058642330, 0, 0); std::string::~string((int)&v11); v11 = 0; v12 = 0; v13 = 0; std::string::__init(&v11, "Screen\nOffX:", 0xCu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, -100.0, -90.0); cocos2d::CCPoint::operator+(v9, v7, v8); SetupTriggerPopup::createValueControlAdvanced( this, 290, (unsigned __int8 *)&v11, (int)v9, 1058642330, 0, 1, 6, 0, -1082130432, COERCE_INT(1.0), 0, 101, 0, 2, 0); std::string::~string((int)&v11); v11 = 0; v12 = 0; v13 = 0; std::string::__init(&v11, "Screen\nOffY:", 0xCu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, 100.0, -90.0); cocos2d::CCPoint::operator+(v9, v7, v8); SetupTriggerPopup::createValueControlAdvanced( this, 291, (unsigned __int8 *)&v11, (int)v9, 1058642330, 0, 1, 6, 0, -1082130432, COERCE_INT(1.0), 0, 101, 0, 2, 0); std::string::~string((int)&v11); v11 = 0; v12 = 0; v13 = 0; std::string::__init(&v11, "CenterID:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, -73.0, -135.0); cocos2d::CCPoint::operator+(v9, v7, v8); v3 = IDNameInput::create((int)this, (int)(this + 110), 1, 51, (int)&v11, (int)v9, 0.6, 6, 0, 0, 0); std::string::~string((int)&v11); (*(void (__fastcall **)(_DWORD, int, int))(**(_DWORD **)(v3 + 360) + 124))( *(_DWORD *)(v3 + 360), -1029701632, -1047003136); v11 = 0; v12 = 0; v13 = 0; std::string::__init(&v11, "P1", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, -140.0, -170.0); cocos2d::CCPoint::operator+(v9, v7, v8); SetupTriggerPopup::createToggleValueControl((int)this, 138, (int)&v11, (const cocos2d::CCPoint *)v9, 0, 1u, 0, 1.0); std::string::~string((int)&v11); v11 = 0; v12 = 0; v13 = 0; std::string::__init(&v11, "P2", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, -70.0, -170.0); cocos2d::CCPoint::operator+(v9, v7, v8); SetupTriggerPopup::createToggleValueControl((int)this, 200, (int)&v11, (const cocos2d::CCPoint *)v9, 0, 1u, 0, 1.0); std::string::~string((int)&v11); v11 = 0; v12 = 0; v13 = 0; std::string::__init(&v11, "Tint\nChannel:", 0xDu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, 100.0, -135.0); cocos2d::CCPoint::operator+(v9, v7, v8); SetupTriggerPopup::createValueControlAdvanced( this, 71, (unsigned __int8 *)&v11, (int)v9, 1058642330, 1, 2, 6, 0, 0, 0, 0, 0, 0, 2, 0); std::string::~string((int)&v11); v11 = 0; v12 = 0; v13 = 0; std::string::__init(&v11, "Relative", 8u); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v9, (float)((float)((float)(*((float *)this + 139) * 0.5) + (float)(v5 * 0.5)) - 72.0) - 90.0, (float)((float)(v6 * 0.5) - (float)(*((float *)this + 140) * 0.5)) + 20.0); SetupTriggerPopup::createToggleValueControl((int)this, 514, (int)&v11, (const cocos2d::CCPoint *)v9, 0, 0, 0, 1.0); std::string::~string((int)&v11); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, 100.0, -165.0); cocos2d::CCPoint::operator+(v9, v7, v8); return SetupTriggerPopup::createEasingControls((int)this, (int)v9, 0.6, 0, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source