// // AccountHelpLayer::updatePage from 0x140095430 to 0x1400956e0 (688 bytes) // // 3 xrefs: // > AccountHelpLayer::customSetup @ 0x1400950bd // > AccountHelpLayer::accountStatusChanged @ 0x140095427 // > @ 0x140912c50 // // 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:26:02 +0000 // // Hidden C++ exception states: #wind=1 __int64 __fastcall AccountHelpLayer::updatePage(__int64 a1) { char v2; // bl __int64 v3; // rax __int64 v4; // rcx __int64 v5; // rax bool v6; // di __int64 v7; // rcx __int64 v8; // rax const char *v9; // rdx __int64 v10; // rdi void (__fastcall **v11)(__int64, const char *); // rbx cocos2d::CCString *v12; // rax const char *CString; // rax __int64 v14; // rax const char *v15; // rdx __int64 v16; // rdi void (__fastcall **v17)(__int64, const char *); // rbx cocos2d::CCString *v18; // rax const char *v19; // rax __int64 v20; // rcx __int64 v21; // rax __int64 v22; // rdx int v24; // [rsp+20h] [rbp-40h] BYREF __int128 v25; // [rsp+30h] [rbp-30h] BYREF __int64 v26; // [rsp+40h] [rbp-20h] unsigned __int64 v27; // [rsp+48h] [rbp-18h] v2 = 0; v24 = 0; v3 = GJAccountManager::sharedState(a1); v6 = false; if ( *(_DWORD *)(v3 + 360) != *(_DWORD *)(v3 + 364) ) { v5 = GJAccountManager::sharedState(v4); sub_14003F4F0((__int64)&v25, v5 + 376); v2 = 3; if ( v26 ) v6 = true; } if ( (v2 & 1) != 0 ) sub_14003D310((__int64)&v25); LOWORD(v24) = -1; BYTE2(v24) = -1; TextArea::colorAllCharactersTo(*(_QWORD *)(a1 + 632), (__int64)&v24); v8 = GJAccountManager::sharedState(v7); if ( v6 ) { sub_14003F4F0((__int64)&v25, v8 + 328); v9 = (const char *)&v25; if ( v27 > 0xF ) v9 = (const char *)v25; v10 = *(_QWORD *)(a1 + 624); v11 = *(void (__fastcall ***)(__int64, const char *))(v10 + 360); v12 = cocos2d::CCString::createWithFormat("Linked to account: %s", v9); CString = cocos2d::CCString::getCString(v12); (*v11)(v10 + 360, CString); sub_14003D310((__int64)&v25); v25 = 0; v26 = 0; v27 = 15; LOBYTE(v25) = 0; } else if ( *(_DWORD *)(v8 + 360) == *(_DWORD *)(v8 + 364) ) { (**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 624) + 360LL))( *(_QWORD *)(a1 + 624) + 360LL, "Not logged in"); v25 = 0; v26 = 0; v27 = 0; *(_QWORD *)&v25 = sub_14003D460(0x30u); v26 = 46; v27 = 47; strcpy((char *)v25, "Create an account to backup\nand sync your data"); } else { v14 = GJAccountManager::sharedState(v8); sub_14003F4F0((__int64)&v25, v14 + 328); v15 = (const char *)&v25; if ( v27 > 0xF ) v15 = (const char *)v25; v16 = *(_QWORD *)(a1 + 624); v17 = *(void (__fastcall ***)(__int64, const char *))(v16 + 360); v18 = cocos2d::CCString::createWithFormat("Linked to account: %s", v15); v19 = cocos2d::CCString::getCString(v18); (*v17)(v16 + 360, v19); sub_14003D310((__int64)&v25); v26 = 14; v27 = 15; strcpy((char *)&v25, "Login required"); HIBYTE(v25) = 0; } TextArea::setString(*(__int64 **)(a1 + 632), (__int64)&v25); v21 = GJAccountManager::sharedState(v20); v22 = *(unsigned int *)(v21 + 364); LOBYTE(v22) = *(_DWORD *)(v21 + 360) != (_DWORD)v22; return (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 648) + 336LL))(*(_QWORD *)(a1 + 648), v22); }