//
// GManager::save from 0x2f03c0 to 0x2f0412 (82 bytes)
//
// 4 xrefs:
// > AppDelegate::trySaveGame @ 0x30780c
// > AppDelegate::trySaveGame @ 0x307814
// > GameManager::doQuickSave @ 0x323496
// > EditorPauseLayer::saveLevel @ 0x401548
//
// 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 GManager::save(GManager *a1)
{
GManager *v2; // [sp+0h] [bp-8h] BYREF
v2 = a1;
if ( !a1->m_saved )
{
a1->m_saved = 1;
sub_775C20(&v2, &a1->m_fileName);
GManager::saveGMTo((int)a1, (const char *)&v2);
sub_774008(&v2);
}
}