// // NotificationsPage::init from 0xc5ef5c to 0xc5f69c (1856 bytes) // // 3 xrefs: // > NotificationsPage::create @ 0xc5f83c // > @ 0xdc0d8 // > @ 0x14ea050 // // 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:05:21 +0000 // __int64 __fastcall NotificationsPage::init(NotificationsPage *this) { cocos2d::CCDirector *v2; // x0 unsigned int v3; // w23 cocos2d::CCDirector *v4; // x0 __int64 v5; // x24 void (__fastcall *v6)(__int64, _BYTE *); // x25 void (__fastcall *v7)(__int64, _BYTE *); // x25 const char *v8; // x2 cocos2d::CCLabelBMFont *v9; // x24 void (__fastcall *v10)(cocos2d::CCLabelBMFont *, _BYTE *); // x25 const char *v11; // x2 __int64 v12; // x0 __int64 v13; // x25 void (__fastcall *v14)(__int64, _BYTE *); // x27 __int64 v15; // x25 void (__fastcall *v16)(__int64, _BYTE *); // x27 const char *v17; // x1 __int64 v18; // x0 cocos2d::CCMenu *v19; // x25 __int64 v20; // x25 void (__fastcall *v21)(__int64, _BYTE *); // x27 LoadingCircle *v22; // x0 __int64 v23; // x0 __int64 v24; // x25 void (__fastcall *v25)(__int64, _BYTE *); // x27 const char *v26; // x2 __int64 v27; // x0 __int64 v28; // x24 void (__fastcall *v29)(__int64, _BYTE *); // x25 float v30; // s11 const char *v31; // x1 __int64 v32; // x25 __int64 v33; // x0 __int64 v34; // x25 cocos2d::CCNode *v35; // x28 void (__fastcall *v36)(__int64, __int64 *); // x27 const char *v37; // x1 cocos2d::CCSprite *v38; // x24 __int64 v39; // x0 __int64 v40; // x24 cocos2d::CCNode *v41; // x26 void (__fastcall *v42)(__int64, __int64 *); // x25 const char *v43; // x1 __int64 v44; // x0 __int64 v45; // x0 __int64 v46; // x24 cocos2d::CCNode *v47; // x26 void (__fastcall *v48)(__int64, __int64 *); // x25 const char *v49; // x1 __int64 v50; // x24 __int64 v51; // x24 cocos2d::CCNode *v52; // x26 void (__fastcall *v53)(__int64, __int64 *); // x25 __int64 v55; // [xsp+A8h] [xbp+A8h] BYREF __int64 v56; // [xsp+B0h] [xbp+B0h] BYREF _BYTE v57[16]; // [xsp+B8h] [xbp+B8h] BYREF v2 = (cocos2d::CCDirector *)(unsigned __int8)FLAlertLayer::init(this, 150); v3 = (unsigned __int8)v2; if ( (_BYTE)v2 ) { *((_BYTE *)this + 596) = 1; v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v2); cocos2d::CCDirector::getWinSize(&v55, v4); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v57, 0.0, 0.0, 80.0, 80.0); v5 = cocos2d::extension::CCScale9Sprite::create("GJ_square01.png", v57); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 912LL))(v5, 0xFFFFFFFFLL); v6 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v5 + 320LL); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v57, 440.0, 290.0); v6(v5, v57); (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))( *((_QWORD *)this + 73), v5, 0xFFFFFFFFLL); v7 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v5 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v57, *(float *)&v55 * 0.5, *((float *)&v55 + 1) * 0.5); v7(v5, v57); v9 = (cocos2d::CCLabelBMFont *)cocos2d::CCLabelBMFont::create( (cocos2d::CCLabelBMFont *)"Notifications", "bigFont.fnt", v8); (*(void (__fastcall **)(_QWORD, cocos2d::CCLabelBMFont *, __int64))(**((_QWORD **)this + 73) + 464LL))( *((_QWORD *)this + 73), v9, 20); v10 = *(void (__fastcall **)(cocos2d::CCLabelBMFont *, _BYTE *))(*(_QWORD *)v9 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v57, *(float *)&v55 * 0.5, (float)((float)(*((float *)&v55 + 1) * 0.5) + 145.0) - 20.0); v10(v9, v57); cocos2d::CCLabelBMFont::limitLabelWidth(v9, 185.0, 0.8, 0.0); v12 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)&byte_11E1A70, "goldFont.fnt", v11); *((_QWORD *)this + 84) = v12; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))( *((_QWORD *)this + 73), v12, 20); v13 = *((_QWORD *)this + 84); v14 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v13 + 296LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v57, 1.0, 0.5); v14(v13, v57); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 84) + 160LL))(*((_QWORD *)this + 84), 0.5); v15 = *((_QWORD *)this + 84); v16 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v15 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v57, (float)((float)(*(float *)&v55 * 0.5) + 220.0) - 10.0, (float)((float)(*((float *)&v55 + 1) * 0.5) + 145.0) - 20.0); v16(v15, v57); v18 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_backBtn_001.png", v17); v19 = (cocos2d::CCMenu *)CCMenuItemSpriteExtra::create( v18, 0, (__int64)this, (__int64)NotificationsPage::onClose, 0); CCMenuItemSpriteExtra::setSizeMult((__int64)v19, 1.6); v20 = cocos2d::CCMenu::create(v19, nullptr); *((_QWORD *)this + 69) = v20; v21 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v20 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v57, (float)((float)(*(float *)&v55 * 0.5) + -220.0) + 10.0, (float)((float)(*((float *)&v55 + 1) * 0.5) + 145.0) - 10.0); v21(v20, v57); v22 = (LoadingCircle *)(*(__int64 (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 73) + 464LL))( *((_QWORD *)this + 73), *((_QWORD *)this + 69), 10); v23 = LoadingCircle::create(v22); *((_QWORD *)this + 87) = v23; *(_QWORD *)(v23 + 552) = *((_QWORD *)this + 73); *(_BYTE *)(*((_QWORD *)this + 87) + 560LL) = 0; cocos2d::CCObject::retain(*((cocos2d::CCObject **)this + 87)); LoadingCircle::show(*((cocos2d::CCNode ***)this + 87)); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 87) + 344LL))(*((_QWORD *)this + 87), 0); v24 = *(_QWORD *)(*((_QWORD *)this + 87) + 544LL); v25 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v24 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v57, *(float *)&v55 * 0.5, *((float *)&v55 + 1) * 0.5); v25(v24, v57); v27 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)"Something went wrong...", "goldFont.fnt", v26); *((_QWORD *)this + 85) = v27; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 73) + 464LL))( *((_QWORD *)this + 73), v27, 10); v28 = *((_QWORD *)this + 85); v29 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v28 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v57, *(float *)&v55 * 0.5, *((float *)&v55 + 1) * 0.5); v29(v28, v57); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 85) + 160LL))(*((_QWORD *)this + 85), 0.6); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 85) + 344LL))(*((_QWORD *)this + 85), 0); v30 = *((float *)&v55 + 1) * 0.5; v32 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_arrow_01_001.png", v31); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v32 + 160LL))(v32, 0.8); v33 = CCMenuItemSpriteExtra::create(v32, 0, (__int64)this, (__int64)NotificationsPage::onPrevPage, 0); *((_QWORD *)this + 89) = v33; (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v33); v34 = *((_QWORD *)this + 89); v35 = *((cocos2d::CCNode **)this + 69); v36 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v34 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v57, (float)(*(float *)&v55 * 0.5) + -195.0, v30); cocos2d::CCNode::convertToNodeSpace(&v56, v35, (const cocos2d::CCPoint *)v57); v36(v34, &v56); CCMenuItemSpriteExtra::setSizeMult(*((_QWORD *)this + 89), 2.0); v38 = (cocos2d::CCSprite *)cocos2d::CCSprite::createWithSpriteFrameName( (cocos2d::CCSprite *)"GJ_arrow_01_001.png", v37); cocos2d::CCSprite::setFlipX(v38, 1); (*(void (__fastcall **)(cocos2d::CCSprite *, float))(*(_QWORD *)v38 + 160LL))(v38, 0.8); v39 = CCMenuItemSpriteExtra::create((__int64)v38, 0, (__int64)this, (__int64)NotificationsPage::onNextPage, 0); *((_QWORD *)this + 88) = v39; (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v39); v40 = *((_QWORD *)this + 88); v41 = *((cocos2d::CCNode **)this + 69); v42 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v40 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v57, (float)(*(float *)&v55 * 0.5) + 195.0, v30); cocos2d::CCNode::convertToNodeSpace(&v56, v41, (const cocos2d::CCPoint *)v57); v42(v40, &v56); CCMenuItemSpriteExtra::setSizeMult(*((_QWORD *)this + 88), 2.0); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 89) + 344LL))(*((_QWORD *)this + 89), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 88) + 344LL))(*((_QWORD *)this + 88), 0); v44 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_updateBtn_001.png", v43); v45 = CCMenuItemSpriteExtra::create(v44, 0, (__int64)this, (__int64)NotificationsPage::onUpdate, 0); *((_QWORD *)this + 90) = v45; CCMenuItemSpriteExtra::setSizeMult(v45, 1.5); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 69) + 456LL))( *((_QWORD *)this + 69), *((_QWORD *)this + 90)); v46 = *((_QWORD *)this + 90); v47 = *((cocos2d::CCNode **)this + 69); v48 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v46 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v57, (float)((float)(*(float *)&v55 * 0.5) + 220.0) - 10.0, (float)((float)((float)(*((float *)&v55 + 1) * 0.5) + -145.0) + 10.0) + 1.0); cocos2d::CCNode::convertToNodeSpace(&v56, v47, (const cocos2d::CCPoint *)v57); v48(v46, &v56); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 90) + 344LL))(*((_QWORD *)this + 90), 0); v50 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)"GJ_optionsBtn02_001.png", v49); (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v50 + 160LL))(v50, 0.8); v51 = CCMenuItemSpriteExtra::create(v50, 0, (__int64)this, (__int64)NotificationsPage::onFilter, 0); CCMenuItemSpriteExtra::setSizeMult(v51, 1.5); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 69) + 456LL))(*((_QWORD *)this + 69), v51); v52 = *((cocos2d::CCNode **)this + 69); v53 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v51 + 184LL); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v57, (float)((float)(*(float *)&v55 * 0.5) + -220.0) + 10.0, (float)((float)((float)(*((float *)&v55 + 1) * 0.5) + -145.0) + 10.0) + 1.0); cocos2d::CCNode::convertToNodeSpace(&v56, v52, (const cocos2d::CCPoint *)v57); v53(v51, &v56); NotificationsPage::loadPage(this, 0); } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source