//
// GameManager::loadVideoSettings from 0x100372950 to 0x100372a3f (239 bytes)
//
// 1 xrefs:
// > AppDelegate::applicationDidFinishLaunching @ 0x10073b850
//
// 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:29:03 +0000
//
__int64 GameManager::loadVideoSettings()
{
__int64 v0; // rdi
void *v1; // rbx
unsigned __int8 GameVariable; // al
__int64 v3; // rdi
void *v4; // rbx
unsigned __int8 v5; // al
__int64 v6; // rdi
void *v7; // rbx
unsigned __int8 v8; // al
v0 = qword_100BE3098;
if ( !qword_100BE3098 )
{
v1 = operator new(0x6B8u);
sub_100377960(v1);
qword_100BE3098 = (__int64)v1;
(*(void (__fastcall **)(void *))(*(_QWORD *)v1 + 80LL))(v1);
v0 = qword_100BE3098;
}
GameVariable = GameManager::getGameVariable(v0, "0030");
PlatformToolbox::toggleVerticalSync(GameVariable);
v3 = qword_100BE3098;
if ( !qword_100BE3098 )
{
v4 = operator new(0x6B8u);
sub_100377960(v4);
qword_100BE3098 = (__int64)v4;
(*(void (__fastcall **)(void *))(*(_QWORD *)v4 + 80LL))(v4);
v3 = qword_100BE3098;
}
v5 = GameManager::getGameVariable(v3, "0032");
PlatformToolbox::toggleForceTimer(v5);
v6 = qword_100BE3098;
if ( !qword_100BE3098 )
{
v7 = operator new(0x6B8u);
sub_100377960(v7);
qword_100BE3098 = (__int64)v7;
(*(void (__fastcall **)(void *))(*(_QWORD *)v7 + 80LL))(v7);
v6 = qword_100BE3098;
}
v8 = GameManager::getGameVariable(v6, "0023");
return PlatformToolbox::toggleSmoothFix(v8);
}