//
// sub_10013A99C from 0x10013a99c to 0x10013aa7c (224 bytes)
//
// 1 xrefs:
// > GJNotificationCell::loadFromNotification @ 0x100131654
//
// 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:28 +0000
//
__int64 __fastcall sub_10013A99C(__int64 result)
{
__int64 v1; // x8
__int64 v2; // x19
__int64 v3; // x0
__int64 v4; // x0
char *CString; // x0
char *v6; // x0
char *v7; // x20
__int64 v8; // x19
__int64 v9; // x0
__int64 v10; // x0
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v12; // [xsp+1Fh] [xbp-11h]
v1 = *(_QWORD *)(result + 560);
if ( v1 )
{
v2 = result;
result = *(unsigned int *)(v1 + 168);
if ( (int)result >= 1 )
{
if ( *(_DWORD *)(v1 + 164) == 3 )
{
v3 = ProfilePage::create(result, 0);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3);
}
else
{
v4 = sub_1003065B0("%i", result);
CString = (char *)cocos2d::CCString::getCString(v4);
sub_100009900(__p, CString);
v6 = GJSearchObject::create_1(0, (__int128 *)__p);
v7 = v6;
if ( v12 < 0 )
operator delete(__p[0]);
if ( *(_DWORD *)(*(_QWORD *)(v2 + 560) + 164LL) == 2 )
*((_DWORD *)v7 + 108) = 1;
v8 = cocos2d::CCDirector::sharedDirector(v6);
v9 = LevelBrowserLayer::scene(v7);
v10 = cocos2d::CCTransitionFade::create_1(v9, 0.5);
return cocos2d::CCDirector::pushScene(v8, v10);
}
}
}
return result;
}