// // SetupShaderEffectPopup::setupHueShift from 0x1002bb6f0 to 0x1002bb99a (682 bytes) // // 1 xrefs: // > SetupShaderEffectPopup::init @ 0x1002b2f17 // // 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:04 +0000 // __int64 __fastcall SetupShaderEffectPopup::setupHueShift(void *a1) { __int64 v1; // rbx __int64 v2; // rax __int128 v4; // [rsp+40h] [rbp-B0h] BYREF void *v5; // [rsp+50h] [rbp-A0h] __int128 v6; // [rsp+58h] [rbp-98h] BYREF void *v7; // [rsp+68h] [rbp-88h] std::string v8; // [rsp+70h] [rbp-80h] BYREF __int128 v9; // [rsp+88h] [rbp-68h] BYREF void *v10; // [rsp+98h] [rbp-58h] float v11[2]; // [rsp+A0h] [rbp-50h] BYREF char v12; // [rsp+A8h] [rbp-48h] BYREF _BYTE v13[23]; // [rsp+A9h] [rbp-47h] BYREF unsigned __int64 v14; // [rsp+C0h] [rbp-30h] BYREF double v15; // [rsp+C8h] [rbp-28h] BYREF unsigned __int64 v16[4]; // [rsp+D0h] [rbp-20h] BYREF v1 = (__int64)a1; v12 = 30; strcpy(v13, "Setup Hue Shift"); SetupTriggerPopup::addTitle((__int64)a1, (__int64)&v12); if ( (v12 & 1) != 0 ) operator delete(*(void **)&v13[15]); LOBYTE(v4) = 8; strcpy((char *)&v4 + 1, "Help"); v7 = operator new(0x98u); *(_QWORD *)&v6 = 153; *((_QWORD *)&v6 + 1) = 146; strcpy( (char *)v7, "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, &v4, &v6, 1.0); if ( (v6 & 1) != 0 ) { a1 = v7; operator delete(v7); } if ( (v4 & 1) != 0 ) { a1 = v5; operator delete(v5); } v2 = cocos2d::CCDirector::sharedDirector(a1, &v4); cocos2d::CCDirector::getWinSize(v11, v2); sub_100278250((float *)&v14, v11[0] * 0.5, (float)(0.5 * v11[1]) + 85.0); v8.__r_.__value_.__s.0 = (std::string::__short::$7162EEB0FEF29CC674EFA33D0008C7E0)16; strcpy(v8.__r_.__value_.__s.__data_, "Degrees:"); sub_100278250((float *)v16, -100.0, 0.0); sub_100278350(&v15, &v14, v16); SetupTriggerPopup::createValueControlAdvanced( v1, 176, &v8, (__int64)&v15, 0, 2u, 0.69999999, -180.0, 180.0, 6u, 0, 0, 0, 0, 2u, 0); if ( (*(_BYTE *)&v8.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v8.__r_.__value_.__l.__data_); LOBYTE(v9) = 18; strcpy((char *)&v9 + 1, "FadeTime:"); sub_100278250((float *)v16, 100.0, 0.0); sub_100278350(&v15, &v14, v16); SetupTriggerPopup::createValueControl(v1, 0xAu, &v9, (__int64)&v15, 0.69999999, 0.0, 0.0); if ( (v9 & 1) != 0 ) operator delete(v10); sub_100278250((float *)v16, 0.0, -100.0); sub_100278350(&v15, &v14, v16); return SetupTriggerPopup::createEasingControls(v1, (__int64)&v15, 0, 0, 1.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source