// // SetupShaderEffectPopup::setupLensCircle from 0x14044f2a0 to 0x14044fbea (2378 bytes) // // 2 xrefs: // > SetupShaderEffectPopup::init @ 0x14044a3de // > @ 0x1406da7c0 // // 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::setupLensCircle(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 int v11; // r9d char v12; // [rsp+80h] [rbp-88h] __int64 v13; // [rsp+80h] [rbp-88h] __int64 v14; // [rsp+80h] [rbp-88h] __int64 v15; // [rsp+80h] [rbp-88h] __int128 v16; // [rsp+98h] [rbp-70h] BYREF __int64 v17; // [rsp+A8h] [rbp-60h] __int64 v18; // [rsp+B0h] [rbp-58h] __int128 v19; // [rsp+B8h] [rbp-50h] BYREF __int64 v20; // [rsp+C8h] [rbp-40h] __int64 v21; // [rsp+D0h] [rbp-38h] char v22; // [rsp+170h] [rbp+68h] BYREF float v23; // [rsp+178h] [rbp+70h] __int128 *v24; // [rsp+180h] [rbp+78h] BYREF v16 = 0; *(_QWORD *)&v16 = sub_14003AA10(0x20u); v17 = 17; v18 = 31; strcpy((char *)v16, "Setup Lens Circle"); SetupTriggerPopup::addTitle(a1, &v16); v24 = &v16; v16 = 0; v17 = 0; v18 = 15; v2 = sub_14003AA10(0x1C0u); *(_QWORD *)&v16 = v2; v17 = 444; v18 = 447; v3 = v2; v4 = "Creates a lens circle.\n" "Size defines how big the circle is.\n" "Strength is the opacity of the circle.\n" "Fade sets how much the circle fades out at the edges.\n" "Screen OffX and OffY offsets the center of the effect.\n" "CenterID lets you set a specific target object as the center.\n" "FadeTime is time until final state is reached.\n" "Tint Channel lets you set a color channel to use for the circle."; 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); *((_BYTE *)v2 + 444) = 0; v19 = 0; v20 = 4; v21 = 15; strcpy((char *)&v19, "Help"); v6 = SetupTriggerPopup::addHelpButton(a1, &v19, &v16); v8 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v7); cocos2d::CCDirector::getWinSize(v8); cocos2d::CCPoint::CCPoint(*(float *)&v6, v23 * 0.5); v16 = 0; v17 = 5; v18 = 15; strcpy((char *)&v16, "Size:"); cocos2d::CCPoint::CCPoint(0.0, -100.0); cocos2d::CCPoint::operator+(&v22, &v24); SetupTriggerPopup::createValueControl((_DWORD)a1, 179, (unsigned int)&v16, (unsigned int)&v24, 1058642330, 0, 0); v16 = 0; v17 = 5; v18 = 15; strcpy((char *)&v16, "Fade:"); cocos2d::CCPoint::CCPoint(0.0, 100.0); cocos2d::CCPoint::operator+(&v22, &v24); SetupTriggerPopup::createValueControl((_DWORD)a1, 181, (unsigned int)&v16, (unsigned int)&v24, 1058642330, 0, 0); *((_QWORD *)&v16 + 1) = 58; v17 = 9; v18 = 15; *(_QWORD *)&v16 = 0x656D695465646146LL; cocos2d::CCPoint::CCPoint(6.7405871e22, -100.0); cocos2d::CCPoint::operator+(&v22, &v24); SetupTriggerPopup::createValueControl((_DWORD)a1, 10, (unsigned int)&v16, (unsigned int)&v24, 1058642330, 0, 0); *((_QWORD *)&v16 + 1) = 58; v17 = 9; v18 = 15; *(_QWORD *)&v16 = 0x6874676E65727453LL; cocos2d::CCPoint::CCPoint(7.1559906e22, 100.0); cocos2d::CCPoint::operator+(&v22, &v24); SetupTriggerPopup::createValueControl((_DWORD)a1, 176, (unsigned int)&v16, (unsigned int)&v24, 1058642330, 0, 0); v17 = 12; v18 = 15; strcpy((char *)&v16, "Screen\nOffX:"); BYTE13(v16) = 0; HIWORD(v16) = 0; cocos2d::CCPoint::CCPoint(7.1540306e22, -100.0); cocos2d::CCPoint::operator+(&v22, &v24); v12 = 0; SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, 290, (unsigned int)&v16, (unsigned int)&v24, 1058642330, 0, 1, 6, 0, -1082130432, 1065353216, 0, 101, 0, 2, v12, &v16, &v16); v17 = 12; v18 = 15; strcpy((char *)&v16, "Screen\nOffY:"); BYTE13(v16) = 0; HIWORD(v16) = 0; cocos2d::CCPoint::CCPoint(7.1540306e22, 100.0); cocos2d::CCPoint::operator+(&v22, &v24); LOBYTE(v13) = 0; SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, 291, (unsigned int)&v16, (unsigned int)&v24, 1058642330, 0, 1, 6, 0, -1082130432, 1065353216, 0, 101, 0, 2, v13); *((_QWORD *)&v16 + 1) = 58; v17 = 9; v18 = 15; *(_QWORD *)&v16 = 0x44497265746E6543LL; cocos2d::CCPoint::CCPoint(7.5550567e31, -100.0); cocos2d::CCPoint::operator+(&v22, &v24); LOBYTE(v14) = 0; SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, 51, (unsigned int)&v16, (unsigned int)&v24, 1058642330, 1, 2, 6, 0, 0, 0, 0, 0, 0, 2, v14); v19 = 0; v20 = 2; v21 = 15; strcpy((char *)&v19, "P1"); cocos2d::CCPoint::CCPoint(0.0, -140.0); cocos2d::CCPoint::operator+(&v22, &v24); SetupTriggerPopup::createToggleValueControl( (_DWORD)a1, 138, (unsigned int)&v19, (unsigned int)&v24, 0, 1, 0, 1065353216); v19 = 0; v20 = 2; v21 = 15; strcpy((char *)&v19, "P2"); cocos2d::CCPoint::CCPoint(0.0, -70.0); cocos2d::CCPoint::operator+(&v22, &v24); SetupTriggerPopup::createToggleValueControl( (_DWORD)a1, 200, (unsigned int)&v19, (unsigned int)&v24, 0, 1, 0, 1065353216); v17 = 13; v18 = 15; strcpy((char *)&v16, "Tint\nChannel:"); HIWORD(v16) = 0; cocos2d::CCPoint::CCPoint(7.5555601e31, 100.0); cocos2d::CCPoint::operator+(&v22, &v24); LOBYTE(v15) = 0; SetupTriggerPopup::createValueControlAdvanced( (_DWORD)a1, 71, (unsigned int)&v16, (unsigned int)&v24, 1058642330, 1, 2, 6, 0, 0, 0, 0, 0, 0, 2, v15); v24 = &v19; v20 = 8; v21 = 15; v19 = 0x65766974616C6552uLL; cocos2d::CCPoint::CCPoint(v23 * 0.5, (float)((float)((float)(a1->m_width * 0.5) + (float)(v23 * 0.5)) - 72.0) - 90.0); ToggleValueControl = SetupTriggerPopup::createToggleValueControl( (_DWORD)a1, 514, (unsigned int)&v19, v9, 0, 0, 0, 1065353216); cocos2d::CCPoint::CCPoint(*(float *)&ToggleValueControl, 100.0); cocos2d::CCPoint::operator+(&v22, &v24); SetupTriggerPopup::createEasingControls(a1, (cocos2d::CCPoint)&v24, 0.60000002, v11, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source