// // SetupShaderEffectPopup::setupSplitScreen from 0x1002bc090 to 0x1002bc49e (1038 bytes) // // 1 xrefs: // > SetupShaderEffectPopup::init @ 0x1002b2f35 // // 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::setupSplitScreen(void *a1) { __int64 v1; // rbx __int64 v2; // rax __int128 v4; // [rsp+8h] [rbp-F8h] BYREF void *v5; // [rsp+18h] [rbp-E8h] __int128 v6; // [rsp+20h] [rbp-E0h] BYREF void *v7; // [rsp+30h] [rbp-D0h] __int128 v8; // [rsp+38h] [rbp-C8h] BYREF void *v9; // [rsp+48h] [rbp-B8h] __int128 v10; // [rsp+50h] [rbp-B0h] BYREF void *v11; // [rsp+60h] [rbp-A0h] __int128 v12; // [rsp+68h] [rbp-98h] BYREF void *v13; // [rsp+78h] [rbp-88h] __int128 v14; // [rsp+80h] [rbp-80h] BYREF void *v15; // [rsp+90h] [rbp-70h] __int128 v16; // [rsp+98h] [rbp-68h] BYREF void *v17; // [rsp+A8h] [rbp-58h] float v18[2]; // [rsp+B0h] [rbp-50h] BYREF void *v19[3]; // [rsp+B8h] [rbp-48h] BYREF unsigned __int64 v20; // [rsp+D0h] [rbp-30h] BYREF double v21; // [rsp+D8h] [rbp-28h] BYREF unsigned __int64 v22[4]; // [rsp+E0h] [rbp-20h] BYREF v1 = (__int64)a1; strcpy((char *)v19, "$Setup Split Screen"); SetupTriggerPopup::addTitle((__int64)a1, (__int64)v19); if ( ((__int64)v19[0] & 1) != 0 ) operator delete(v19[2]); LOBYTE(v4) = 8; strcpy((char *)&v4 + 1, "Help"); v7 = operator new(0xD8u); *(_QWORD *)&v6 = 217; *((_QWORD *)&v6 + 1) = 212; strcpy( (char *)v7, "Splits the screen in several sections.\n" "Use X and Y set which direction to split in.\n" "TargetX and TargetY set how many sections to add.\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(v18, v2); sub_100278250((float *)&v20, v18[0] * 0.5, (float)(0.5 * v18[1]) + 85.0); LOBYTE(v8) = 16; strcpy((char *)&v8 + 1, "TargetX:"); sub_100278250((float *)v22, -100.0, 0.0); sub_100278350(&v21, &v20, v22); SetupTriggerPopup::createValueControl(v1, 0xB4u, &v8, (__int64)&v21, 0.69999999, -4.0, 3.0); if ( (v8 & 1) != 0 ) operator delete(v9); LOBYTE(v10) = 16; strcpy((char *)&v10 + 1, "TargetY:"); sub_100278250((float *)v22, 100.0, 0.0); sub_100278350(&v21, &v20, v22); SetupTriggerPopup::createValueControl(v1, 0xBDu, &v10, (__int64)&v21, 0.69999999, -4.0, 3.0); if ( (v10 & 1) != 0 ) operator delete(v11); LOBYTE(v12) = 18; strcpy((char *)&v12 + 1, "FadeTime:"); sub_100278250((float *)v22, -100.0, -50.0); sub_100278350(&v21, &v20, v22); SetupTriggerPopup::createValueControl(v1, 0xAu, &v12, (__int64)&v21, 0.69999999, 0.0, 0.0); if ( (v12 & 1) != 0 ) operator delete(v13); strcpy((char *)&v14, "\nUse X"); sub_100278250((float *)v22, 45.0, -55.0); sub_100278350(&v21, &v20, v22); SetupTriggerPopup::createToggleValueControl(v1, 188, &v14, (__int64)&v21, 0, 0, 1.0, 0); if ( (v14 & 1) != 0 ) operator delete(v15); strcpy((char *)&v16, "\nUse Y"); sub_100278250((float *)v22, 130.0, -55.0); sub_100278350(&v21, &v20, v22); SetupTriggerPopup::createToggleValueControl(v1, 190, &v16, (__int64)&v21, 0, 0, 1.0, 0); if ( (v16 & 1) != 0 ) operator delete(v17); sub_100278250((float *)v22, 0.0, -100.0); sub_100278350(&v21, &v20, v22); return SetupTriggerPopup::createEasingControls(v1, (__int64)&v21, 0, 0, 1.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source