//
// sub_1005105C8 from 0x1005105c8 to 0x100510694 (204 bytes)
//
// 2 xrefs:
// > sub_100510390 @ 0x1005103c0
// > sub_100515228 @ 0x100515280
//
// 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:07:02 +0000
//
__int64 __fastcall sub_1005105C8(__int64 result, __int64 a2)
{
__int64 v2; // x19
__int64 *v3; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v5; // [xsp+1Fh] [xbp-11h]
if ( a2 )
{
v2 = result;
if ( *(int *)(result + 808) <= 0 )
{
*(_DWORD *)(result + 808) = *(_DWORD *)(a2 + 56);
*(_BYTE *)(result + 812) = 0;
sub_100009900(__p, "Ignore this?\nThey won't be notified.\nChange your mind under Ignored.");
v3 = (__int64 *)FLAlertLayer::create(
v2 + 784,
(__int64)"Ignore",
(__int64)__p,
(__int64)"Back",
(__int64)"Ignore",
0,
380.0,
0.0,
1.0);
if ( v5 < 0 )
operator delete(__p[0]);
(*(void (__fastcall **)(__int64 *, __int64))(*v3 + 72))(v3, 6);
ButtonSprite::updateBGImage(v3[77], (__int64)"GJ_button_05.png");
return (*(__int64 (__fastcall **)(__int64 *))(*v3 + 1312))(v3);
}
}
return result;
}