// // SetupShaderEffectPopup::setupSplitScreen from 0x1404540e0 to 0x1404545bf (1247 bytes) // // 2 xrefs: // > SetupShaderEffectPopup::init @ 0x14044a442 // > @ 0x1406da844 // // 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::setupSplitScreen(SetupShaderEffectPopup *a1) { double v2; // xmm0_8 __int64 v3; // rcx cocos2d::CCDirector *v4; // rax double ToggleValueControl; // xmm0_8 int v6; // r9d __int128 v7; // [rsp+58h] [rbp-49h] BYREF __int64 v8; // [rsp+68h] [rbp-39h] __int64 v9; // [rsp+70h] [rbp-31h] __int128 v10; // [rsp+78h] [rbp-29h] BYREF __int64 v11; // [rsp+88h] [rbp-19h] __int64 v12; // [rsp+90h] [rbp-11h] char v13; // [rsp+110h] [rbp+6Fh] BYREF float v14; // [rsp+118h] [rbp+77h] __int128 *v15; // [rsp+120h] [rbp+7Fh] BYREF v7 = 0; *(_QWORD *)&v7 = sub_14003AA10(0x20u); v8 = 18; v9 = 31; strcpy((char *)v7, "Setup Split Screen"); SetupTriggerPopup::addTitle(a1, &v7); v15 = &v7; v7 = 0; v8 = 0; v9 = 15; *(_QWORD *)&v7 = sub_14003AA10(0xE0u); v8 = 212; v9 = 223; 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."); v10 = 0; v11 = 4; v12 = 15; strcpy((char *)&v10, "Help"); v2 = SetupTriggerPopup::addHelpButton(a1, &v10, &v7); v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v3); cocos2d::CCDirector::getWinSize(v4); cocos2d::CCPoint::CCPoint(*(float *)&v2, v14 * 0.5); v11 = 8; v12 = 15; v10 = 0x3A58746567726154uLL; cocos2d::CCPoint::CCPoint(0.0, -100.0); cocos2d::CCPoint::operator+(&v13, &v15); SetupTriggerPopup::createValueControl( (_DWORD)a1, 180, (unsigned int)&v10, (unsigned int)&v15, 1060320051, -1065353216, 1077936128); v11 = 8; v12 = 15; v10 = 0x3A59746567726154uLL; cocos2d::CCPoint::CCPoint(0.0, 100.0); cocos2d::CCPoint::operator+(&v13, &v15); SetupTriggerPopup::createValueControl( (_DWORD)a1, 189, (unsigned int)&v10, (unsigned int)&v15, 1060320051, -1065353216, 1077936128); *((_QWORD *)&v7 + 1) = 58; v8 = 9; v9 = 15; *(_QWORD *)&v7 = 0x656D695465646146LL; cocos2d::CCPoint::CCPoint(6.7405871e22, -100.0); cocos2d::CCPoint::operator+(&v13, &v15); SetupTriggerPopup::createValueControl((_DWORD)a1, 10, (unsigned int)&v7, (unsigned int)&v15, 1060320051, 0, 0); v7 = 0; v8 = 5; v9 = 15; strcpy((char *)&v7, "Use X"); cocos2d::CCPoint::CCPoint(0.0, 45.0); cocos2d::CCPoint::operator+(&v13, &v15); SetupTriggerPopup::createToggleValueControl( (_DWORD)a1, 188, (unsigned int)&v7, (unsigned int)&v15, 0, 0, 0, 1065353216); v7 = 0; v8 = 5; v9 = 15; strcpy((char *)&v7, "Use Y"); cocos2d::CCPoint::CCPoint(0.0, 130.0); cocos2d::CCPoint::operator+(&v13, &v15); ToggleValueControl = SetupTriggerPopup::createToggleValueControl( (_DWORD)a1, 190, (unsigned int)&v7, (unsigned int)&v15, 0, 0, 0, 1065353216); cocos2d::CCPoint::CCPoint(*(float *)&ToggleValueControl, 0.0); cocos2d::CCPoint::operator+(&v13, &v15); SetupTriggerPopup::createEasingControls(a1, (cocos2d::CCPoint)&v15, 1.0, v6, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source