// // AccountHelpLayer::customSetup from 0x98e7e4 to 0x98ebd8 (1012 bytes) // // 2 xrefs: // > @ 0x7e208 // > @ 0x1473638 // // 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 12:57:58 +0000 // __int64 __fastcall AccountHelpLayer::customSetup(AccountHelpLayer *this) { cocos2d::CCDirector *v2; // x0 const char *v3; // x2 __int64 v4; // x0 __int64 v5; // x22 void (__fastcall *v6)(__int64, __int64 *); // x24 __int64 v7; // x0 char v8; // w1 __int64 v9; // x24 void (__fastcall *v10)(__int64, __int64 *); // x25 __int64 v11; // x26 bool v12; // w4 __int64 v13; // x5 const char *v14; // x6 __int64 v15; // x0 __int64 v16; // x0 bool v17; // w4 __int64 v18; // x5 const char *v19; // x6 __int64 v20; // x0 __int64 v21; // x24 bool v22; // w4 __int64 v23; // x5 const char *v24; // x6 __int64 v25; // x0 __int64 v26; // x0 cocos2d::CCNode *v27; // x26 cocos2d::CCNode *v28; // x25 __int64 v29; // x25 void (__fastcall *v30)(__int64, __int64 *); // x26 void (__fastcall *v31)(__int64, __int64 *); // x25 __int64 v32; // x24 void (__fastcall *v33)(__int64, __int64 *); // x25 GJAccountManager *updated; // x0 __int64 v36; // [xsp+60h] [xbp+60h] BYREF __int64 v37; // [xsp+68h] [xbp+68h] BYREF _BYTE v38[8]; // [xsp+70h] [xbp+70h] BYREF __int64 v39; // [xsp+78h] [xbp+78h] BYREF __int64 v40[2]; // [xsp+80h] [xbp+80h] BYREF void *v41; // [xsp+90h] [xbp+90h] v2 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard); cocos2d::CCDirector::getWinSize(&v36, v2); v4 = cocos2d::CCLabelBMFont::create((cocos2d::CCLabelBMFont *)&byte_11B8890, "goldFont.fnt", v3); *((_QWORD *)this + 78) = v4; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v4 + 160LL))(v4, 0.8); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 72) + 456LL))( *((_QWORD *)this + 72), *((_QWORD *)this + 78)); v5 = *((_QWORD *)this + 78); v6 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v5 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v39, *(float *)&v36 * 0.5, (float)(*((float *)&v36 + 1) * 0.5) + 90.0); v6(v5, &v39); v40[0] = 0; v40[1] = 0; v41 = nullptr; std::string::__init(v40, &byte_11E1A70, 1u); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v39, 0.5, 1.0); v7 = TextArea::create((char *)v40, "bigFont.fnt", (const cocos2d::CCPoint *)&v39, 0, 0, 1.0, 1000.0, 35.0); v8 = v40[0]; *((_QWORD *)this + 79) = v7; if ( (v8 & 1) != 0 ) { operator delete(v41); v7 = *((_QWORD *)this + 79); } (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v7 + 160LL))(v7, 0.4); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 72) + 456LL))( *((_QWORD *)this + 72), *((_QWORD *)this + 79)); v9 = *((_QWORD *)this + 79); v10 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v9 + 184LL); v11 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 78) + 192LL))(*((_QWORD *)this + 78)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v38, 0.0, -18.0); cocos2d::CCPoint::operator+(&v39, v11); v10(v9, &v39); v15 = ButtonSprite::create((ButtonSprite *)"Refresh Login", (const char *)&qword_A0, 0, 1, 1.0, v12, v13, v14); v16 = CCMenuItemSpriteExtra::create(v15, 0, (__int64)this, (__int64)AccountHelpLayer::onReLogin, 0); *((_QWORD *)this + 80) = v16; (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 70) + 456LL))(*((_QWORD *)this + 70), v16); v20 = ButtonSprite::create((ButtonSprite *)"Manage Account", (const char *)&qword_A0, 0, 1, 1.0, v17, v18, v19); v21 = CCMenuItemSpriteExtra::create(v20, 0, (__int64)this, (__int64)AccountHelpLayer::onAccountManagement, 0); (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 70) + 456LL))(*((_QWORD *)this + 70), v21); v25 = ButtonSprite::create((ButtonSprite *)"Unlink Account", (const char *)&qword_A0, 0, 1, 1.0, v22, v23, v24); v26 = CCMenuItemSpriteExtra::create(v25, 0, (__int64)this, (__int64)AccountHelpLayer::onUnlink, 0); *((_QWORD *)this + 81) = v26; (*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 70) + 456LL))(*((_QWORD *)this + 70), v26); v27 = *((cocos2d::CCNode **)this + 72); v28 = *((cocos2d::CCNode **)this + 70); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v38, *(float *)&v36 * 0.5, (float)(*((float *)&v36 + 1) * 0.5) + 30.0); cocos2d::CCNode::convertToWorldSpace(&v39, v27, (const cocos2d::CCPoint *)v38); cocos2d::CCNode::convertToNodeSpace(&v37, v28, (const cocos2d::CCPoint *)&v39); v29 = *((_QWORD *)this + 80); v30 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v29 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v38, 0.0, 0.0); cocos2d::CCPoint::operator+(&v39, &v37); v30(v29, &v39); v31 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v21 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v38, 0.0, -45.0); cocos2d::CCPoint::operator+(&v39, &v37); v31(v21, &v39); v32 = *((_QWORD *)this + 81); v33 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v32 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v38, 0.0, -90.0); cocos2d::CCPoint::operator+(&v39, &v37); v33(v32, &v39); updated = (GJAccountManager *)AccountHelpLayer::updatePage(this); *(_QWORD *)(GJAccountManager::sharedState(updated) + 408) = (char *)this + 608; *((_BYTE *)this + 656) = 1; return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source