//
// OptionsLayer::tryEnableRecord from 0x52db94 to 0x52dbfe (106 bytes)
//
// 1 xrefs:
// > OptionsLayer::onRecordReplays @ 0x52dc30
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:52:02 +0000
//
int __fastcall OptionsLayer::tryEnableRecord(OptionsLayer *this)
{
int *v1; // r5
int v3[3]; // [sp+8h] [bp-10h] BYREF
*((_BYTE *)this + 500) = 0;
memset(v3, 0, sizeof(v3));
std::string::__init(v3, "Gameplay recording is not supported on this device.", 0x33u);
v1 = FLAlertLayer::create(0, (cocos2d::CCLabelBMFont *)"Unavailable", (int)v3, (ButtonSprite *)"OK", nullptr, 300.0);
std::string::~string((int)v3);
return (*(int (__fastcall **)(int *))(*v1 + 656))(v1);
}