// // SetupShaderEffectPopup::setupHueShift from 0x1002cea20 to 0x1002cecca (682 bytes) // // 1 xrefs: // > SetupShaderEffectPopup::init @ 0x1002c6244 // // 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 // void __fastcall SetupShaderEffectPopup::setupHueShift(SetupShaderEffectPopup *a1) { char v1; // [rsp+40h] [rbp-B0h] BYREF char v2[15]; // [rsp+41h] [rbp-AFh] BYREF void *v3; // [rsp+50h] [rbp-A0h] __int128 v4; // [rsp+58h] [rbp-98h] BYREF void *v5; // [rsp+68h] [rbp-88h] char v6; // [rsp+70h] [rbp-80h] BYREF _BYTE v7[23]; // [rsp+71h] [rbp-7Fh] BYREF __int128 v8; // [rsp+88h] [rbp-68h] BYREF void *v9; // [rsp+98h] [rbp-58h] float v10[2]; // [rsp+A0h] [rbp-50h] BYREF char v11; // [rsp+A8h] [rbp-48h] BYREF _BYTE v12[23]; // [rsp+A9h] [rbp-47h] BYREF unsigned __int64 v13; // [rsp+C0h] [rbp-30h] BYREF double v14; // [rsp+C8h] [rbp-28h] BYREF unsigned __int64 v15[4]; // [rsp+D0h] [rbp-20h] BYREF v11 = 30; strcpy(v12, "Setup Hue Shift"); SetupTriggerPopup::addTitle((__int64)a1, (__int64)&v11); if ( (v11 & 1) != 0 ) operator delete(*(void **)&v12[15]); v1 = 8; strcpy(v2, "Help"); v5 = operator new(0x98u); *(_QWORD *)&v4 = 153; *((_QWORD *)&v4 + 1) = 146; strcpy( (char *)v5, "Changes the hue of the screen.\n" "Degrees is how much the colors should shift.\n" "FadeTime is time until final state is reached."); SetupTriggerPopup::addHelpButton((__int64)a1, (__int64)&v1, &v4, (__m128)0x3F800000u); if ( (v4 & 1) != 0 ) operator delete(v5); if ( (v1 & 1) != 0 ) operator delete(v3); cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v10); sub_10028CBE0((float *)&v13, v10[0] * 0.5, (float)(0.5 * v10[1]) + 85.0); v6 = 16; strcpy(v7, "Degrees:"); sub_10028CBE0((float *)v15, -100.0, 0.0); sub_10028CCE0(&v14, &v13, v15); SetupTriggerPopup::createValueControlAdvanced( (__int64)a1, 176, (__int64)&v6, (float *)&v14, 0, Int, 0.69999999, -180.0, 180.0, 6, 0, 0, 0, 0, 2, 0); if ( (v6 & 1) != 0 ) operator delete(*(void **)&v7[15]); LOBYTE(v8) = 18; strcpy((char *)&v8 + 1, "FadeTime:"); sub_10028CBE0((float *)v15, 100.0, 0.0); sub_10028CCE0(&v14, &v13, v15); SetupTriggerPopup::createValueControl((int)a1, 10, &v8, COERCE_DOUBLE(1060320051), 0.0, 0.0); if ( (v8 & 1) != 0 ) operator delete(v9); sub_10028CBE0((float *)v15, 0.0, -100.0); sub_10028CCE0(&v14, &v13, v15); SetupTriggerPopup::createEasingControls(a1, (cocos2d::CCPoint)1065353216LL, -100.0, (int)&v14, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source