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