// // AccountLayer::updatePage from 0x140093e80 to 0x14009423b (955 bytes) // // 5 xrefs: // > AccountLayer::customSetup @ 0x140093419 // > AccountLayer::accountStatusChanged @ 0x140093e79 // > AccountLayer::FLAlert_Clicked @ 0x140094abd // > AccountLayer::FLAlert_Clicked @ 0x140094aec // > @ 0x140912bcc // // 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:01 +0000 // // Hidden C++ exception states: #wind=1 __int64 __fastcall AccountLayer::updatePage(__int64 a1, char a2) { char v4; // bl __int64 v5; // rax __int64 v6; // rcx __int64 v7; // rax bool v8; // r14 __int64 v9; // rcx __int64 v10; // rax const char *v11; // rdx __int64 v12; // rdi void (__fastcall **v13)(__int64, const char *); // rbx cocos2d::CCString *v14; // rax const char *CString; // rax __int64 v16; // rax const char *v17; // rdx __int64 v18; // rdi void (__fastcall **v19)(__int64, const char *); // rbx cocos2d::CCString *v20; // rax const char *v21; // rax __int64 v22; // rcx __int64 v23; // rax __int64 v24; // rdx __int64 v25; // rcx __int64 v26; // rax __int64 v27; // rdx __int64 result; // rax __int64 v29; // rbx _DWORD v30[4]; // [rsp+20h] [rbp-40h] BYREF __int128 v31; // [rsp+30h] [rbp-30h] BYREF __int64 v32; // [rsp+40h] [rbp-20h] unsigned __int64 v33; // [rsp+48h] [rbp-18h] v4 = 0; v30[0] = 0; v5 = GJAccountManager::sharedState(a1); v8 = false; if ( *(_DWORD *)(v5 + 360) != *(_DWORD *)(v5 + 364) ) { v7 = GJAccountManager::sharedState(v6); sub_14003F4F0((__int64)&v31, v7 + 376); v4 = 3; if ( v32 ) v8 = true; } if ( (v4 & 1) != 0 ) sub_14003D310((__int64)&v31); LOWORD(v30[0]) = -1; BYTE2(v30[0]) = -1; TextArea::colorAllCharactersTo(*(_QWORD *)(a1 + 648), (__int64)v30); v10 = GJAccountManager::sharedState(v9); if ( v8 ) { sub_14003F4F0((__int64)&v31, v10 + 328); v11 = (const char *)&v31; if ( v33 > 0xF ) v11 = (const char *)v31; v12 = *(_QWORD *)(a1 + 640); v13 = *(void (__fastcall ***)(__int64, const char *))(v12 + 360); v14 = cocos2d::CCString::createWithFormat("Linked to account: %s", v11); CString = cocos2d::CCString::getCString(v14); (*v13)(v12 + 360, CString); sub_14003D310((__int64)&v31); v31 = 0; v32 = 0; v33 = 15; LOBYTE(v31) = 0; } else if ( *(_DWORD *)(v10 + 360) == *(_DWORD *)(v10 + 364) ) { (**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 640) + 360LL))( *(_QWORD *)(a1 + 640) + 360LL, "Not logged in"); v31 = 0; v32 = 0; v33 = 0; *(_QWORD *)&v31 = sub_14003D460(0x40u); v32 = 62; v33 = 63; strcpy((char *)v31, "Create an account to back up\nand load your data from the cloud"); } else { v16 = GJAccountManager::sharedState(v10); sub_14003F4F0((__int64)&v31, v16 + 328); v17 = (const char *)&v31; if ( v33 > 0xF ) v17 = (const char *)v31; v18 = *(_QWORD *)(a1 + 640); v19 = *(void (__fastcall ***)(__int64, const char *))(v18 + 360); v20 = cocos2d::CCString::createWithFormat("Linked to account: %s", v17); v21 = cocos2d::CCString::getCString(v20); (*v19)(v18 + 360, v21); sub_14003D310((__int64)&v31); v32 = 14; v33 = 15; strcpy((char *)&v31, "Login required"); HIBYTE(v31) = 0; } TextArea::setString(*(__int64 **)(a1 + 648), (__int64)&v31); (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 656) + 336LL))(*(_QWORD *)(a1 + 656), !v8); v23 = GJAccountManager::sharedState(v22); v24 = *(unsigned int *)(v23 + 364); LOBYTE(v24) = *(_DWORD *)(v23 + 360) == (_DWORD)v24; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 664) + 336LL))(*(_QWORD *)(a1 + 664), v24); (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 672) + 336LL))(*(_QWORD *)(a1 + 672), v8); (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 680) + 336LL))(*(_QWORD *)(a1 + 680), v8); (*(void (__fastcall **)(_QWORD, bool))(**(_QWORD **)(a1 + 688) + 336LL))(*(_QWORD *)(a1 + 688), !v8); v26 = GJAccountManager::sharedState(v25); v27 = *(unsigned int *)(v26 + 364); LOBYTE(v27) = *(_DWORD *)(v26 + 360) != (_DWORD)v27; result = (*(__int64 (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 696) + 336LL))(*(_QWORD *)(a1 + 696), v27); if ( a2 ) { if ( !*(_BYTE *)(a1 + 716) ) { (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 672) + 936LL))(*(_QWORD *)(a1 + 672), 0); v29 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 672) + 952LL))(*(_QWORD *)(a1 + 672)); memset(v30, 125, 3); (**(void (__fastcall ***)(__int64, _DWORD *))(*(_QWORD *)(v29 + 656) + 320LL))( *(_QWORD *)(v29 + 656) + 320LL, v30); memset(v30, 125, 3); return (**(__int64 (__fastcall ***)(__int64, _DWORD *))(*(_QWORD *)(v29 + 632) + 368LL))( *(_QWORD *)(v29 + 632) + 368LL, v30); } } return result; }