//
// OptionsLayer::tryEnableRecord from 0x10079b520 to 0x10079b5c2 (162 bytes)
//
// 0 xrefs:
//
// 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 __fastcall OptionsLayer::tryEnableRecord(OptionsLayer *a1)
{
char *v1; // rbx
_QWORD v2[2]; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
a1->m_recordReplays = 0;
__p = operator new(0x38u);
v2[0] = 57;
v2[1] = 51;
strcpy((char *)__p, "Gameplay recording is not supported on this device.");
v1 = FLAlertLayer::create_1(0, (int)"Unavailable", (__int64)v2, (int)"OK", 0, COERCE_DOUBLE(1133903872));
if ( (v2[0] & 1) != 0 )
operator delete(__p);
(*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 1288LL))(v1);
}