//
// EditorPauseLayer::onExport from 0x100444648 to 0x1004446e8 (160 bytes)
//
// 2 xrefs:
// > EditorPauseLayer::customSetup @ 0x100443c00
// > EditorPauseLayer::customSetup @ 0x100443fd4
//
// This function is hookable on this platform (idp: arm, 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 11:05:13 +0000
//
__int64 __fastcall EditorPauseLayer::onExport(__int64 result)
{
__int64 v1; // x19
void *v2; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v4; // [xsp+1Fh] [xbp-11h]
if ( (*(_BYTE *)(result + 568) & 1) == 0 )
{
v1 = result;
sub_100009900(__p, "Export the level?");
v2 = FLAlertLayer::create_1(v1 + 552, (__int64)"Export", (__int64)__p, (__int64)"NO", (__int64)"YES", 300.0);
if ( v4 < 0 )
operator delete(__p[0]);
(*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v2 + 72LL))(v2, 5);
return (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v2 + 1312LL))(v2);
}
return result;
}