// // AccountHelpLayer::updatePage from 0x10009cf00 to 0x10009d1fe (766 bytes) // // 3 xrefs: // > AccountHelpLayer::customSetup @ 0x10009cbc9 // > AccountHelpLayer::accountStatusChanged @ 0x10009d3a5 // > sub_10009D3B0 @ 0x10009d3bc // // 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 12:20:12 +0000 // __int64 __fastcall AccountHelpLayer::updatePage(_QWORD *a1) { __int64 v2; // rax void **v3; // r15 __int64 v4; // rdi __int64 v5; // rax __int64 v6; // rax __int64 v7; // r14 __int64 v8; // r14 __int64 v9; // rax __int64 v10; // rax __int64 v11; // rax __int64 v12; // r14 void *v13; // r14 void *v14; // rdi void **v15; // rax __int64 v16; // rax __int64 v17; // rax __int64 v18; // rax __int64 v19; // rax __int64 v20; // rax __int64 CString; // rax __int64 v22; // rbx __int64 v23; // rax char v25; // [rsp+0h] [rbp-80h] _WORD v26[8]; // [rsp+8h] [rbp-78h] BYREF char v27; // [rsp+18h] [rbp-68h] BYREF _QWORD v28[2]; // [rsp+20h] [rbp-60h] BYREF char *v29; // [rsp+30h] [rbp-50h] BYREF char v30; // [rsp+38h] [rbp-48h] BYREF char v31[23]; // [rsp+39h] [rbp-47h] BYREF __int128 v32; // [rsp+50h] [rbp-30h] BYREF void *__p; // [rsp+60h] [rbp-20h] v2 = GJAccountManager::sharedState(a1); if ( *(_DWORD *)(v2 + 352) == *(_DWORD *)(v2 + 356) ) { v3 = (void **)(a1 + 79); v4 = a1[79]; TextArea::colorAllCharactersTo(v4, 0xFFFFFF); } else { v5 = GJAccountManager::sharedState(a1); if ( (*(_BYTE *)(v5 + 368) & 1) != 0 ) { sub_10001AD30(&v32, *(const void **)(v5 + 384), *(_QWORD *)(v5 + 376)); } else { v6 = v5 + 368; __p = *(void **)(v6 + 16); v32 = *(_OWORD *)v6; } v7 = (unsigned __int8)v32 >> 1; if ( (v32 & 1) != 0 ) { v7 = *((_QWORD *)&v32 + 1); operator delete(__p); } v3 = (void **)(a1 + 79); v4 = a1[79]; TextArea::colorAllCharactersTo(v4, 0xFFFFFF); if ( v7 ) { v8 = a1[78]; v9 = GJAccountManager::sharedState(v4); if ( (*(_BYTE *)(v9 + 328) & 1) != 0 ) { sub_10001AD30(&v32, *(const void **)(v9 + 344), *(_QWORD *)(v9 + 336)); } else { v10 = v9 + 328; __p = *(void **)(v10 + 16); v32 = *(_OWORD *)v10; } v20 = sub_10088E820("Linked to account: %s", v25); CString = cocos2d::CCString::getCString(v20); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 928LL))(v8, CString); if ( (v32 & 1) != 0 ) operator delete(__p); v14 = *v3; v26[0] = 0; TextArea::setString(v14, v26); if ( (v26[0] & 1) != 0 ) { v15 = (void **)&v27; goto LABEL_26; } goto LABEL_27; } } v11 = GJAccountManager::sharedState(v4); v12 = a1[78]; if ( *(_DWORD *)(v11 + 352) == *(_DWORD *)(v11 + 356) ) { (*(void (__fastcall **)(_QWORD, const char *))(*(_QWORD *)v12 + 928LL))(a1[78], "Not logged in"); v13 = *v3; v29 = (char *)operator new(0x30u); v28[0] = 49; v28[1] = 46; strcpy(v29, "Create an account to backup\nand sync your data"); v14 = v13; TextArea::setString(v13, v28); if ( (v28[0] & 1) != 0 ) { v15 = (void **)&v29; LABEL_26: v14 = *v15; operator delete(*v15); } } else { v16 = GJAccountManager::sharedState(v4); if ( (*(_BYTE *)(v16 + 328) & 1) != 0 ) { sub_10001AD30(&v32, *(const void **)(v16 + 344), *(_QWORD *)(v16 + 336)); } else { v17 = v16 + 328; __p = *(void **)(v17 + 16); v32 = *(_OWORD *)v17; } v18 = sub_10088E820("Linked to account: %s", v25); v19 = cocos2d::CCString::getCString(v18); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v12 + 928LL))(v12, v19); if ( (v32 & 1) != 0 ) operator delete(__p); v14 = *v3; v30 = 28; strcpy(v31, "Login required"); TextArea::setString(v14, &v30); if ( (v30 & 1) != 0 ) { v15 = (void **)&v31[15]; goto LABEL_26; } } LABEL_27: v22 = a1[81]; v23 = GJAccountManager::sharedState(v14); return (*(__int64 (__fastcall **)(__int64, bool))(*(_QWORD *)v22 + 344LL))( v22, *(_DWORD *)(v23 + 352) != *(_DWORD *)(v23 + 356)); }