// // GameSettingsLayer::buildTabContent from 0x1402c2df0 to 0x1402c51f9 (9225 bytes) // // 2 xrefs: // > GameSettingsLayer::create @ 0x1402c2865 // > @ 0x14091dba0 // // 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:29:21 +0000 // // Hidden C++ exception states: #wind=2 __int64 __fastcall GameSettingsLayer::buildTabContent(__int64 a1) { _QWORD *v2; // rsi _QWORD *v3; // r15 _QWORD *v4; // r12 _QWORD *v5; // r15 __int64 v6; // r8 _QWORD *v7; // rdi __int64 v8; // r9 __int64 v9; // r8 int v10; // ecx __int64 v11; // rcx char isItemUnlocked; // al __int64 v13; // rcx __int64 result; // rax _BYTE v15[16]; // [rsp+30h] [rbp-D0h] BYREF _BYTE v16[16]; // [rsp+40h] [rbp-C0h] BYREF char v17[16]; // [rsp+50h] [rbp-B0h] BYREF char v18[16]; // [rsp+60h] [rbp-A0h] BYREF char v19[16]; // [rsp+70h] [rbp-90h] BYREF char v20[16]; // [rsp+80h] [rbp-80h] BYREF char v21[16]; // [rsp+90h] [rbp-70h] BYREF char v22[16]; // [rsp+A0h] [rbp-60h] BYREF char v23[16]; // [rsp+B0h] [rbp-50h] BYREF char v24[16]; // [rsp+C0h] [rbp-40h] BYREF char v25[16]; // [rsp+D0h] [rbp-30h] BYREF char v26[16]; // [rsp+E0h] [rbp-20h] BYREF char v27[16]; // [rsp+F0h] [rbp-10h] BYREF char v28[16]; // [rsp+100h] [rbp+0h] BYREF char v29[16]; // [rsp+110h] [rbp+10h] BYREF char v30[16]; // [rsp+120h] [rbp+20h] BYREF char v31[16]; // [rsp+130h] [rbp+30h] BYREF char v32[16]; // [rsp+140h] [rbp+40h] BYREF char v33[64]; // [rsp+150h] [rbp+50h] BYREF void *v34; // [rsp+1A0h] [rbp+A0h] BYREF void *v35; // [rsp+1A8h] [rbp+A8h] v2 = (_QWORD *)(a1 + 1000); if ( (int)((*(_QWORD *)(a1 + 1008) - *(_QWORD *)(a1 + 1000)) / 88LL) > 0 ) *(_DWORD *)(a1 + 1052) = 0; v3 = (_QWORD *)(a1 + 1000); LODWORD(v34) = atoi("0026"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0026"; GameSettingsLayer::addToggle( a1, (unsigned int)"Auto-Retry", (_DWORD)v34, (unsigned int)"Restarts level upon death automatically.", 0); LODWORD(v34) = atoi("0052"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0052"; GameSettingsLayer::addToggle( a1, (unsigned int)"Faster Reset", (_DWORD)v34, (unsigned int)"Restarts in 0.5s instead of 1.0s upon death.", 0); LODWORD(v34) = atoi("0177"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0177"; GameSettingsLayer::addToggle( a1, (unsigned int)"Click Between Steps", (_DWORD)v34, (unsigned int)"Toggles substeps on, allowing you to click in-between the default normal steps. This may affect performance.", 0); LODWORD(v34) = atoi("0176"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0176"; GameSettingsLayer::addToggle( a1, (unsigned int)"Click On Steps", (_DWORD)v34, (unsigned int)"Allows you to click on every step, regardless of your refresh rate. This is beneficial for users below 240 Hz.", 0); LODWORD(v34) = atoi("0128"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0128"; GameSettingsLayer::addToggle( a1, (unsigned int)"Lock Cursor In-Game", (_DWORD)v34, (unsigned int)"Locks and hides cursor during gameplay.", 0); LODWORD(v34) = atoi("0010"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0010"; GameSettingsLayer::addToggle( a1, (unsigned int)"Flip 2-Player\nControls", (_DWORD)v34, (unsigned int)"Flips which side controls which player during 2-player mode.", 0); LODWORD(v34) = atoi("0011"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0011"; GameSettingsLayer::addToggle( a1, (unsigned int)"Always Limit\nControls", (_DWORD)v34, (unsigned int)"Limits player 1 controls to one side even when dual mode is inactive.", 0); LODWORD(v34) = atoi("0028"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0028"; GameSettingsLayer::addToggle( a1, (unsigned int)"Disable Thumbstick", (_DWORD)v34, (unsigned int)"Disables mouse movement when using a controller thumbstick.", 0); LODWORD(v34) = atoi("0203"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0203"; GameSettingsLayer::addToggle( a1, (unsigned int)"Disable Auto\nCreator Controls", (_DWORD)v34, (unsigned int)"Ignores creator controls in platformer levels.", 0); GameSettingsLayer::addToggle(a1, (unsigned int)"Progress Bar", -1, 0, 0); LODWORD(v34) = atoi("0040"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0040"; GameSettingsLayer::addToggle(a1, (unsigned int)"Percentage", (_DWORD)v34, 0, 0); LODWORD(v34) = atoi("0145"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0145"; GameSettingsLayer::addToggle(a1, (unsigned int)"Show Time", (_DWORD)v34, 0, 0); v4 = v2; if ( (int)((v2[1] - *v2) / 88LL) > 1 ) { *(_DWORD *)(a1 + 1052) = 1; v4 = v3; } LODWORD(v34) = atoi("0024"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0024"; GameSettingsLayer::addToggle( a1, (unsigned int)"Show Cursor In-Game", (_DWORD)v34, (unsigned int)"Shows cursor and pause button during gameplay.", 0); LODWORD(v34) = atoi("0135"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0135"; GameSettingsLayer::addToggle( a1, (unsigned int)"Hide Attempts", (_DWORD)v34, (unsigned int)"Hides the attempt counter when playing levels.", 0); LODWORD(v34) = atoi("0015"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0015"; GameSettingsLayer::addToggle( a1, (unsigned int)"Flip Pause Button", (_DWORD)v34, (unsigned int)"Flips the location of the pause button.", 0); LODWORD(v34) = atoi("0129"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0129"; GameSettingsLayer::addToggle( a1, (unsigned int)"Disable Portal Guide", (_DWORD)v34, (unsigned int)"Disables extra indicators on portals.", 0); LODWORD(v34) = atoi("0130"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0130"; GameSettingsLayer::addToggle( a1, (unsigned int)"Orb Guide", (_DWORD)v34, (unsigned int)"Enables extra indicators on orbs.", 0); LODWORD(v34) = atoi("0140"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0140"; GameSettingsLayer::addToggle( a1, (unsigned int)"Disable Orb Scale", (_DWORD)v34, (unsigned int)"Disables the scaling effect on all orbs.", 0); LODWORD(v34) = atoi("0141"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0141"; GameSettingsLayer::addToggle( a1, (unsigned int)"Disable Trigger\nOrb Scale", (_DWORD)v34, (unsigned int)"Disables the scaling effect on only trigger orbs.", 0); LODWORD(v34) = atoi("0172"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0172"; GameSettingsLayer::addToggle( a1, (unsigned int)"Disable Shake", (_DWORD)v34, (unsigned int)"Disables shake effects.", 0); LODWORD(v34) = atoi("0014"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0014"; GameSettingsLayer::addToggle( a1, (unsigned int)"Disable Explosion\nShake", (_DWORD)v34, (unsigned int)"Disables the shake effect that happens upon death.", 0); LODWORD(v34) = atoi("0072"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0072"; GameSettingsLayer::addToggle( a1, (unsigned int)"Disable Gravity\nEffect", (_DWORD)v34, (unsigned int)"Disables the effect that happens upon changing gravity.", 0); LODWORD(v34) = atoi("0060"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0060"; GameSettingsLayer::addToggle( a1, (unsigned int)"Default Mini Icon", (_DWORD)v34, (unsigned int)"Sets player icon in mini mode to default.", 0); LODWORD(v34) = atoi("0061"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0061"; GameSettingsLayer::addToggle( a1, (unsigned int)"Switch Spider\nTeleport Color", (_DWORD)v34, (unsigned int)"Toggles between main and secondary color for the teleport effect in spider mode.", 0); LODWORD(v34) = atoi("0062"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0062"; GameSettingsLayer::addToggle( a1, (unsigned int)"Switch Dash\nFire Color", (_DWORD)v34, (unsigned int)"Toggles between main and secondary color for the fire effect from dash orbs.", 0); LODWORD(v34) = atoi("0096"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0096"; GameSettingsLayer::addToggle( a1, (unsigned int)"Switch Wave\nTrail Color", (_DWORD)v34, (unsigned int)"Toggles between main and secondary color for the trail in wave mode.", 0); LODWORD(v34) = atoi("0196"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0196"; GameSettingsLayer::addToggle( a1, (unsigned int)"Disable Player\nTrail", (_DWORD)v34, (unsigned int)"Hides the player trail in all modes except wave, including the trail from orbs and pads.", 0); LODWORD(v34) = atoi("0197"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0197"; GameSettingsLayer::addToggle( a1, (unsigned int)"Disable Wave\nTrail", (_DWORD)v34, (unsigned int)"Hides the trail in wave mode.", 0); LODWORD(v34) = atoi("0174"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0174"; GameSettingsLayer::addToggle( a1, (unsigned int)"Hide Playtest Text", (_DWORD)v34, (unsigned int)"Hides text in the top left when using start positions or ignore damage.", 0); LODWORD(v34) = atoi("0179"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0179"; GameSettingsLayer::addToggle( a1, (unsigned int)"Hitbox On Death", (_DWORD)v34, (unsigned int)"Shows hitboxes upon death in both normal and practice mode.", 0); LODWORD(v34) = atoi("0214"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0214"; GameSettingsLayer::addToggle( a1, (unsigned int)"Hitbox Trail\nOn Death", (_DWORD)v34, (unsigned int)"Shows a hitbox trail when you die, in normal and practice mode.", 0); LODWORD(v34) = atoi("0217"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0217"; GameSettingsLayer::addToggle( a1, (unsigned int)"Hitbox Trail\nHighlight", (_DWORD)v34, (unsigned int)"Draws the hitbox trail in solid red with no fade. Easier to see on some backgrounds.", 0); LODWORD(v34) = atoi("0249"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0249"; GameSettingsLayer::addToggle( a1, (unsigned int)"Legacy Pause\nProgress", (_DWORD)v34, (unsigned int)"Shows full Normal and Practice Mode progress bars in the pause menu instead of active session only.", 0); if ( (int)((v2[1] - *v2) / 88LL) > 2 ) { *(_DWORD *)(a1 + 1052) = 2; v2 = v4; } LODWORD(v34) = atoi("0071"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0071"; GameSettingsLayer::addToggle( a1, (unsigned int)"Hide Practice Buttons", (_DWORD)v34, (unsigned int)"Hides the checkpoint buttons shown in practice mode.", 0); LODWORD(v34) = atoi("0134"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0134"; GameSettingsLayer::addToggle( a1, (unsigned int)"Hide Attempts", (_DWORD)v34, (unsigned int)"Hides the attempt counter when playing levels in practice mode.", 0); LODWORD(v34) = atoi("0027"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0027"; GameSettingsLayer::addToggle( a1, (unsigned int)"Auto-Checkpoints", (_DWORD)v34, (unsigned int)"Places checkpoints automatically in practice mode.", 0); LODWORD(v34) = atoi("0234"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0234"; GameSettingsLayer::addToggle( a1, (unsigned int)"No Auto-Checkpoints\nFor Start Pos", (_DWORD)v34, (unsigned int)"Disables automatic checkpoints when using StartPos in Practice mode.", 0); LODWORD(v34) = atoi("0068"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0068"; GameSettingsLayer::addToggle( a1, (unsigned int)"Quick-Checkpoints", (_DWORD)v34, (unsigned int)"Tries to place checkpoints more often in practice mode.", 0); LODWORD(v34) = atoi("0100"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0100"; GameSettingsLayer::addToggle( a1, (unsigned int)"Death Effect", (_DWORD)v34, (unsigned int)"Shows death effects in practice mode.", 0); LODWORD(v34) = atoi("0212"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0212"; GameSettingsLayer::addToggle( a1, (unsigned int)"Skip Death Triggers", (_DWORD)v34, (unsigned int)"Skips On Death triggers and extra reset time in practice mode.", 0); LODWORD(v34) = atoi("0125"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0125"; GameSettingsLayer::addToggle( a1, (unsigned int)"Normal Music\nIn Editor", (_DWORD)v34, (unsigned int)"Plays normal music in sync to editor levels in practice mode.", 0); LODWORD(v34) = atoi("0166"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0166"; GameSettingsLayer::addToggle( a1, (unsigned int)"Show Hitboxes", (_DWORD)v34, (unsigned int)"Shows hitboxes while in practice mode.", 0); LODWORD(v34) = atoi("0171"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0171"; GameSettingsLayer::addToggle( a1, (unsigned int)"Disable Player Hitbox", (_DWORD)v34, (unsigned int)"Disables the player's hitbox in practice mode\n(if hitboxes are shown).", 0); LODWORD(v34) = atoi("0213"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0213"; GameSettingsLayer::addToggle( a1, (unsigned int)"Show Hitbox Trail", (_DWORD)v34, (unsigned int)"Shows a hitbox trail in practice mode.", 0); LODWORD(v34) = atoi("0146"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0146"; GameSettingsLayer::addToggle(a1, (unsigned int)"Disable Checkpoints", (_DWORD)v34, 0, 0); if ( (int)((v2[1] - *v2) / 88LL) <= 3 ) { v5 = v2; } else { *(_DWORD *)(a1 + 1052) = 3; v5 = (_QWORD *)(a1 + 1000); } LODWORD(v34) = atoi("0044"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0044"; GameSettingsLayer::addToggle( a1, (unsigned int)"Draw Trigger Boxes", (_DWORD)v34, (unsigned int)"Draws the hitbox for touch triggered objects.", 0); LODWORD(v34) = atoi("0046"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0046"; GameSettingsLayer::addToggle( a1, (unsigned int)"Playtest No UI", (_DWORD)v34, (unsigned int)"Hides part of the editor's user interface during playtesting.", 0); LODWORD(v34) = atoi("0002"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0002"; GameSettingsLayer::addToggle( a1, (unsigned int)"Playtest Music", (_DWORD)v34, (unsigned int)"Plays music during playtesting.", 0); LODWORD(v34) = atoi("0043"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0043"; GameSettingsLayer::addToggle( a1, (unsigned int)"Effect Lines", (_DWORD)v34, (unsigned int)"Shows a vertical line for triggers to indicate where they are activated.", 0); LODWORD(v34) = atoi("0058"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0058"; GameSettingsLayer::addToggle( a1, (unsigned int)"Duration Lines", (_DWORD)v34, (unsigned int)"Shows a horizontal line for triggers to indicate how long they are active.", 0); LODWORD(v34) = atoi("0039"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0039"; GameSettingsLayer::addToggle( a1, (unsigned int)"Grid On Top", (_DWORD)v34, (unsigned int)"Shows the grid on top of objects in editor.", 0); LODWORD(v34) = atoi("0079"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0079"; GameSettingsLayer::addToggle( a1, (unsigned int)"Playtest No Grid", (_DWORD)v34, (unsigned int)"Hides grid during playtesting.", 0); LODWORD(v34) = atoi("0078"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0078"; GameSettingsLayer::addToggle( a1, (unsigned int)"Hide Background", (_DWORD)v34, (unsigned int)"Hides background in editor.", 0); LODWORD(v34) = atoi("0097"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0097"; GameSettingsLayer::addToggle( a1, (unsigned int)"Link Controls", (_DWORD)v34, (unsigned int)"Enables option to link objects together in the editor. Linked objects are always selected and deleted together.", 0); LODWORD(v34) = atoi("0057"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0057"; GameSettingsLayer::addToggle( a1, (unsigned int)"Hold To Swipe", (_DWORD)v34, (unsigned int)"Enables swiping after holding down anywhere on the grid for a short duration. Useful when selecting ob" "jects without the need to toggle swiping manually.", 0); v6 = *(int *)(a1 + 1052); v7 = v2; if ( (int)v6 >= 0 ) { v8 = *v2; if ( (int)v6 < (int)((v2[1] - *v2) / 88LL) ) { v9 = 88 * v6; v10 = *(_DWORD *)(v9 + v8 + 76); if ( v10 % 12 ) { *(_DWORD *)(v9 + v8 + 76) = v10 - v10 % 12 + 12; v7 = v5; } } } LODWORD(v34) = atoi("0059"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0059"; GameSettingsLayer::addToggle( a1, (unsigned int)"Swipe Cycle Mode", (_DWORD)v34, (unsigned int)"Cycles through touched objects instead of adding to selection when tapping in the same position while " "swiping is enabled. Useful if you want to select multiple objects that are mixed with other objects.", 0); LODWORD(v34) = atoi("0103"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0103"; GameSettingsLayer::addToggle( a1, (unsigned int)"Layer Locking", (_DWORD)v34, (unsigned int)"Allows you to click on the editor layer number to lock and unlock a layer.", 0); LODWORD(v34) = atoi("0149"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0149"; GameSettingsLayer::addToggle( a1, (unsigned int)"Show Clicks", (_DWORD)v34, (unsigned int)"Shows a marker during playtesting when the player clicks.", 0); LODWORD(v34) = atoi("0150"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0150"; GameSettingsLayer::addToggle( a1, (unsigned int)"Auto-Pause", (_DWORD)v34, (unsigned int)"Pauses gameplay when starting from a start position to prepare gameplay. Click a second time to actual" "ly start playing. This is used to handle start lag in larger levels.", 0); LODWORD(v34) = atoi("0152"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0152"; GameSettingsLayer::addToggle( a1, (unsigned int)"Hide Path", (_DWORD)v34, (unsigned int)"Hides the player path from playtesting.", 0); LODWORD(v34) = atoi("0151"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0151"; GameSettingsLayer::addToggle( a1, (unsigned int)"Start Optimization", (_DWORD)v34, (unsigned int)"Tries to speed up start position loading in editor. Experimental.", 0); LODWORD(v34) = atoi("0137"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0137"; GameSettingsLayer::addToggle( a1, (unsigned int)"Hide Particle Icons", (_DWORD)v34, (unsigned int)"Hides particle icons while preview mode is enabled.", 0); LODWORD(v34) = atoi("0013"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0013"; GameSettingsLayer::addToggle( a1, (unsigned int)"Increase Undo/Redo", (_DWORD)v34, (unsigned int)"Increases maximum undo and redo limit from 200 to 1000 in editor.", 0); LODWORD(v34) = atoi("0102"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0102"; GameSettingsLayer::addToggle( a1, (unsigned int)"Playtest Smooth Fix", (_DWORD)v34, (unsigned int)"Enables smooth fix when playtesting in the editor.", 0); LODWORD(v34) = atoi("0112"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0112"; GameSettingsLayer::addToggle( a1, (unsigned int)"Increase Scale", (_DWORD)v34, (unsigned int)"Increases maximum object scale to 4x and minimum scale to 0.25x. Note that objects larger than 6x grid" " size may disappear near the screen edge. This may be fixed in the future.", 0); LODWORD(v34) = atoi("0156"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0156"; GameSettingsLayer::addToggle( a1, (unsigned int)"Disable Paste\nState Groups", (_DWORD)v34, (unsigned int)"Makes it so that pasting state no longer updates the group info of the target object(s). Group state c" "an be pasted directly on the edit group page instead.", 0); LODWORD(v34) = atoi("0169"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0169"; GameSettingsLayer::addToggle( a1, (unsigned int)"Small Warp Buttons", (_DWORD)v34, (unsigned int)"Warp control buttons are 50% smaller. (Restart editor)", 0); LODWORD(v34) = atoi("0181"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0181"; GameSettingsLayer::addToggle( a1, (unsigned int)"Static Trace Arrows", (_DWORD)v34, (unsigned int)"Disable the arrows showing directed connections when using Trace In/Out.", 0); LODWORD(v34) = atoi("0191"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0191"; GameSettingsLayer::addToggle( a1, (unsigned int)"Legacy Move Menu", (_DWORD)v34, (unsigned int)"Uses the classic grid layout for move buttons instead of the d-pad layout.", 0); LODWORD(v34) = atoi("0247"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0247"; GameSettingsLayer::addToggle( a1, (unsigned int)"Swap Move Menu", (_DWORD)v34, (unsigned int)"Place the dpad on the right side of the move menu.", 0); LODWORD(v34) = atoi("0195"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0195"; GameSettingsLayer::addToggle( a1, (unsigned int)"Disable Zoom Label", (_DWORD)v34, (unsigned int)"Hides the zoom label when zooming.", 0); LODWORD(v34) = atoi("0215"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0215"; GameSettingsLayer::addToggle( a1, (unsigned int)"Hitbox Trail", (_DWORD)v34, (unsigned int)"Shows a trail of previous hitboxes while playtesting. The trail stays until the next playtest.", 0); LODWORD(v34) = atoi("0242"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0242"; GameSettingsLayer::addToggle( a1, (unsigned int)"Disable Anchor Snap", (_DWORD)v34, (unsigned int)"Stops the warp anchor point from snapping to corners, midpoints and the grid.", 0); LODWORD(v34) = atoi("0245"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0245"; GameSettingsLayer::addToggle( a1, (unsigned int)"Disable Pinch", (_DWORD)v34, (unsigned int)"Disables pinch to zoom and two-finger panning in the editor.", 0); LODWORD(v34) = atoi("0248"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0248"; GameSettingsLayer::addToggle( a1, (unsigned int)"Hide Center Cross", (_DWORD)v34, (unsigned int)"Hides the cross marking the camera center in preview mode.", 0); v11 = v7[1] - *v7; if ( (int)(v11 / 88) > 4 ) *(_DWORD *)(a1 + 1052) = 4; if ( !qword_14090BFE0 ) { v34 = operator new(0x3E8u); qword_14090BFE0 = sub_1402D6480(v34); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFE0 + 72LL))(qword_14090BFE0); } isItemUnlocked = GameStatsManager::isItemUnlocked(v11, 12, 17); GameSettingsLayer::addToggle( a1, (unsigned int)"Practice Music Sync", -2, (unsigned int)"Plays normal music in practice mode in main and online levels. Requires the Music Unlocker.", isItemUnlocked ^ 1); LODWORD(v34) = atoi("0144"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0144"; GameSettingsLayer::addToggle(a1, (unsigned int)"Audio Visualizer", (_DWORD)v34, (unsigned int)&byte_1406ED6E0, 0); LODWORD(v34) = atoi("0033"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0033"; GameSettingsLayer::addToggle( a1, (unsigned int)"Change Custom Songs\nLocation", (_DWORD)v34, (unsigned int)"Saves custom songs in a different directory. May fix custom songs not working.", 0); LODWORD(v34) = atoi("0083"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0083"; GameSettingsLayer::addToggle( a1, (unsigned int)"Disable Song Alert", (_DWORD)v34, (unsigned int)"Removes the alert shown when starting levels without the song downloaded.", 0); LODWORD(v34) = atoi("0018"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0018"; GameSettingsLayer::addToggle( a1, (unsigned int)"No Song Limit", (_DWORD)v34, (unsigned int)"Stops automatic deletion of custom songs. This is done by default to save space.", 0); LODWORD(v34) = atoi("0142"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0142"; GameSettingsLayer::addToggle( a1, (unsigned int)"Reduce Quality\n(Read Info)", (_DWORD)v34, (unsigned int)"Lowers audio sampling rate from 44100 Hz to 24000 Hz. Requires restarting to take effect.", 0); LODWORD(v34) = atoi("0159"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0159"; GameSettingsLayer::addToggle( a1, (unsigned int)"Audio Fix 01", (_DWORD)v34, (unsigned int)"Increases the audio buffer size, which may fix certain issues. Do not enable if audio is working fine." " Causes a slight more audio delay. Requires restarting to take effect.", 0); if ( (int)((v7[1] - *v7) / 88LL) > 5 ) *(_DWORD *)(a1 + 1052) = 5; LODWORD(v34) = atoi("0066"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0066"; GameSettingsLayer::addToggle( a1, (unsigned int)"Increase Draw Capacity", (_DWORD)v34, (unsigned int)"Increases draw capacity for batch nodes at level start. Can improve performance on some levels, but ma" "y cause issues on low-end devices.", 0); LODWORD(v34) = atoi("0108"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v15, (unsigned __int8 *)&v34) + 24LL) = "0108"; GameSettingsLayer::addToggle( a1, (unsigned int)"Low Detail", (_DWORD)v34, (unsigned int)"Enables low detail mode on levels that support it automatically.", 0); LODWORD(v34) = atoi("0082"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v17, (unsigned __int8 *)&v34) + 24LL) = "0082"; GameSettingsLayer::addToggle( a1, (unsigned int)"Disable High Object\nAlert", (_DWORD)v34, (unsigned int)"Removes the alert shown when starting levels with a high object count.", 0); LODWORD(v34) = atoi("0136"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v18, (unsigned __int8 *)&v34) + 24LL) = "0136"; GameSettingsLayer::addToggle( a1, (unsigned int)"Extra LDM", (_DWORD)v34, (unsigned int)"Removes glow and enter effects while in low detail mode. Levels without LDM show LDM Lite.", 0); LODWORD(v34) = atoi("0042"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v19, (unsigned __int8 *)&v34) + 24LL) = "0042"; GameSettingsLayer::addToggle( a1, (unsigned int)"Increase Maximum\nLevels", (_DWORD)v34, (unsigned int)"Increases maximum locally saved levels from 10 to 100. This refers to level data, not statistics. Enab" "ling this can make your save file considerably larger, so keeping the option off is recommended for quicker saving.", 0); LODWORD(v34) = atoi("0119"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v20, (unsigned __int8 *)&v34) + 24LL) = "0119"; GameSettingsLayer::addToggle( a1, (unsigned int)"Disable Level Saving", (_DWORD)v34, (unsigned int)"Saves level statistics as usual, but levels need to be redownloaded every time you restart the game. M" "akes saving and loading faster.", 0); LODWORD(v34) = atoi("0127"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v21, (unsigned __int8 *)&v34) + 24LL) = "0127"; GameSettingsLayer::addToggle( a1, (unsigned int)"Save Gauntlets", (_DWORD)v34, (unsigned int)"Saves gauntlet levels locally so they do not have to be redownloaded. Increases save time but helpful " "if you have poor connection.", 0); LODWORD(v34) = atoi("0155"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v22, (unsigned __int8 *)&v34) + 24LL) = "0155"; GameSettingsLayer::addToggle( a1, (unsigned int)"Disable Shader\nAnti-Aliasing", (_DWORD)v34, (unsigned int)"Disables anti-aliasing on shader effects.", 0); LODWORD(v34) = atoi("0109"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v23, (unsigned __int8 *)&v34) + 24LL) = "0109"; GameSettingsLayer::addToggle(a1, (unsigned int)"Show Info Label", (_DWORD)v34, (unsigned int)&byte_1406ED6E0, 0); LODWORD(v34) = atoi("0094"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v24, (unsigned __int8 *)&v34) + 24LL) = "0094"; GameSettingsLayer::addToggle( a1, (unsigned int)"More Comments", (_DWORD)v34, (unsigned int)"Shows more comments per page. Why not?", 0); LODWORD(v34) = atoi("0090"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v25, (unsigned __int8 *)&v34) + 24LL) = "0090"; GameSettingsLayer::addToggle( a1, (unsigned int)"Load Comments", (_DWORD)v34, (unsigned int)"Loads comments automatically.", 0); LODWORD(v34) = atoi("0073"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v26, (unsigned __int8 *)&v34) + 24LL) = "0073"; GameSettingsLayer::addToggle( a1, (unsigned int)"New Completed Filter", (_DWORD)v34, (unsigned int)"Makes completed levels filter based only on percentage from update 2.1. Useful to rebeat levels for Mana Orbs.", 0); LODWORD(v34) = atoi("0093"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v27, (unsigned __int8 *)&v34) + 24LL) = "0093"; GameSettingsLayer::addToggle( a1, (unsigned int)"Increase Local Levels\nPer Page", (_DWORD)v34, (unsigned int)"Increases created and saved levels per page from 10 to 20.", 0); LODWORD(v34) = atoi("0084"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v28, (unsigned __int8 *)&v34) + 24LL) = "0084"; GameSettingsLayer::addToggle( a1, (unsigned int)"Manual Level Order", (_DWORD)v34, (unsigned int)"Places new levels last in the saved levels list. Useful if you want to manually move levels to the top.", 0); LODWORD(v34) = atoi("0126"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v29, (unsigned __int8 *)&v34) + 24LL) = "0126"; GameSettingsLayer::addToggle( a1, (unsigned int)"Percentage Decimals", (_DWORD)v34, (unsigned int)"Shows decimals in level progress.", 0); LODWORD(v34) = atoi("0099"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v30, (unsigned __int8 *)&v34) + 24LL) = "0099"; GameSettingsLayer::addToggle( a1, (unsigned int)"Show Leaderboard\nPercentage", (_DWORD)v34, (unsigned int)"Toggles viewing the leaderboard percentage you have on levels. To upload your level progress to the le" "vel leaderboard, you need to replay levels completed before 2.11.", 0); LODWORD(v34) = atoi("0095"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v31, (unsigned __int8 *)&v34) + 24LL) = "0095"; GameSettingsLayer::addToggle( a1, (unsigned int)"Do Not...", (_DWORD)v34, (unsigned int)"Does not do anything... Well, nothing useful.", 0); LODWORD(v34) = atoi("0167"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v32, (unsigned __int8 *)&v34) + 24LL) = "0167"; GameSettingsLayer::addToggle( a1, (unsigned int)"Confirm Exit", (_DWORD)v34, (unsigned int)"Adds an extra confirmation window when exiting levels.", 0); LODWORD(v34) = atoi("0168"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v33, (unsigned __int8 *)&v34) + 24LL) = "0168"; GameSettingsLayer::addToggle( a1, (unsigned int)"Fast\nMenu", (_DWORD)v34, (unsigned int)"Makes transitions between menu pages faster.", 0); LODWORD(v34) = atoi("0192"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v16, (unsigned __int8 *)&v34) + 24LL) = "0192"; GameSettingsLayer::addToggle( a1, (unsigned int)"Disable Auto-Save\nPlatformer", (_DWORD)v34, (unsigned int)"Stops the game from automatically saving checkpoints on platformer levels. Existing saves are kept unt" "il you clear them.", 0); v13 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v35 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v35); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v13 = qword_14090BFD0; } result = (unsigned int)(*(_DWORD *)(v13 + 1064) - *(_DWORD *)(v13 + 1068)); if ( *(_DWORD *)(v13 + 1064) - *(_DWORD *)(v13 + 1068) > 0 ) { LODWORD(v34) = atoi("0235"); *(_QWORD *)(*(_QWORD *)sub_1400677E0((_QWORD *)(a1 + 1088), (__int64)v16, (unsigned __int8 *)&v34) + 24LL) = "0235"; return GameSettingsLayer::addToggle( a1, (unsigned int)"Hide Mod Buttons", (_DWORD)v34, (unsigned int)"Hides the report, admin panel and mod chat buttons. For streaming.", 0); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source