//
// sub_10013AB44 from 0x10013ab44 to 0x10013ac90 (332 bytes)
//
// 1 xrefs:
// > GJNotificationCell::loadFromNotification @ 0x100131748
//
// 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 10:59:29 +0000
//
void __fastcall sub_10013AB44(__int64 a1)
{
__int64 v1; // x8
unsigned __int64 v3; // x2
const char *p_dst; // x8
__int64 v5; // x0
char *CString; // x0
char *v7; // x1
__int64 *v8; // x19
void *__p[2]; // [xsp+10h] [xbp-60h] BYREF
char v10; // [xsp+27h] [xbp-49h]
void *v11[2]; // [xsp+28h] [xbp-48h] BYREF
char v12; // [xsp+3Fh] [xbp-31h]
__int128 __dst; // [xsp+40h] [xbp-30h] BYREF
__int64 v14; // [xsp+50h] [xbp-20h]
v1 = *(_QWORD *)(a1 + 560);
if ( !v1 || *(int *)(v1 + 216) < 1 )
return;
if ( *(char *)(v1 + 247) < 0 )
{
v3 = *(_QWORD *)(v1 + 232);
if ( v3 )
{
sub_1000097D0(&__dst, *(void **)(v1 + 224), v3);
goto LABEL_9;
}
LABEL_8:
sub_100009900(&__dst, "this user");
goto LABEL_9;
}
if ( !*(_BYTE *)(v1 + 247) )
goto LABEL_8;
__dst = *(_OWORD *)(v1 + 224);
v14 = *(_QWORD *)(v1 + 240);
LABEL_9:
p_dst = (const char *)&__dst;
if ( v14 < 0 )
p_dst = (const char *)__dst;
v5 = sub_1003065B0(
"Stop notifications from %s?\n"
"You stay friends / followers. Unmute from the Muted tab in your friends list.",
p_dst);
CString = (char *)cocos2d::CCString::getCString(v5);
sub_100009900(v11, CString);
if ( v12 >= 0 )
v7 = (char *)v11;
else
v7 = (char *)v11[0];
sub_100009900(__p, v7);
v8 = (__int64 *)FLAlertLayer::create_1(a1 + 552, "Mute", __p, "Cancel", "Mute", 300.0);
if ( v10 < 0 )
operator delete(__p[0]);
ButtonSprite::updateBGImage(v8[77], (__int64)"GJ_button_06.png");
(*(void (__fastcall **)(__int64 *))(*v8 + 1312))(v8);
if ( v12 < 0 )
operator delete(v11[0]);
if ( SHIBYTE(v14) < 0 )
operator delete((void *)__dst);
}