// // SetupShaderEffectPopup::setupChromatic from 0x14044ddd0 to 0x14044e34f (1407 bytes) // // 2 xrefs: // > SetupShaderEffectPopup::init @ 0x14044a3b7 // > @ 0x1406da79c // // 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::setupChromatic(SetupShaderEffectPopup *a1) { double v2; // xmm0_8 __int64 v3; // rcx cocos2d::CCDirector *v4; // rax int v5; // eax double ToggleValueControl; // xmm0_8 int v7; // r9d __int128 v8; // [rsp+58h] [rbp-49h] BYREF __int64 v9; // [rsp+68h] [rbp-39h] __int64 v10; // [rsp+70h] [rbp-31h] __int128 v11; // [rsp+78h] [rbp-29h] BYREF __int64 v12; // [rsp+88h] [rbp-19h] __int64 v13; // [rsp+90h] [rbp-11h] char v14; // [rsp+110h] [rbp+6Fh] BYREF float v15; // [rsp+118h] [rbp+77h] __int128 *v16; // [rsp+120h] [rbp+7Fh] BYREF v9 = 15; v10 = 15; strcpy((char *)&v8, "Setup Chromatic"); SetupTriggerPopup::addTitle(a1, &v8); v16 = &v8; v8 = 0; v9 = 0; v10 = 15; *(_QWORD *)&v8 = sub_14003AA10(0xD0u); v9 = 202; v10 = 207; strcpy( (char *)v8, "Applies chromatic aberration.\n" "Use X and Y sets which axis is affected.\n" "TargetX and TargetY define how strong the effect is.\n" "FadeTime is time until final state is reached."); v11 = 0; v12 = 4; v13 = 15; strcpy((char *)&v11, "Help"); v2 = SetupTriggerPopup::addHelpButton(a1, &v11, &v8); v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v3); cocos2d::CCDirector::getWinSize(v4); cocos2d::CCPoint::CCPoint(*(float *)&v2, v15 * 0.5); v12 = 8; v13 = 15; v11 = 0x3A58746567726154uLL; cocos2d::CCPoint::CCPoint(0.0, -100.0); cocos2d::CCPoint::operator+(&v14, &v16); SetupTriggerPopup::createValueControl( (_DWORD)a1, 180, (unsigned int)&v11, (unsigned int)&v16, 1060320051, 0, 1084227584); v12 = 8; v13 = 15; v11 = 0x3A59746567726154uLL; cocos2d::CCPoint::CCPoint(0.0, 100.0); cocos2d::CCPoint::operator+(&v14, &v16); SetupTriggerPopup::createValueControl( (_DWORD)a1, 189, (unsigned int)&v11, (unsigned int)&v16, 1060320051, 0, 1084227584); *((_QWORD *)&v8 + 1) = 58; v9 = 9; v10 = 15; *(_QWORD *)&v8 = 0x656D695465646146LL; cocos2d::CCPoint::CCPoint(6.7405871e22, -100.0); cocos2d::CCPoint::operator+(&v14, &v16); SetupTriggerPopup::createValueControl((_DWORD)a1, 10, (unsigned int)&v8, (unsigned int)&v16, 1060320051, 0, 0); v8 = 0; v9 = 5; v10 = 15; strcpy((char *)&v8, "Use X"); cocos2d::CCPoint::CCPoint(0.0, 45.0); cocos2d::CCPoint::operator+(&v14, &v16); SetupTriggerPopup::createToggleValueControl( (_DWORD)a1, 188, (unsigned int)&v8, (unsigned int)&v16, 0, 0, 0, 1065353216); v8 = 0; v9 = 5; v10 = 15; strcpy((char *)&v8, "Use Y"); cocos2d::CCPoint::CCPoint(0.0, 130.0); cocos2d::CCPoint::operator+(&v14, &v16); SetupTriggerPopup::createToggleValueControl( (_DWORD)a1, 190, (unsigned int)&v8, (unsigned int)&v16, 0, 0, 0, 1065353216); v16 = &v11; v12 = 8; v13 = 15; v11 = 0x65766974616C6552uLL; cocos2d::CCPoint::CCPoint(v15 * 0.5, (float)((float)((float)(a1->m_width * 0.5) + (float)(v15 * 0.5)) - 72.0) - 90.0); ToggleValueControl = SetupTriggerPopup::createToggleValueControl( (_DWORD)a1, 514, (unsigned int)&v11, v5, 0, 0, 0, 1065353216); cocos2d::CCPoint::CCPoint(*(float *)&ToggleValueControl, 0.0); cocos2d::CCPoint::operator+(&v14, &v16); SetupTriggerPopup::createEasingControls(a1, (cocos2d::CCPoint)&v16, 1.0, v7, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source