// // SetupShaderEffectPopup::setupLensCircle from 0xb35a84 to 0xb36298 (2068 bytes) // // 2 xrefs: // > SetupShaderEffectPopup::init @ 0xb3ac28 // > @ 0xecdd0 // // This function is hookable on this platform (idp: arm, 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 13:01:46 +0000 // __int64 __fastcall SetupShaderEffectPopup::setupLensCircle(cocos2d::CCArray **this) { cocos2d::CCDirector *v2; // x0 cocos2d::CCDirector *v3; // x0 __int64 v4; // x25 int v6; // [xsp+8h] [xbp-28h] __int64 v7; // [xsp+A8h] [xbp+78h] BYREF _BYTE v8[8]; // [xsp+B0h] [xbp+80h] BYREF _BYTE v9[8]; // [xsp+B8h] [xbp+88h] BYREF __int64 v10; // [xsp+C0h] [xbp+90h] BYREF cocos2d::CCDirector *v11[2]; // [xsp+C8h] [xbp+98h] BYREF void *v12; // [xsp+D8h] [xbp+A8h] __int64 v13; // [xsp+E0h] [xbp+B0h] BYREF __int64 v14; // [xsp+E8h] [xbp+B8h] void *v15; // [xsp+F0h] [xbp+C0h] v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "Setup Lens Circle", 0x11u); SetupTriggerPopup::addTitle((__int64)this, (__int64)&v13); if ( (v13 & 1) != 0 ) operator delete(v15); v11[0] = nullptr; v11[1] = nullptr; v12 = nullptr; std::string::__init((__int64 *)v11, "Help", 4u); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init( &v13, "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((__int64)this, (char *)v11, (char *)&v13, 1.0); if ( (v13 & 1) != 0 ) operator delete(v15); v2 = (cocos2d::CCDirector *)LOBYTE(v11[0]); if ( ((__int64)v11[0] & 1) != 0 ) operator delete(v12); v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v2); cocos2d::CCDirector::getWinSize(&v7, v3); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, *(float *)&v7 * 0.5, (float)(*((float *)&v7 + 1) * 0.5) + 100.0); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "Size:", 5u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, -100.0, 0.0); cocos2d::CCPoint::operator+(&v10, v8); SetupTriggerPopup::createValueControl(this, 179, (char *)&v13, (cocos2d::CCPoint *)&v10, 0.6, 0.0, 0.0); if ( (v13 & 1) != 0 ) operator delete(v15); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "Fade:", 5u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 100.0, 0.0); cocos2d::CCPoint::operator+(&v10, v8); SetupTriggerPopup::createValueControl(this, 181, (char *)&v13, (cocos2d::CCPoint *)&v10, 0.6, 0.0, 0.0); if ( (v13 & 1) != 0 ) operator delete(v15); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "FadeTime:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, -100.0, -45.0); cocos2d::CCPoint::operator+(&v10, v8); SetupTriggerPopup::createValueControl(this, 10, (char *)&v13, (cocos2d::CCPoint *)&v10, 0.6, 0.0, 0.0); if ( (v13 & 1) != 0 ) operator delete(v15); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "Strength:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 100.0, -45.0); cocos2d::CCPoint::operator+(&v10, v8); SetupTriggerPopup::createValueControl(this, 176, (char *)&v13, (cocos2d::CCPoint *)&v10, 0.6, 0.0, 0.0); if ( (v13 & 1) != 0 ) operator delete(v15); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "Screen\nOffX:", 0xCu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, -100.0, -90.0); cocos2d::CCPoint::operator+(&v10, v8); SetupTriggerPopup::createValueControlAdvanced( this, 290, (char *)&v13, (__int64)&v10, 0, 1, 6, 0, 0.6, -1.0, 1.0, 0, 101, 0, 2, 0); if ( (v13 & 1) != 0 ) operator delete(v15); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "Screen\nOffY:", 0xCu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 100.0, -90.0); cocos2d::CCPoint::operator+(&v10, v8); SetupTriggerPopup::createValueControlAdvanced( this, 291, (char *)&v13, (__int64)&v10, 0, 1, 6, 0, 0.6, -1.0, 1.0, 0, 101, 0, 2, 0); if ( (v13 & 1) != 0 ) operator delete(v15); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "CenterID:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, -73.0, -135.0); cocos2d::CCPoint::operator+(&v10, v8); LOBYTE(v6) = 0; v4 = IDNameInput::create(this, this + 68, 1, 51, &v13, &v10, 6, 0, 0.6, 0, v6); if ( (v13 & 1) != 0 ) operator delete(v15); (*(void (__fastcall **)(_QWORD, float, float))(**(_QWORD **)(v4 + 488) + 248LL))(*(_QWORD *)(v4 + 488), -80.0, -19.0); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "P1", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, -140.0, -170.0); cocos2d::CCPoint::operator+(&v10, v8); SetupTriggerPopup::createToggleValueControl((__int64)this, 0x8Au, &v13, (const cocos2d::CCPoint *)&v10, 0, 1u, 0, 1.0); if ( (v13 & 1) != 0 ) operator delete(v15); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "P2", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, -70.0, -170.0); cocos2d::CCPoint::operator+(&v10, v8); SetupTriggerPopup::createToggleValueControl((__int64)this, 0xC8u, &v13, (const cocos2d::CCPoint *)&v10, 0, 1u, 0, 1.0); if ( (v13 & 1) != 0 ) operator delete(v15); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "Tint\nChannel:", 0xDu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 100.0, -135.0); cocos2d::CCPoint::operator+(&v10, v8); SetupTriggerPopup::createValueControlAdvanced( this, 71, (char *)&v13, (__int64)&v10, 1, 2, 6, 0, 0.6, 0.0, 0.0, 0, 0, 0, 2, 0); if ( (v13 & 1) != 0 ) operator delete(v15); v13 = 0; v14 = 0; v15 = nullptr; std::string::__init(&v13, "Relative", 8u); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v10, (float)((float)((float)(*((float *)this + 183) * 0.5) + (float)(*(float *)&v7 * 0.5)) - 72.0) - 90.0, 20.0 - (float)((float)(*((float *)this + 184) * 0.5) - (float)(*((float *)&v7 + 1) * 0.5))); SetupTriggerPopup::createToggleValueControl((__int64)this, 0x202u, &v13, (const cocos2d::CCPoint *)&v10, 0, 0, 0, 1.0); if ( (v13 & 1) != 0 ) operator delete(v15); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, 100.0, -165.0); cocos2d::CCPoint::operator+(&v10, v8); SetupTriggerPopup::createEasingControls((__int64)this, (__int64)&v10, 0, 0, 0.6); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source