//
// -[AppController gameDidSave] from 0x100003d30 to 0x100003d7e (78 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bdafd0
//
// 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:18:45 +0000
//
void __cdecl -[AppController gameDidSave](AppController *self, SEL a2)
{
__int64 v2; // rax
if ( self->saveCalled_ )
{
self->shouldClose_ = 1;
if ( self->forceClose_ )
{
-[AppController shutdownGame](self, "shutdownGame");
}
else
{
v2 = sub_1006DE2F0(self, a2);
sub_1006DE5B0(v2);
objc_msgSend(NSApp, "replyToApplicationShouldTerminate:", 1);
}
}
}