//
// ProfilePage::createOfflineNotice from 0x5f5b74 to 0x5f5d20 (428 bytes)
//
// 1 xrefs:
// > ProfilePage::init @ 0x5fa712
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:31 +0000
//
int __fastcall ProfilePage::createOfflineNotice(ProfilePage *this)
{
int v2; // r6
void (__fastcall *v3)(int, _DWORD *); // r9
void (__fastcall *v4)(int, _DWORD *); // r9
int v5; // r6
int (__fastcall *v6)(int, _DWORD *); // r8
cocos2d::CCMenu *v7; // r0
int v8; // r0
const char *v9; // r1
int v10; // r0
int v11; // r6
const cocos2d::CCPoint *v12; // r9
int (__fastcall *v13)(int, _BYTE *); // r8
float v15; // [sp+Ch] [bp-30h] BYREF
float v16; // [sp+10h] [bp-2Ch]
_BYTE v17[8]; // [sp+14h] [bp-28h] BYREF
_BYTE v18[8]; // [sp+1Ch] [bp-20h] BYREF
_DWORD v19[4]; // [sp+24h] [bp-18h] BYREF
*((_BYTE *)this + 468) = 1;
cocos2d::CCDirector::sharedDirector(this);
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v15);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v19, 0.0, 0.0, 80.0, 80.0);
v2 = cocos2d::extension::CCScale9Sprite::create("GJ_square01.png", v19);
v3 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v2 + 160);
cocos2d::CCSize::CCSize((cocos2d::CCSize *)v19, 260.0, 110.0);
v3(v2, v19);
(*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 115) + 232))(*((_DWORD *)this + 115), v2, -1);
v4 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v2 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, v15 * 0.5, v16 * 0.5);
v4(v2, v19);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, (const cocos2d::CCPoint *)&unk_D2C720);
v5 = cocos2d::CCLabelBMFont::create("Disabled by\nParental Controls", "goldFont.fnt", -1082130432, 1, v19);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v5 + 80))(v5, 1060320051);
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 115) + 228))(*((_DWORD *)this + 115), v5);
v6 = *(int (__fastcall **)(int, _DWORD *))(*(_DWORD *)v5 + 92);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, v15 * 0.5, v16 * 0.5);
v7 = (cocos2d::CCMenu *)v6(v5, v19);
v8 = cocos2d::CCMenu::create(v7);
*((_DWORD *)this + 111) = v8;
(*(void (__fastcall **)(_DWORD, int, int))(**((_DWORD **)this + 115) + 232))(*((_DWORD *)this + 115), v8, 10);
v10 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_closeBtn_001.png", v9);
v19[0] = ProfilePage::onClose;
v19[1] = 0;
v11 = CCMenuItemSpriteExtra::create(v10, 0, (int)this, (int)ProfilePage::onClose, 0);
CCMenuItemSpriteExtra::setSizeMult(v11, 1.5);
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 111) + 228))(*((_DWORD *)this + 111), v11);
v12 = *((const cocos2d::CCPoint **)this + 111);
v13 = *(int (__fastcall **)(int, _BYTE *))(*(_DWORD *)v11 + 92);
cocos2d::CCPoint::CCPoint(
(cocos2d::CCPoint *)v17,
(float)((float)(v15 * 0.5) - 130.0) + 5.0,
(float)((float)(v16 * 0.5) + 55.0) - 5.0);
cocos2d::CCNode::convertToNodeSpace((cocos2d::CCNode *)v18, v12);
return v13(v11, v18);
}