// // SetupShaderEffectPopup::setupRadialBlur from 0xb362d0 to 0xb36ba4 (2260 bytes) // // 2 xrefs: // > SetupShaderEffectPopup::init @ 0xb3ac1c // > @ 0xc34d8 // // 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::setupRadialBlur(cocos2d::CCArray **this) { cocos2d::CCDirector *v2; // x0 cocos2d::CCDirector *v3; // x0 float v4; // s0 _BOOL4 v5; // w19 int v7; // [xsp+8h] [xbp-28h] __int64 v8; // [xsp+A0h] [xbp+70h] BYREF _BYTE v9[8]; // [xsp+A8h] [xbp+78h] BYREF _BYTE v10[8]; // [xsp+B0h] [xbp+80h] BYREF _BYTE v11[8]; // [xsp+B8h] [xbp+88h] BYREF __int64 v12; // [xsp+C0h] [xbp+90h] BYREF cocos2d::CCDirector *v13[2]; // [xsp+C8h] [xbp+98h] BYREF void *v14; // [xsp+D8h] [xbp+A8h] __int64 v15; // [xsp+E0h] [xbp+B0h] BYREF __int64 v16; // [xsp+E8h] [xbp+B8h] void *v17; // [xsp+F0h] [xbp+C0h] v15 = 0; v16 = 0; v17 = nullptr; std::string::__init(&v15, "Setup Radial Blur", 0x11u); SetupTriggerPopup::addTitle((__int64)this, (__int64)&v15); if ( (v15 & 1) != 0 ) operator delete(v17); v13[0] = nullptr; v13[1] = nullptr; v14 = nullptr; std::string::__init((__int64 *)v13, "Help", 4u); v15 = 0; v16 = 0; v17 = nullptr; std::string::__init( &v15, "Applies radial blur.\n" "Size is how much blur to apply around the center.\n" "FadeTime is time until final state is reached.\n" "Intensity is opacity of the blur.\n" "RefChannel uses a color channel to reference the effect.\n" "Fade sets how much blur fades out at the edges.\n" "Screen OffX and OffY offsets the center of the effect.\n" "Target lets you set a specific target object as the center.", 0x1B3u); SetupTriggerPopup::addHelpButton((__int64)this, (char *)v13, (char *)&v15, 1.0); if ( (v15 & 1) != 0 ) operator delete(v17); v2 = (cocos2d::CCDirector *)LOBYTE(v13[0]); if ( ((__int64)v13[0] & 1) != 0 ) operator delete(v14); v3 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v2); cocos2d::CCDirector::getWinSize(&v8, v3); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, *(float *)&v8 * 0.5, (float)(*((float *)&v8 + 1) * 0.5) + 85.0); v15 = 0; v16 = 0; v17 = nullptr; std::string::__init(&v15, "Size:", 5u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, -130.0, 0.0); cocos2d::CCPoint::operator+(&v12, v9); SetupTriggerPopup::createValueControl(this, 179, (char *)&v15, (cocos2d::CCPoint *)&v12, 0.6, 0.0, 2.0); if ( (v15 & 1) != 0 ) operator delete(v17); v15 = 0; v16 = 0; v17 = nullptr; std::string::__init(&v15, "FadeTime:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, 0.0, 0.0); cocos2d::CCPoint::operator+(&v12, v9); SetupTriggerPopup::createValueControl(this, 10, (char *)&v15, (cocos2d::CCPoint *)&v12, 0.6, 0.0, 0.0); if ( (v15 & 1) != 0 ) operator delete(v17); v15 = 0; v16 = 0; v17 = nullptr; std::string::__init(&v15, "Intensity:", 0xAu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, -130.0, -50.0); cocos2d::CCPoint::operator+(&v12, v9); SetupTriggerPopup::createValueControl(this, 176, (char *)&v15, (cocos2d::CCPoint *)&v12, 0.6, 0.0, 5.0); if ( (v15 & 1) != 0 ) operator delete(v17); v15 = 0; v16 = 0; v17 = nullptr; std::string::__init(&v15, "Ref\nChannel:", 0xCu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, 0.0, -55.0); cocos2d::CCPoint::operator+(&v12, v9); SetupTriggerPopup::createValueControlAdvanced( this, 71, (char *)&v15, (__int64)&v12, 1, 2, 6, 0, 0.6, 0.0, 0.0, 0, 0, 0, 2, 0); if ( (v15 & 1) != 0 ) operator delete(v17); v15 = 0; v16 = 0; v17 = nullptr; std::string::__init(&v15, "Fade:", 5u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, -130.0, -100.0); cocos2d::CCPoint::operator+(&v12, v9); SetupTriggerPopup::createValueControl(this, 181, (char *)&v15, (cocos2d::CCPoint *)&v12, 0.6, -1.0, 1.0); if ( (v15 & 1) != 0 ) operator delete(v17); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v10, 20.0 - (float)((float)(*((float *)this + 183) * 0.5) - (float)(*(float *)&v8 * 0.5)), (float)(20.0 - (float)((float)(*((float *)this + 184) * 0.5) - (float)(*((float *)&v8 + 1) * 0.5))) + 30.0); v15 = 0; v16 = 0; v17 = nullptr; std::string::__init(&v15, "Target", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v12, (const cocos2d::CCPoint *)v10); SetupTriggerPopup::createToggleValueControl((__int64)this, 0xBCu, &v15, (const cocos2d::CCPoint *)&v12, 0, 0, 0, 1.0); if ( (v15 & 1) != 0 ) operator delete(v17); v15 = 0; v16 = 0; v17 = nullptr; std::string::__init(&v15, "EmptyOnly", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, 90.0, 0.0); cocos2d::CCPoint::operator+(&v12, v10); SetupTriggerPopup::createToggleValueControl((__int64)this, 0x203u, &v15, (const cocos2d::CCPoint *)&v12, 0, 0, 0, 1.0); if ( (v15 & 1) != 0 ) operator delete(v17); v15 = 0; v16 = 0; v17 = nullptr; std::string::__init(&v15, "Screen\nOffX:", 0xCu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, 130.0, 0.0); cocos2d::CCPoint::operator+(&v12, v9); SetupTriggerPopup::createValueControlAdvanced( this, 290, (char *)&v15, (__int64)&v12, 0, 1, 6, 0, 0.6, -1.0, 1.0, 0, 101, 0, 2, 0); if ( (v15 & 1) != 0 ) operator delete(v17); v15 = 0; v16 = 0; v17 = nullptr; std::string::__init(&v15, "Screen\nOffY:", 0xCu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, 130.0, -50.0); cocos2d::CCPoint::operator+(&v12, v9); SetupTriggerPopup::createValueControlAdvanced( this, 291, (char *)&v15, (__int64)&v12, 0, 1, 6, 0, 0.6, -1.0, 1.0, 0, 101, 0, 2, 0); if ( (v15 & 1) != 0 ) operator delete(v17); v15 = 0; v16 = 0; v17 = nullptr; std::string::__init(&v15, "CenterID:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, 130.0, 0.0); cocos2d::CCPoint::operator+(&v12, v9); LOBYTE(v7) = 0; IDNameInput::create(this, this + 68, 1, 51, &v15, &v12, 6, 100, 0.6, 0, v7); if ( (v15 & 1) != 0 ) operator delete(v17); v15 = 0; v16 = 0; v17 = nullptr; std::string::__init(&v15, "P1", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, 90.0, -40.0); cocos2d::CCPoint::operator+(&v12, v9); SetupTriggerPopup::createToggleValueControl( (__int64)this, 0x8Au, &v15, (const cocos2d::CCPoint *)&v12, 0, 0, 100, 1.0); if ( (v15 & 1) != 0 ) operator delete(v17); v15 = 0; v16 = 0; v17 = nullptr; std::string::__init(&v15, "P2", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, 160.0, -40.0); cocos2d::CCPoint::operator+(&v12, v9); SetupTriggerPopup::createToggleValueControl( (__int64)this, 0xC8u, &v15, (const cocos2d::CCPoint *)&v12, 0, 0, 100, 1.0); if ( (v15 & 1) != 0 ) operator delete(v17); v4 = (*((float (__fastcall **)(cocos2d::CCArray **, __int64))*this + 183))(this, 188); v5 = v4 != 0.0; (*((void (__fastcall **)(cocos2d::CCArray **, __int64, bool))*this + 169))(this, 100, v4 != 0.0); (*((void (__fastcall **)(cocos2d::CCArray **, __int64, bool))*this + 169))(this, 101, !v5); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, 65.0, -100.0); cocos2d::CCPoint::operator+(&v12, v9); SetupTriggerPopup::createEasingControls((__int64)this, (__int64)&v12, 0, 0, 0.8); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source