// // UpdateAccountSettingsPopup::init from 0x1403a03e0 to 0x1403a0a99 (1721 bytes) // // 2 xrefs: // > UpdateAccountSettingsPopup::create @ 0x1403a0342 // > @ 0x14092357c // // This function is hookable on this platform (idp: pc, 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 11:31:17 +0000 // // Hidden C++ exception states: #wind=14 char __fastcall UpdateAccountSettingsPopup::init( struct cocos2d::CCObject *a1, _BYTE *a2, int a3, int a4, int a5, int a6, int a7, __int64 a8, __int64 a9, __int64 a10, __int64 a11, __int64 a12, __int64 a13, __int64 a14) { struct cocos2d::CCObject *v15; // rbx __int64 v16; // rdx __int64 v17; // rdx __int64 v18; // rcx __int64 v19; // rax __int64 v20; // rax __int64 v21; // rax __int64 *v22; // rdi __int64 v23; // rbx __int64 v24; // rax __int64 v25; // rbx __int64 v26; // rax __int64 v27; // rcx __int64 v28; // rax struct cocos2d::CCObject *v29; // rbx const struct cocos2d::CCPoint *v30; // rax char *v31; // rax __int64 *v32; // rdi __int64 v33; // rbx __int64 v34; // rax struct cocos2d::CCObject *v35; // rbx cocos2d::CCLayerColor *v36; // rax __int64 *v37; // rdi __int64 v38; // rbx __int64 v39; // rax struct cocos2d::CCObject *v40; // rbx __int64 v41; // rax char *v42; // rcx _QWORD *v43; // r13 _QWORD *v44; // r12 _QWORD *v45; // r15 _QWORD *v46; // r14 _QWORD *v47; // rsi _QWORD *v48; // rdi _QWORD *v49; // rbx cocos2d::CCObject *v50; // rax struct cocos2d::CCSprite *v51; // rax struct cocos2d::CCObject *v52; // r15 cocos2d::CCObject *v53; // rax __int64 *v54; // rsi __int64 v55; // rdi __int64 v56; // rbx __int64 v57; // rax __int64 v58; // rax float v59; // [rsp+78h] [rbp-90h] BYREF float v60; // [rsp+7Ch] [rbp-8Ch] _BYTE *v61; // [rsp+80h] [rbp-88h] BYREF struct cocos2d::CCObject *v62; // [rsp+88h] [rbp-80h] _BYTE *v63; // [rsp+90h] [rbp-78h] BYREF int v64; // [rsp+98h] [rbp-70h] int v65; // [rsp+9Ch] [rbp-6Ch] __int64 v66; // [rsp+A0h] [rbp-68h] __int64 v67; // [rsp+A8h] [rbp-60h] _QWORD v68[4]; // [rsp+B0h] [rbp-58h] BYREF __int64 v69; // [rsp+D0h] [rbp-38h] __int64 v70; // [rsp+D8h] [rbp-30h] __int64 v71; // [rsp+E0h] [rbp-28h] __int64 v72; // [rsp+E8h] [rbp-20h] __int64 v73; // [rsp+F0h] [rbp-18h] _QWORD v74[4]; // [rsp+F8h] [rbp-10h] BYREF _BYTE v75[32]; // [rsp+118h] [rbp+10h] BYREF _BYTE v76[32]; // [rsp+138h] [rbp+30h] BYREF _BYTE v77[32]; // [rsp+158h] [rbp+50h] BYREF _BYTE v78[32]; // [rsp+178h] [rbp+70h] BYREF _BYTE v79[32]; // [rsp+198h] [rbp+90h] BYREF _BYTE v80[32]; // [rsp+1B8h] [rbp+B0h] BYREF _BYTE v81[32]; // [rsp+1D8h] [rbp+D0h] BYREF __int64 v82; // [rsp+1F8h] [rbp+F0h] __int64 v83; // [rsp+200h] [rbp+F8h] __int64 v84; // [rsp+208h] [rbp+100h] __int64 v85; // [rsp+210h] [rbp+108h] __int64 v86; // [rsp+218h] [rbp+110h] __int64 v87; // [rsp+220h] [rbp+118h] __int64 v88; // [rsp+228h] [rbp+120h] v64 = a4; v65 = a3; v61 = a2; v62 = a1; v66 = a8; v82 = a8; v67 = a9; v83 = a9; v69 = a10; v84 = a10; v70 = a11; v85 = a11; v71 = a12; v86 = a12; v72 = a13; v87 = a13; v73 = a14; v88 = a14; LODWORD(v63) = -1778384896; if ( cocos2d::CCLayerColor::initWithColor(a1, (const struct cocos2d::_ccColor4B *)&v63) ) { v15 = v62; FLAlertLayer::incrementForcePrio(v62); *((_QWORD *)v62 + 85) = v61; LOBYTE(v16) = 1; (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)v15 + 920LL))(v15, v16); LOBYTE(v17) = 1; (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)v15 + 992LL))(v15, v17); v19 = cocos2d::CCDirector::sharedDirector(v18); cocos2d::CCDirector::getWinSize(v19, &v59); v20 = cocos2d::CCLayer::create(); *((_QWORD *)v15 + 73) = v20; (*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)v15 + 464LL))(v15, v20); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v68, 0.0, 0.0, 80.0, 80.0); v22 = (__int64 *)cocos2d::extension::CCScale9Sprite::create("GJ_square02.png", v21); v23 = *v22; cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v61, 200.0, 100.0); (*(void (__fastcall **)(__int64 *, __int64))(v23 + 312))(v22, v24); (*(void (__fastcall **)(_QWORD, __int64 *, __int64))(**((_QWORD **)v62 + 73) + 456LL))( *((_QWORD *)v62 + 73), v22, 0xFFFFFFFFLL); v25 = *v22; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v61, v59 * 0.5, v60 * 0.5); (*(void (__fastcall **)(__int64 *, __int64))(v25 + 184))(v22, v26); v28 = cocos2d::CCMenu::create(v27); v29 = v62; *((_QWORD *)v62 + 69) = v28; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)v29 + 73) + 456LL))(*((_QWORD *)v29 + 73), v28, 10); v61 = v68; HIDWORD(v68[1]) = 0; v68[2] = 11; v68[3] = 15; strcpy((char *)v68, "Updating..."); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v63, 0.5, 1.0); v31 = TextArea::create((__int64)v68, "chatFont.fnt", 1.0, 400.0, v30, 1101004800, 0, 0); *((_QWORD *)v29 + 86) = v31; (*(void (__fastcall **)(_QWORD, char *))(**((_QWORD **)v29 + 73) + 464LL))(*((_QWORD *)v29 + 73), v31); v32 = *((__int64 **)v29 + 86); v33 = *v32; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v61, v59 * 0.5, (float)(v60 * 0.5) - 20.0); (*(void (__fastcall **)(__int64 *, __int64))(v33 + 184))(v32, v34); v35 = v62; (*(void (__fastcall **)(_QWORD))(**((_QWORD **)v62 + 86) + 160LL))(*((_QWORD *)v62 + 86)); *((_DWORD *)v35 + 160) = -1; v36 = LoadingCircle::create(); *((_QWORD *)v35 + 87) = v36; *((_QWORD *)v36 + 69) = *((_QWORD *)v35 + 73); *(_BYTE *)(*((_QWORD *)v35 + 87) + 560LL) = 0; LoadingCircle::show(*((_QWORD *)v35 + 87)); (*(void (__fastcall **)(_QWORD))(**((_QWORD **)v35 + 87) + 160LL))(*((_QWORD *)v35 + 87)); v37 = *(__int64 **)(*((_QWORD *)v35 + 87) + 544LL); v38 = *v37; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v61, v59 * 0.5, (float)(v60 * 0.5) + 10.0); (*(void (__fastcall **)(__int64 *, __int64))(v38 + 184))(v37, v39); v40 = v62; v41 = GJAccountManager::sharedState(); v42 = (char *)v40 + 664; if ( !v40 ) v42 = nullptr; *(_QWORD *)(v41 + 448) = v42; v61 = v75; v63 = v76; v74[1] = v77; v74[2] = v78; v74[3] = v79; v74[0] = v80; v68[0] = v81; v43 = (_QWORD *)sub_14003F4F0((__int64)v75, a14); v44 = (_QWORD *)sub_14003F4F0((__int64)v76, a13); v45 = (_QWORD *)sub_14003F4F0((__int64)v77, a12); v46 = (_QWORD *)sub_14003F4F0((__int64)v78, a11); v47 = (_QWORD *)sub_14003F4F0((__int64)v79, a10); v48 = (_QWORD *)sub_14003F4F0((__int64)v80, v67); v49 = (_QWORD *)sub_14003F4F0((__int64)v81, v66); v50 = (cocos2d::CCObject *)GJAccountManager::sharedState(); LOBYTE(v46) = GJAccountManager::updateAccountSettings(v50, v65, v64, a5, a6, a7, v49, v48, v47, v46, v45, v44, v43); v51 = cocos2d::CCSprite::createWithSpriteFrameName("GJ_closeBtn_001.png"); LODWORD(v49) = (_DWORD)v51; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v51 + 160LL))(v51); v52 = v62; v53 = CCMenuItemSpriteExtra::create((int)v49, 0, (int)v62, (__int64)UpdateAccountSettingsPopup::onClose); *((_QWORD *)v52 + 88) = v53; *((_DWORD *)v53 + 93) = 1070386381; (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)v52 + 69) + 464LL))( *((_QWORD *)v52 + 69), *((_QWORD *)v52 + 88)); v54 = *((__int64 **)v52 + 88); v55 = *v54; v56 = *((_QWORD *)v52 + 69); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v68, (float)((float)(v59 * 0.5) - 100.0) + 5.0, (float)((float)(v60 * 0.5) + 50.0) - 5.0); cocos2d::CCNode::convertToNodeSpace(v56, v74, v57); (*(void (__fastcall **)(__int64 *, __int64))(v55 + 184))(v54, v58); if ( !(_BYTE)v46 ) (*(void (__fastcall **)(__int64))(*((_QWORD *)v52 + 83) + 8LL))((__int64)v52 + 664); sub_14003D310(v66); sub_14003D310(v67); sub_14003D310(v69); sub_14003D310(v70); sub_14003D310(v71); sub_14003D310(v72); sub_14003D310(v73); return 1; } else { sub_14003D310(a8); sub_14003D310(a9); sub_14003D310(a10); sub_14003D310(a11); sub_14003D310(a12); sub_14003D310(a13); sub_14003D310(a14); return 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source