//
// -[AppController gameDidSave] from 0x100007a50 to 0x100007a9e (78 bytes)
//
// 1 xrefs:
// > ??> @ 0x100998f48
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
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_100606910(self, a2);
sub_100606C70(v2);
objc_msgSend(NSApp, "replyToApplicationShouldTerminate:", 1);
}
}
}