//
// ProfilePage::createOfflineNotice from 0xa539a0 to 0xa53bfc (604 bytes)
//
// 2 xrefs:
// > ProfilePage::init @ 0xa5c45c
// > ??> @ 0xe8900
//
// 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 13:00:06 +0000
//
__int64 __fastcall ProfilePage::createOfflineNotice(ProfilePage *this)
{
cocos2d::CCDirector *v2; // x0
__int64 v3; // x21
void (__fastcall *v4)(__int64, __int64 *); // x24
void (__fastcall *v5)(__int64, __int64 *); // x24
__int64 v6; // x21
__int64 (__fastcall *v7)(__int64, __int64 *); // x24
cocos2d::CCMenu *v8; // x0
__int64 v9; // x0
const char *v10; // x1
__int64 v11; // x0
__int64 v12; // x21
cocos2d::CCNode *v13; // x24
void (__fastcall *v14)(__int64, __int64 *); // x20
__int64 v16; // [xsp+68h] [xbp+68h] BYREF
_BYTE v17[8]; // [xsp+70h] [xbp+70h] BYREF
__int64 v18[2]; // [xsp+78h] [xbp+78h] BYREF
*((_BYTE *)this + 596) = 1;
v2 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard);
cocos2d::CCDirector::getWinSize(&v16, v2);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v18, 0.0, 0.0, 80.0, 80.0);
v3 = cocos2d::extension::CCScale9Sprite::create("GJ_square01.png", v18);
v4 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v3 + 320LL);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v18, 260.0, 110.0);
v4(v3, v18);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(
*((_QWORD *)this + 73),
v3,
0xFFFFFFFFLL);
v5 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v3 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v18, *(float *)&v16 * 0.5, *((float *)&v16 + 1) * 0.5);
v5(v3, v18);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v18, (const cocos2d::CCPoint *)&unk_155D5E8);
v6 = cocos2d::CCLabelBMFont::create("Disabled by\nParental Controls", "goldFont.fnt", 1, v18, -1.0);
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v6 + 160LL))(v6, 0.7);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 73) + 456LL))(*((_QWORD *)this + 73), v6);
v7 = *(__int64 (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v6 + 184LL);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v18, *(float *)&v16 * 0.5, *((float *)&v16 + 1) * 0.5);
v8 = (cocos2d::CCMenu *)v7(v6, v18);
v9 = cocos2d::CCMenu::create(v8);
*((_QWORD *)this + 69) = v9;
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))(*((_QWORD *)this + 73), v9, 10);
v11 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_closeBtn_001.png", v10);
v12 = CCMenuItemSpriteExtra::create(v11, 0, (__int64)this, (__int64)ProfilePage::onClose, 0);
CCMenuItemSpriteExtra::setSizeMult(v12, 1.5);
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v12);
v13 = *((cocos2d::CCNode **)this + 69);
v14 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v12 + 184LL);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v17,
(float)((float)(*(float *)&v16 * 0.5) + -130.0) + 5.0,
(float)((float)(*((float *)&v16 + 1) * 0.5) + 55.0) - 5.0);
cocos2d::CCNode::convertToNodeSpace(v18, v13, (const cocos2d::CCPoint *)v17);
v14(v12, v18);
return _stack_chk_guard;
}