// // SetupShaderEffectPopup::setupMotionBlur from 0x140450630 to 0x140451191 (2913 bytes) // // 2 xrefs: // > SetupShaderEffectPopup::init @ 0x14044a3f2 // > @ 0x1406da7d8 // // 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::setupMotionBlur(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 double ToggleValueControl; // xmm0_8 double v11; // xmm0_8 int v12; // r9d char v13; // [rsp+80h] [rbp-88h] __int64 v14; // [rsp+80h] [rbp-88h] __int128 v15; // [rsp+98h] [rbp-70h] BYREF __int64 v16; // [rsp+A8h] [rbp-60h] __int64 v17; // [rsp+B0h] [rbp-58h] __int128 v18; // [rsp+B8h] [rbp-50h] BYREF __int64 v19; // [rsp+C8h] [rbp-40h] __int64 v20; // [rsp+D0h] [rbp-38h] char v21; // [rsp+160h] [rbp+58h] BYREF float v22; // [rsp+168h] [rbp+60h] __int128 *v23; // [rsp+170h] [rbp+68h] BYREF v15 = 0; *(_QWORD *)&v15 = sub_14003AA10(0x20u); v16 = 17; v17 = 31; strcpy((char *)v15, "Setup Motion Blur"); SetupTriggerPopup::addTitle(a1, &v15); v23 = &v15; v15 = 0; v16 = 0; v17 = 15; v2 = sub_14003AA10(0x1C0u); *(_QWORD *)&v15 = v2; v16 = 446; v17 = 447; v3 = v2; v4 = "Applies motion blur.\n" "TargetX and TargetY is how much blur to apply to each axis.\n" "FadeTime is time until final state is reached.\n" "Fade sets how much blur fades out at the edges.\n" "DualDir blurs in both directions instead of the default.\n" "Target lets you set a specific target object as the reference.\n" "You can also reference the player using P1 and P2 or the center of the screen using C."; 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); v3[6] = *((_QWORD *)v4 + 6); *((_DWORD *)v3 + 14) = *((_DWORD *)v4 + 14); *((_WORD *)v3 + 30) = *((_WORD *)v4 + 30); *((_BYTE *)v2 + 446) = 0; v18 = 0; v19 = 4; v20 = 15; strcpy((char *)&v18, "Help"); v6 = SetupTriggerPopup::addHelpButton(a1, &v18, &v15); v8 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v7); cocos2d::CCDirector::getWinSize(v8); cocos2d::CCPoint::CCPoint(*(float *)&v6, v22 * 0.5); v19 = 8; v20 = 15; v18 = 0x3A58746567726154uLL; cocos2d::CCPoint::CCPoint(0.0, -130.0); cocos2d::CCPoint::operator+(&v21, &v23); SetupTriggerPopup::createValueControl((_DWORD)a1, 180, (unsigned int)&v18, (unsigned int)&v23, 1058642330, 0, 0); v19 = 8; v20 = 15; v18 = 0x3A59746567726154uLL; cocos2d::CCPoint::CCPoint(0.0, 0.0); cocos2d::CCPoint::operator+(&v21, &v23); SetupTriggerPopup::createValueControl((_DWORD)a1, 189, (unsigned int)&v18, (unsigned int)&v23, 1058642330, 0, 0); *((_QWORD *)&v15 + 1) = 58; v16 = 9; v17 = 15; *(_QWORD *)&v15 = 0x656D695465646146LL; cocos2d::CCPoint::CCPoint(6.7405871e22, -130.0); cocos2d::CCPoint::operator+(&v21, &v23); SetupTriggerPopup::createValueControl((_DWORD)a1, 10, (unsigned int)&v15, (unsigned int)&v23, 1058642330, 0, 0); v15 = 0; v16 = 5; v17 = 15; strcpy((char *)&v15, "Use\nX"); cocos2d::CCPoint::CCPoint(0.0, -45.0); cocos2d::CCPoint::operator+(&v21, &v23); SetupTriggerPopup::createToggleValueControl( (_DWORD)a1, 188, (unsigned int)&v15, (unsigned int)&v23, 0, 0, 0, 1065353216); v15 = 0; v16 = 5; v17 = 15; strcpy((char *)&v15, "Use\nY"); cocos2d::CCPoint::CCPoint(0.0, 20.0); cocos2d::CCPoint::operator+(&v21, &v23); SetupTriggerPopup::createToggleValueControl( (_DWORD)a1, 190, (unsigned int)&v15, (unsigned int)&v23, 0, 0, 0, 1065353216); *((_QWORD *)&v15 + 1) = 14969; v16 = 10; v17 = 15; *(_QWORD *)&v15 = 0x7469736E65746E49LL; cocos2d::CCPoint::CCPoint(7.2143239e22, -130.0); cocos2d::CCPoint::operator+(&v21, &v23); SetupTriggerPopup::createValueControl( (_DWORD)a1, 176, (unsigned int)&v15, (unsigned int)&v23, 1058642330, 0, 1084227584); v15 = 0; v16 = 5; v17 = 15; strcpy((char *)&v15, "Fade:"); cocos2d::CCPoint::CCPoint(0.0, 0.0); cocos2d::CCPoint::operator+(&v21, &v23); SetupTriggerPopup::createValueControl( (_DWORD)a1, 181, (unsigned int)&v15, (unsigned int)&v23, 1058642330, 0, 1065353216); v16 = 12; v17 = 15; strcpy((char *)&v15, "Ref\nChannel:"); BYTE13(v15) = 0; HIWORD(v15) = 0; cocos2d::CCPoint::CCPoint(1.1093153e-32, 130.0); cocos2d::CCPoint::operator+(&v21, &v23); v13 = 0; SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, 71, (unsigned int)&v15, (unsigned int)&v23, 1058642330, 1, 2, 6, 0, 0, 0, 0, 0, 0, 2, v13, &v18, &v15); v16 = 12; v17 = 15; strcpy((char *)&v15, "Follow\nEase:"); BYTE13(v15) = 0; HIWORD(v15) = 0; cocos2d::CCPoint::CCPoint(1.1433279e27, 130.0); cocos2d::CCPoint::operator+(&v21, &v23); SetupTriggerPopup::createValueControl( (_DWORD)a1, 191, (unsigned int)&v15, (unsigned int)&v23, 1058642330, 0, 1092616192); v23 = &v18; v19 = 8; v20 = 15; v18 = 0x65766974616C6552uLL; cocos2d::CCPoint::CCPoint(v22 * 0.5, (float)((float)((float)(a1->m_width * 0.5) + (float)(v22 * 0.5)) - 72.0) - 90.0); SetupTriggerPopup::createToggleValueControl((_DWORD)a1, 514, (unsigned int)&v18, v9, 0, 0, 0, 1065353216); *((_QWORD *)&v15 + 1) = 58; v16 = 9; v17 = 15; *(_QWORD *)&v15 = 0x4449746567726154LL; cocos2d::CCPoint::CCPoint(1.1446081e24, 130.0); cocos2d::CCPoint::operator+(&v21, &v23); LOBYTE(v14) = 0; SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, 51, (unsigned int)&v15, (unsigned int)&v23, 1058642330, 1, 2, 6, 1, 0, 1065353216, 0, 0, 0, 2, v14); v18 = 0; v19 = 2; v20 = 15; strcpy((char *)&v18, "P1"); cocos2d::CCPoint::CCPoint(0.0, 100.0); cocos2d::CCPoint::operator+(&v21, &v23); SetupTriggerPopup::createToggleValueControl( (_DWORD)a1, 138, (unsigned int)&v18, (unsigned int)&v23, 0, 0, 0, 1065353216); v18 = 0; v19 = 2; v20 = 15; strcpy((char *)&v18, "P2"); cocos2d::CCPoint::CCPoint(0.0, 160.0); cocos2d::CCPoint::operator+(&v21, &v23); SetupTriggerPopup::createToggleValueControl( (_DWORD)a1, 200, (unsigned int)&v18, (unsigned int)&v23, 0, 0, 0, 1065353216); v18 = 0; v19 = 1; v20 = 15; LOWORD(v18) = 67; cocos2d::CCPoint::CCPoint(0.0, 130.0); cocos2d::CCPoint::operator+(&v21, &v23); ToggleValueControl = SetupTriggerPopup::createToggleValueControl( (_DWORD)a1, 201, (unsigned int)&v18, (unsigned int)&v23, 0, 0, 0, 1065353216); v16 = 7; v17 = 15; v15 = 0x7269446C617544uLL; cocos2d::CCPoint::CCPoint(*(float *)&ToggleValueControl, 0.0); cocos2d::CCPoint::operator+(&v21, &v23); SetupTriggerPopup::createToggleValueControl( (_DWORD)a1, 194, (unsigned int)&v15, (unsigned int)&v23, 0, 0, 0, 1063675494); *((_QWORD *)&v15 + 1) = 121; v16 = 9; v17 = 15; *(_QWORD *)&v15 = 0x6C6E4F7974706D45LL; cocos2d::CCPoint::CCPoint(7.6194305e31, 0.0); cocos2d::CCPoint::operator+(&v21, &v23); v11 = SetupTriggerPopup::createToggleValueControl( (_DWORD)a1, 515, (unsigned int)&v15, (unsigned int)&v23, 0, 0, 0, 1063675494); cocos2d::CCPoint::CCPoint(*(float *)&v11, -110.0); cocos2d::CCPoint::operator+(&v21, &v23); SetupTriggerPopup::createEasingControls(a1, (cocos2d::CCPoint)&v23, 0.69999999, v12, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source