// // SetupShaderEffectPopup::setupSplitScreen from 0x1405e9980 to 0x1405e9e5b (1243 bytes) // // 2 xrefs: // > SetupShaderEffectPopup::init @ 0x1405dfb5b // > @ 0x14092eee0 // // 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 11:35:03 +0000 // // Hidden C++ exception states: #wind=3 double __fastcall SetupShaderEffectPopup::setupSplitScreen(__int64 a1) { __int64 v2; // rcx __int64 v3; // rax __int64 v4; // rax __int64 v5; // rax __int64 v6; // rax __int64 v7; // rax __int64 v8; // rax __int64 v9; // rax int v10; // r8d int v11; // r9d __int128 *v13; // [rsp+48h] [rbp-59h] BYREF __int128 *v14; // [rsp+50h] [rbp-51h] BYREF __int128 v15; // [rsp+58h] [rbp-49h] BYREF __int64 v16; // [rsp+68h] [rbp-39h] __int64 v17; // [rsp+70h] [rbp-31h] __int128 v18; // [rsp+78h] [rbp-29h] BYREF __int64 v19; // [rsp+88h] [rbp-19h] __int64 v20; // [rsp+90h] [rbp-11h] char v21; // [rsp+110h] [rbp+6Fh] BYREF float v22; // [rsp+118h] [rbp+77h] BYREF float v23; // [rsp+11Ch] [rbp+7Bh] __int128 *v24; // [rsp+120h] [rbp+7Fh] BYREF v15 = 0; *(_QWORD *)&v15 = sub_14003D460(0x20u); v16 = 18; v17 = 31; strcpy((char *)v15, "Setup Split Screen"); SetupTriggerPopup::addTitle(a1, &v15); v24 = &v15; v15 = 0; v16 = 0; v17 = 0; *(_QWORD *)&v15 = sub_14003D460(0xE0u); v16 = 212; v17 = 223; strcpy( (char *)v15, "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."); v18 = 0; v19 = 4; v20 = 15; strcpy((char *)&v18, "Help"); SetupTriggerPopup::addHelpButton(a1, &v18, &v15); v3 = cocos2d::CCDirector::sharedDirector(v2); cocos2d::CCDirector::getWinSize(v3, &v22); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v21, v22 * 0.5, (float)(v23 * 0.5) + 85.0); v13 = &v18; v19 = 8; v20 = 15; v18 = 0x3A58746567726154uLL; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v14, -100.0, 0.0); cocos2d::CCPoint::operator+(&v21, &v24, v4); SetupTriggerPopup::createValueControl( a1, 180, (unsigned int)&v18, (unsigned int)&v24, 1060320051, -1065353216, 1077936128); v14 = &v18; v19 = 8; v20 = 15; v18 = 0x3A59746567726154uLL; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, 100.0, 0.0); cocos2d::CCPoint::operator+(&v21, &v24, v5); SetupTriggerPopup::createValueControl( a1, 189, (unsigned int)&v18, (unsigned int)&v24, 1060320051, -1065353216, 1077936128); v14 = &v15; *((_QWORD *)&v15 + 1) = 58; v16 = 9; v17 = 15; *(_QWORD *)&v15 = 0x656D695465646146LL; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, -100.0, -50.0); cocos2d::CCPoint::operator+(&v21, &v24, v6); SetupTriggerPopup::createValueControl(a1, 10, (unsigned int)&v15, (unsigned int)&v24, 1060320051, 0, 0); v14 = &v15; v15 = 0; v16 = 5; v17 = 15; strcpy((char *)&v15, "Use X"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, 45.0, -55.0); cocos2d::CCPoint::operator+(&v21, &v24, v7); SetupTriggerPopup::createToggleValueControl(a1, 188, (unsigned int)&v15, (unsigned int)&v24, 0, 0, 0, 1065353216); v14 = &v15; v15 = 0; v16 = 5; v17 = 15; strcpy((char *)&v15, "Use Y"); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, 130.0, -55.0); cocos2d::CCPoint::operator+(&v21, &v24, v8); SetupTriggerPopup::createToggleValueControl(a1, 190, (unsigned int)&v15, (unsigned int)&v24, 0, 0, 0, 1065353216); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v14, 0.0, -100.0); cocos2d::CCPoint::operator+(&v21, &v24, v9); return SetupTriggerPopup::createEasingControls(a1, (unsigned int)&v24, v10, v11, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source