// // SetupShaderEffectPopup::setupRadialBlur from 0x1002b7cd0 to 0x1002b85f8 (2344 bytes) // // 1 xrefs: // > SetupShaderEffectPopup::init @ 0x1002b2f2b // // This function is hookable on this platform (idp: pc, 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 12:28:03 +0000 // __int64 __fastcall SetupShaderEffectPopup::setupRadialBlur(float *a1) { float *v1; // rbx __int64 v2; // rax __m128 v3; // xmm0 unsigned __int64 v5; // [rsp+38h] [rbp-1A8h] BYREF void *v6[3]; // [rsp+40h] [rbp-1A0h] BYREF __int128 v7; // [rsp+58h] [rbp-188h] BYREF void *v8; // [rsp+68h] [rbp-178h] __int128 v9; // [rsp+70h] [rbp-170h] BYREF void *v10; // [rsp+80h] [rbp-160h] __int128 v11; // [rsp+88h] [rbp-158h] BYREF void *v12; // [rsp+98h] [rbp-148h] __int128 v13; // [rsp+A0h] [rbp-140h] BYREF void *v14; // [rsp+B0h] [rbp-130h] __int128 v15; // [rsp+B8h] [rbp-128h] BYREF void *v16; // [rsp+C8h] [rbp-118h] __int128 v17; // [rsp+D0h] [rbp-110h] BYREF void *v18; // [rsp+E0h] [rbp-100h] __int128 v19; // [rsp+E8h] [rbp-F8h] BYREF void *v20; // [rsp+F8h] [rbp-E8h] __int128 v21; // [rsp+100h] [rbp-E0h] BYREF void *v22; // [rsp+110h] [rbp-D0h] __int128 v23; // [rsp+118h] [rbp-C8h] BYREF void *v24; // [rsp+128h] [rbp-B8h] std::string v25; // [rsp+130h] [rbp-B0h] BYREF __int128 v26; // [rsp+148h] [rbp-98h] BYREF void *v27; // [rsp+158h] [rbp-88h] std::string v28; // [rsp+160h] [rbp-80h] BYREF std::string v29; // [rsp+178h] [rbp-68h] BYREF float v30; // [rsp+190h] [rbp-50h] BYREF float v31; // [rsp+194h] [rbp-4Ch] double v32[3]; // [rsp+198h] [rbp-48h] BYREF unsigned __int64 v33; // [rsp+1B0h] [rbp-30h] BYREF unsigned __int64 v34; // [rsp+1B8h] [rbp-28h] BYREF unsigned __int64 v35[4]; // [rsp+1C0h] [rbp-20h] BYREF v1 = a1; strcpy((char *)v6, "\"Setup Radial Blur"); SetupTriggerPopup::addTitle((__int64)a1, (__int64)v6); if ( ((__int64)v6[0] & 1) != 0 ) operator delete(v6[2]); LOBYTE(v7) = 8; strcpy((char *)&v7 + 1, "Help"); v10 = operator new(0x1B8u); *(_QWORD *)&v9 = 441; *((_QWORD *)&v9 + 1) = 435; strcpy( (char *)v10, "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."); SetupTriggerPopup::addHelpButton((__int64)a1, &v7, &v9, 1.0); if ( (v9 & 1) != 0 ) { a1 = (float *)v10; operator delete(v10); } if ( (v7 & 1) != 0 ) { a1 = (float *)v8; operator delete(v8); } v2 = cocos2d::CCDirector::sharedDirector(a1, &v7); cocos2d::CCDirector::getWinSize(&v30, v2); sub_100278250((float *)&v33, v30 * 0.5, (float)(v31 * 0.5) + 85.0); strcpy((char *)&v11, "\nSize:"); sub_100278250((float *)&v34, -130.0, 0.0); sub_100278350(v32, &v33, &v34); SetupTriggerPopup::createValueControl((__int64)v1, 0xB3u, &v11, (__int64)v32, 0.60000002, 0.0, 2.0); if ( (v11 & 1) != 0 ) operator delete(v12); LOBYTE(v13) = 18; strcpy((char *)&v13 + 1, "FadeTime:"); sub_100278250((float *)&v34, 0.0, 0.0); sub_100278350(v32, &v33, &v34); SetupTriggerPopup::createValueControl((__int64)v1, 0xAu, &v13, (__int64)v32, 0.60000002, 0.0, 0.0); if ( (v13 & 1) != 0 ) operator delete(v14); LOBYTE(v23) = 20; strcpy((char *)&v23 + 1, "Intensity:"); sub_100278250((float *)&v34, -130.0, -50.0); sub_100278350(v32, &v33, &v34); SetupTriggerPopup::createValueControl((__int64)v1, 0xB0u, &v23, (__int64)v32, 0.60000002, 0.0, 5.0); if ( (v23 & 1) != 0 ) operator delete(v24); v25.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24; strcpy(v25.__r_.__value_.__s.__data_, "Ref\nChannel:"); sub_100278250((float *)&v34, 0.0, -55.0); sub_100278350(v32, &v33, &v34); SetupTriggerPopup::createValueControlAdvanced( (__int64)v1, 71, &v25, (__int64)v32, 1, 2u, 0.60000002, 0.0, 0.0, 6u, 0, 0, 0, 0, 2u, 0); if ( (*(_BYTE *)&v25.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v25.__r_.__value_.__l.__data_); strcpy((char *)&v15, "\nFade:"); sub_100278250((float *)&v34, -130.0, -100.0); sub_100278350(v32, &v33, &v34); SetupTriggerPopup::createValueControl((__int64)v1, 0xB5u, &v15, (__int64)v32, 0.60000002, -1.0, 1.0); if ( (v15 & 1) != 0 ) operator delete(v16); sub_100278250( (float *)&v34, (float)((float)(v30 * 0.5) - (float)(v1[183] * 0.5)) + 20.0, (float)((float)((float)(v31 * 0.5) - (float)(0.5 * v1[184])) + 20.0) + 30.0); LOBYTE(v26) = 12; strcpy((char *)&v26 + 1, "Target"); sub_1002782D0(v32, &v34); SetupTriggerPopup::createToggleValueControl((int)v1, 188, &v26, (__int64)v32, 0, 0, 1.0, 0); if ( (v26 & 1) != 0 ) operator delete(v27); LOBYTE(v17) = 18; strcpy((char *)&v17 + 1, "EmptyOnly"); sub_100278250((float *)v35, 90.0, 0.0); sub_100278350(v32, &v34, v35); SetupTriggerPopup::createToggleValueControl((int)v1, 515, &v17, (__int64)v32, 0, 0, 1.0, 0); if ( (v17 & 1) != 0 ) operator delete(v18); v28.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24; strcpy(v28.__r_.__value_.__s.__data_, "Screen\nOffX:"); sub_100278250((float *)v35, 130.0, 0.0); sub_100278350(v32, &v33, v35); SetupTriggerPopup::createValueControlAdvanced( (__int64)v1, 290, &v28, (__int64)v32, 0, 1u, 0.60000002, -1.0, 1.0, 6u, 0, 0, 0x65u, 0, 2u, 0); if ( (*(_BYTE *)&v28.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v28.__r_.__value_.__l.__data_); v29.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)24; strcpy(v29.__r_.__value_.__s.__data_, "Screen\nOffY:"); sub_100278250((float *)v35, 130.0, -50.0); sub_100278350(v32, &v33, v35); SetupTriggerPopup::createValueControlAdvanced( (__int64)v1, 291, &v29, (__int64)v32, 0, 1u, 0.60000002, -1.0, 1.0, 6u, 0, 0, 0x65u, 0, 2u, 0); if ( (*(_BYTE *)&v29.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v29.__r_.__value_.__l.__data_); LOBYTE(v32[0]) = 18; strcpy((char *)v32 + 1, "CenterID:"); sub_100278250((float *)&v5, 130.0, 0.0); sub_100278350((double *)v35, &v33, &v5); IDNameInput::create((_DWORD)v1, (_DWORD)v1 + 544, 1, 51, (unsigned int)v32, (unsigned int)v35, 6, 100, 0, 0); if ( (LOBYTE(v32[0]) & 1) != 0 ) operator delete(*(void **)&v32[2]); LOBYTE(v19) = 4; strcpy((char *)&v19 + 1, "P1"); sub_100278250((float *)v35, 90.0, -40.0); sub_100278350(v32, &v33, v35); SetupTriggerPopup::createToggleValueControl((int)v1, 138, &v19, (__int64)v32, 0, 0, 1.0, 100); if ( (v19 & 1) != 0 ) operator delete(v20); LOBYTE(v21) = 4; strcpy((char *)&v21 + 1, "P2"); sub_100278250((float *)v35, 160.0, -40.0); sub_100278350(v32, &v33, v35); v3 = (__m128)0x3F800000u; SetupTriggerPopup::createToggleValueControl((int)v1, 200, &v21, (__int64)v32, 0, 0, 1.0, 100); if ( (v21 & 1) != 0 ) operator delete(v22); *(double *)v3.i64 = (*(double (__fastcall **)(float *, __int64))(*(_QWORD *)v1 + 1464LL))(v1, 188); (*(void (__fastcall **)(float *, __int64, _QWORD))(*(_QWORD *)v1 + 1352LL))( v1, 100, _mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss(v3, (__m128)0LL)) & 1); (*(void (__fastcall **)(float *, __int64, _QWORD))(*(_QWORD *)v1 + 1352LL))( v1, 101, _mm_cvtsi128_si32((__m128i)_mm_cmpeq_ss(v3, (__m128)0LL)) & 1); sub_100278250((float *)v35, 65.0, -100.0); sub_100278350(v32, &v33, v35); return SetupTriggerPopup::createEasingControls((__int64)v1, (__int64)v32, 0, 0, 0.80000001); }
GD Web Decomp Icon

GD Web Decomp

Raw Source