// // SetupShaderEffectPopup::setupShockLine from 0x688e08 to 0x68991c (2836 bytes) // // 1 xrefs: // > SetupShaderEffectPopup::init @ 0x68de3c // // 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:07 +0000 // int __fastcall SetupShaderEffectPopup::setupShockLine(cocos2d::CCDictionary **this) { int v2; // r8 void (__fastcall *v3)(int, _BYTE *); // r9 int v4; // r10 cocos2d::CCDirector *v5; // r0 _BOOL4 v6; // r4 void (__fastcall *v7)(cocos2d::CCDictionary **, int, _BOOL4); // r4 _BOOL4 v8; // r2 _BOOL4 v9; // r1 float v11; // [sp+34h] [bp-50h] BYREF float v12; // [sp+38h] [bp-4Ch] _BYTE v13[4]; // [sp+3Ch] [bp-48h] BYREF float v14; // [sp+40h] [bp-44h] _BYTE v15[8]; // [sp+44h] [bp-40h] BYREF _BYTE v16[8]; // [sp+4Ch] [bp-38h] BYREF _BYTE v17[8]; // [sp+54h] [bp-30h] BYREF _BYTE v18[8]; // [sp+5Ch] [bp-28h] BYREF int v19[3]; // [sp+64h] [bp-20h] BYREF int v20; // [sp+70h] [bp-14h] BYREF int v21; // [sp+74h] [bp-10h] int v22; // [sp+78h] [bp-Ch] v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Setup ShockLine", 0xFu); v2 = SetupTriggerPopup::addTitle((int)this, (unsigned __int8 *)&v20); std::string::~string((int)&v20); v3 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v2 + 92); v4 = (*(int (__fastcall **)(int))(*(_DWORD *)v2 + 96))(v2); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 0.0, 2.0); cocos2d::CCPoint::operator+(v18, v4, v17); v3(v2, v18); (*(void (__fastcall **)(int, int))(*(_DWORD *)v2 + 80))(v2, 1053609165); memset(v19, 0, sizeof(v19)); std::string::__init(v19, "ShockLine", 9u); v20 = 0; v21 = 0; v22 = 0; std::string::__init( &v20, "Speed defines how fast the shockline effect happens.\n" "Strength sets how distorted objects get within the waves.\n" "Thickness is how big each wave is.\n" "MaxSize modifies the maximum size of the wave.\n" "WaveW is line width.\n" "TimeOff is offset in seconds before the effect begins.\n" "Target lets you set a specific object to do the effect around.\n" "Flip and Rotate change the direction of the effect.", 0x1BFu); SetupTriggerPopup::addHelpButton((int)this, (int)v19, (int)&v20, 1065353216); std::string::~string((int)&v20); v5 = (cocos2d::CCDirector *)std::string::~string((int)v19); cocos2d::CCDirector::sharedDirector(v5); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v11); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, (float)(v11 * 0.5) - 10.0, (float)(v12 * 0.5) + 110.0); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Speed:", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, -100.0, 0.0); cocos2d::CCPoint::operator+(v18, v13, v17); SetupTriggerPopup::createValueControlAdvanced( this, 175, (unsigned __int8 *)&v20, (int)v18, 1058642330, 0, 1, 6, 0, 0, 1084227584, 0, 0, 1, 3, 1); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Strength:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 100.0, 0.0); cocos2d::CCPoint::operator+(v18, v13, v17); SetupTriggerPopup::createValueControlAdvanced( this, 176, (unsigned __int8 *)&v20, (int)v18, 1058642330, 0, 1, 6, 0, 0, 1065353216, 0, 0, 1, 3, 1); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Thickness:", 0xAu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, -100.0, -25.0); cocos2d::CCPoint::operator+(v18, v13, v17); SetupTriggerPopup::createValueControlAdvanced( this, 180, (unsigned __int8 *)&v20, (int)v18, 1058642330, 0, 1, 6, 0, 0, 1084227584, 0, 0, 1, 3, 1); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "WaveW:", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 100.0, -25.0); cocos2d::CCPoint::operator+(v18, v13, v17); SetupTriggerPopup::createValueControlAdvanced( this, 179, (unsigned __int8 *)&v20, (int)v18, 1058642330, 0, 1, 6, 0, 0, 1084227584, 0, 0, 1, 3, 1); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "FadeIn:", 7u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, -100.0, -50.0); cocos2d::CCPoint::operator+(v18, v13, v17); SetupTriggerPopup::createValueControlAdvanced( this, 181, (unsigned __int8 *)&v20, (int)v18, 1058642330, 0, 1, 6, 0, 0, 1084227584, 0, 0, 1, 3, 1); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "FadeOut:", 8u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 100.0, -50.0); cocos2d::CCPoint::operator+(v18, v13, v17); SetupTriggerPopup::createValueControlAdvanced( this, 182, (unsigned __int8 *)&v20, (int)v18, 1058642330, 0, 1, 6, 0, 0, 1084227584, 0, 0, 1, 3, 1); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "TimeOff:", 8u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, -100.0, -75.0); cocos2d::CCPoint::operator+(v18, v13, v17); SetupTriggerPopup::createValueControlAdvanced( this, 177, (unsigned __int8 *)&v20, (int)v18, 1058642330, 0, 1, 6, 0, -1054867456, COERCE_INT(10.0), 0, 0, 1, 3, 1); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "MaxSize:", 8u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 100.0, -75.0); cocos2d::CCPoint::operator+(v18, v13, v17); SetupTriggerPopup::createValueControlAdvanced( this, 512, (unsigned __int8 *)&v20, (int)v18, 1058642330, 0, 1, 6, 0, 0, 1065353216, 0, 0, 1, 3, 1); std::string::~string((int)&v20); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v15, (float)(v11 * 0.5) - 25.0, v14 - 100.0); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Invert", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, -162.5, 0.0); cocos2d::CCPoint::operator+(v18, v15, v17); SetupTriggerPopup::createToggleValueControl((int)this, 184, (int)&v20, (const cocos2d::CCPoint *)v18, 0, 0, 0, 0.8); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Flip", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, -97.5, 0.0); cocos2d::CCPoint::operator+(v18, v15, v17); SetupTriggerPopup::createToggleValueControl((int)this, 185, (int)&v20, (const cocos2d::CCPoint *)v18, 0, 0, 0, 0.8); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Rotate", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, -32.5, 0.0); cocos2d::CCPoint::operator+(v18, v15, v17); SetupTriggerPopup::createToggleValueControl((int)this, 186, (int)&v20, (const cocos2d::CCPoint *)v18, 0, 0, 0, 0.8); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Dual", 4u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 32.5, 0.0); cocos2d::CCPoint::operator+(v18, v15, v17); SetupTriggerPopup::createToggleValueControl((int)this, 187, (int)&v20, (const cocos2d::CCPoint *)v18, 0, 0, 0, 0.8); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Target", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 97.5, 0.0); cocos2d::CCPoint::operator+(v18, v15, v17); SetupTriggerPopup::createToggleValueControl((int)this, 188, (int)&v20, (const cocos2d::CCPoint *)v18, 0, 0, 0, 0.8); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Relative", 8u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 162.5, 0.0); cocos2d::CCPoint::operator+(v18, v15, v17); SetupTriggerPopup::createToggleValueControl((int)this, 514, (int)&v20, (const cocos2d::CCPoint *)v18, 0, 0, 0, 0.8); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Animate", 7u); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v18, (float)((float)((float)(*((float *)this + 139) * 0.5) + (float)(v11 * 0.5)) - 72.0) - 90.0, (float)((float)(v12 * 0.5) - (float)(*((float *)this + 140) * 0.5)) + 20.0); SetupTriggerPopup::createToggleValueControl((int)this, 513, (int)&v20, (const cocos2d::CCPoint *)v18, 0, 0, 0, 1.0); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "ScreenOff:", 0xAu); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, -100.0, -125.0); cocos2d::CCPoint::operator+(v18, v13, v17); SetupTriggerPopup::createValueControlAdvanced( this, 290, (unsigned __int8 *)&v20, (int)v18, 1058642330, 0, 1, 6, 0, -1082130432, 1065353216, 0, 101, 1, 3, 1); std::string::~string((int)&v20); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v16, (float)(v11 * 0.5) - 20.0, v14 - 125.0); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "CenterID", 8u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, -100.0, 0.0); cocos2d::CCPoint::operator+(v18, v16, v17); IDNameInput::create((int)this, (int)(this + 110), 1, 51, (int)&v20, (int)v18, 0.6, 6, 100, 0, 1); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "P1", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 20.0, 0.0); cocos2d::CCPoint::operator+(v18, v16, v17); SetupTriggerPopup::createToggleValueControl((int)this, 138, (int)&v20, (const cocos2d::CCPoint *)v18, 0, 0, 100, 0.8); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "P2", 2u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 80.0, 0.0); cocos2d::CCPoint::operator+(v18, v16, v17); SetupTriggerPopup::createToggleValueControl((int)this, 200, (int)&v20, (const cocos2d::CCPoint *)v18, 0, 0, 100, 0.8); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "Follow", 6u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 140.0, 0.0); cocos2d::CCPoint::operator+(v18, v16, v17); SetupTriggerPopup::createToggleValueControl((int)this, 190, (int)&v20, (const cocos2d::CCPoint *)v18, 0, 0, 100, 0.8); std::string::~string((int)&v20); v20 = 0; v21 = 0; v22 = 0; std::string::__init(&v20, "FadeTime:", 9u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, -100.0, -185.0); cocos2d::CCPoint::operator+(v18, v13, v17); SetupTriggerPopup::createValueControlAdvanced( this, 10, (unsigned __int8 *)&v20, (int)v18, 1058642330, 0, 1, 6, 0, 0, 1065353216, 0, 103, 1, 2, 0); std::string::~string((int)&v20); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v17, 100.0, -170.0); cocos2d::CCPoint::operator+(v18, v13, v17); SetupTriggerPopup::createEasingControls((int)this, (int)v18, 0.65, 0, 103); v6 = COERCE_FLOAT((*((int (__fastcall **)(cocos2d::CCDictionary **, int))*this + 183))(this, 188)) != 0.0; (*((void (__fastcall **)(cocos2d::CCDictionary **, int, _BOOL4))*this + 169))(this, 100, v6); (*((void (__fastcall **)(cocos2d::CCDictionary **, int, bool))*this + 169))(this, 101, !v6); v7 = *((void (__fastcall **)(cocos2d::CCDictionary **, int, _BOOL4))*this + 169); v8 = COERCE_FLOAT((*((int (__fastcall **)(cocos2d::CCDictionary **, int))*this + 183))(this, 513)) != 0.0; v7(this, 103, v8); v9 = COERCE_FLOAT((*((int (__fastcall **)(cocos2d::CCDictionary **, int))*this + 183))(this, 513)) != 0.0; return SetupTriggerPopup::toggleDisableButtons((int)this, v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source