//
// sub_1006DE5B0 from 0x1006de5b0 to 0x1006de5ce (30 bytes)
//
// 2 xrefs:
// > -[AppController gameDidSave] @ 0x100003d5c
// > -[AppController shutdownGame] @ 0x100003d8e
//
// 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:35:44 +0000
//
__int64 __fastcall sub_1006DE5B0(__int64 a1)
{
__int64 result; // rax
if ( !*(_BYTE *)(a1 + 401) )
{
*(_WORD *)(a1 + 400) = 256;
return SteamAPI_Shutdown();
}
return result;
}