//
// sub_1004B96F0 from 0x1004b96f0 to 0x1004b97a0 (176 bytes)
//
// 1 xrefs:
// > sub_1004B9328 @ 0x1004b9614
//
// 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:06:16 +0000
//
__int64 __fastcall sub_1004B96F0(__int64 result)
{
__int64 v1; // x19
__int64 *v2; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v4; // [xsp+1Fh] [xbp-11h]
if ( *(_QWORD *)(result + 1024) )
{
v1 = result;
sub_100009900(
__p,
"Clear your death stats for this level? Death markers are not affected. This cannot be undone.");
v2 = (__int64 *)FLAlertLayer::create_1(
v1 + 1016,
(__int64)"Clear Data",
(__int64)__p,
(__int64)"Cancel",
(__int64)"Clear",
320.0);
if ( v4 < 0 )
operator delete(__p[0]);
(*(void (__fastcall **)(__int64 *, __int64))(*v2 + 72))(v2, 1);
ButtonSprite::updateBGImage(v2[77], (__int64)"GJ_button_06.png");
return (*(__int64 (__fastcall **)(__int64 *))(*v2 + 1312))(v2);
}
return result;
}