// // SetupShaderEffectPopup::setupRadialBlur from 0x14044fbf0 to 0x140450626 (2614 bytes) // // 2 xrefs: // > SetupShaderEffectPopup::init @ 0x14044a3e8 // > @ 0x1406da7cc // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=3 void SetupShaderEffectPopup::setupRadialBlur(SetupShaderEffectPopup *a1) { _QWORD *v2; // r9 _QWORD *v3; // rcx const char *v4; // rdx __int64 v5; // r8 double v6; // xmm0_8 __int64 v7; // rcx cocos2d::CCDirector *v8; // rax int v9; // eax bool v10; // di float v11; // xmm0_4 int v12; // r9d __int64 v13; // [rsp+80h] [rbp-88h] __int64 v14; // [rsp+80h] [rbp-88h] __int64 v15; // [rsp+80h] [rbp-88h] __int128 *v16; // [rsp+88h] [rbp-80h] BYREF __int128 *v17; // [rsp+90h] [rbp-78h] BYREF __int128 *v18; // [rsp+98h] [rbp-70h] __int128 v19; // [rsp+A0h] [rbp-68h] BYREF __int64 v20; // [rsp+B0h] [rbp-58h] __int64 v21; // [rsp+B8h] [rbp-50h] __int128 v22; // [rsp+C0h] [rbp-48h] BYREF __int64 v23; // [rsp+D0h] [rbp-38h] __int64 v24; // [rsp+D8h] [rbp-30h] char v25; // [rsp+170h] [rbp+68h] BYREF float v26; // [rsp+178h] [rbp+70h] char v27; // [rsp+180h] [rbp+78h] BYREF v19 = 0; *(_QWORD *)&v19 = sub_14003AA10(0x20u); v20 = 17; v21 = 31; strcpy((char *)v19, "Setup Radial Blur"); SetupTriggerPopup::addTitle(a1, &v19); v16 = &v19; v19 = 0; v20 = 0; v21 = 15; v2 = sub_14003AA10(0x1C0u); *(_QWORD *)&v19 = v2; v20 = 435; v21 = 447; v3 = v2; v4 = "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."; v5 = 3; do { *(_OWORD *)v3 = *(_OWORD *)v4; *((_OWORD *)v3 + 1) = *((_OWORD *)v4 + 1); *((_OWORD *)v3 + 2) = *((_OWORD *)v4 + 2); *((_OWORD *)v3 + 3) = *((_OWORD *)v4 + 3); *((_OWORD *)v3 + 4) = *((_OWORD *)v4 + 4); *((_OWORD *)v3 + 5) = *((_OWORD *)v4 + 5); *((_OWORD *)v3 + 6) = *((_OWORD *)v4 + 6); v3 += 16; *((_OWORD *)v3 - 1) = *((_OWORD *)v4 + 7); v4 += 128; --v5; } while ( v5 ); *(_OWORD *)v3 = *(_OWORD *)v4; *((_OWORD *)v3 + 1) = *((_OWORD *)v4 + 1); *((_OWORD *)v3 + 2) = *((_OWORD *)v4 + 2); *((_WORD *)v3 + 24) = *((_WORD *)v4 + 24); *((_BYTE *)v3 + 50) = v4[50]; *((_BYTE *)v2 + 435) = 0; v22 = 0; v23 = 4; v24 = 15; strcpy((char *)&v22, "Help"); v6 = SetupTriggerPopup::addHelpButton(a1, &v22, &v19); v8 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v7); cocos2d::CCDirector::getWinSize(v8); cocos2d::CCPoint::CCPoint(*(float *)&v6, v26 * 0.5); v17 = &v19; v19 = 0; v20 = 5; v21 = 15; strcpy((char *)&v19, "Size:"); cocos2d::CCPoint::CCPoint(0.0, -130.0); cocos2d::CCPoint::operator+(&v25, &v16); SetupTriggerPopup::createValueControl( (_DWORD)a1, 179, (unsigned int)&v19, (unsigned int)&v16, 1058642330, 0, 0x40000000); v18 = &v19; *((_QWORD *)&v19 + 1) = 58; v20 = 9; v21 = 15; *(_QWORD *)&v19 = 0x656D695465646146LL; cocos2d::CCPoint::CCPoint(6.7405871e22, 0.0); cocos2d::CCPoint::operator+(&v25, &v16); SetupTriggerPopup::createValueControl((_DWORD)a1, 10, (unsigned int)&v19, (unsigned int)&v16, 1058642330, 0, 0); v18 = &v19; *((_QWORD *)&v19 + 1) = 14969; v20 = 10; v21 = 15; *(_QWORD *)&v19 = 0x7469736E65746E49LL; cocos2d::CCPoint::CCPoint(7.2143239e22, -130.0); cocos2d::CCPoint::operator+(&v25, &v16); SetupTriggerPopup::createValueControl( (_DWORD)a1, 176, (unsigned int)&v19, (unsigned int)&v16, 1058642330, 0, 1084227584); v18 = &v19; v20 = 12; v21 = 15; strcpy((char *)&v19, "Ref\nChannel:"); BYTE13(v19) = 0; HIWORD(v19) = 0; cocos2d::CCPoint::CCPoint(1.1093153e-32, 0.0); cocos2d::CCPoint::operator+(&v25, &v16); SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, 71, (unsigned int)&v19, (unsigned int)&v16, 1058642330, 1, 2, 6, 0, 0, 0, 0, 0, 0, 2, 0, v16, v17); v18 = &v19; v19 = 0; v20 = 5; v21 = 15; strcpy((char *)&v19, "Fade:"); cocos2d::CCPoint::CCPoint(0.0, -130.0); cocos2d::CCPoint::operator+(&v25, &v16); SetupTriggerPopup::createValueControl( (_DWORD)a1, 181, (unsigned int)&v19, (unsigned int)&v16, 1058642330, -1082130432, 1065353216); cocos2d::CCPoint::CCPoint(a1->m_width * 0.5, (float)((float)(v26 * 0.5) - (float)(a1->m_width * 0.5)) + 20.0); v18 = &v19; v19 = 0; v20 = 6; v21 = 15; strcpy((char *)&v19, "Target"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v17); SetupTriggerPopup::createToggleValueControl((_DWORD)a1, 188, (unsigned int)&v19, v9, 0, 0, 0, 1065353216); v18 = &v19; *((_QWORD *)&v19 + 1) = 121; v20 = 9; v21 = 15; *(_QWORD *)&v19 = 0x6C6E4F7974706D45LL; cocos2d::CCPoint::CCPoint(7.6194305e31, 90.0); cocos2d::CCPoint::operator+(&v27, &v16); SetupTriggerPopup::createToggleValueControl( (_DWORD)a1, 515, (unsigned int)&v19, (unsigned int)&v16, 0, 0, 0, 1065353216); v18 = &v19; v20 = 12; v21 = 15; strcpy((char *)&v19, "Screen\nOffX:"); BYTE13(v19) = 0; HIWORD(v19) = 0; cocos2d::CCPoint::CCPoint(7.1540306e22, 130.0); cocos2d::CCPoint::operator+(&v25, &v16); LOBYTE(v13) = 0; SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, 290, (unsigned int)&v19, (unsigned int)&v16, 1058642330, 0, 1, 6, 0, -1082130432, 1065353216, 0, 101, 0, 2, v13); v18 = &v19; v20 = 12; v21 = 15; strcpy((char *)&v19, "Screen\nOffY:"); BYTE13(v19) = 0; HIWORD(v19) = 0; cocos2d::CCPoint::CCPoint(7.1540306e22, 130.0); cocos2d::CCPoint::operator+(&v25, &v16); LOBYTE(v14) = 0; SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, 291, (unsigned int)&v19, (unsigned int)&v16, 1058642330, 0, 1, 6, 0, -1082130432, 1065353216, 0, 101, 0, 2, v14); v18 = &v19; *((_QWORD *)&v19 + 1) = 58; v20 = 9; v21 = 15; *(_QWORD *)&v19 = 0x44497265746E6543LL; cocos2d::CCPoint::CCPoint(7.5550567e31, 130.0); cocos2d::CCPoint::operator+(&v25, &v16); LOBYTE(v15) = 0; SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, 51, (unsigned int)&v19, (unsigned int)&v16, 1058642330, 1, 2, 6, 1, 0, 1065353216, 0, 100, 0, 2, v15); v18 = &v22; v22 = 0; v23 = 2; v24 = 15; strcpy((char *)&v22, "P1"); cocos2d::CCPoint::CCPoint(0.0, 90.0); cocos2d::CCPoint::operator+(&v25, &v16); SetupTriggerPopup::createToggleValueControl( (_DWORD)a1, 138, (unsigned int)&v22, (unsigned int)&v16, 0, 0, 100, 1065353216); v18 = &v22; v22 = 0; v23 = 2; v24 = 15; strcpy((char *)&v22, "P2"); cocos2d::CCPoint::CCPoint(0.0, 160.0); cocos2d::CCPoint::operator+(&v25, &v16); SetupTriggerPopup::createToggleValueControl( (_DWORD)a1, 200, (unsigned int)&v22, (unsigned int)&v16, 0, 0, 100, 1065353216); v10 = a1->getValue(a1, 188) != 0.0; a1->toggleGroup(a1, 100, v10); v11 = ((float (__fastcall *)(SetupShaderEffectPopup *, __int64, bool))a1->toggleGroup)(a1, 101, !v10); cocos2d::CCPoint::CCPoint(v11, 65.0); cocos2d::CCPoint::operator+(&v25, &v16); SetupTriggerPopup::createEasingControls(a1, (cocos2d::CCPoint)&v16, 0.80000001, v12, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source