//
// GameSettingsLayer::addGVToggle from 0x100601840 to 0x1006018af (111 bytes)
//
// 0 xrefs:
//
// 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:34:31 +0000
//
__int64 __fastcall GameSettingsLayer::addGVToggle(__int64 a1, __int64 a2, const char *a3, const char *a4)
{
unsigned int *v7; // [rsp+0h] [rbp-30h] BYREF
unsigned int v8; // [rsp+8h] [rbp-28h] BYREF
_BYTE v9[33]; // [rsp+Fh] [rbp-21h] BYREF
v8 = atoi(a3);
v7 = &v8;
*(_QWORD *)(sub_100603610(a1 + 1104, &v8, &unk_100A0D694, &v7, v9) + 24) = a3;
return GameSettingsLayer::addToggle(a1, a2, v8, a4, 0);
}