// // GJAccountManager::linkToAccount from 0x5825d8 to 0x58269a (194 bytes) // // 1 xrefs: // > AccountLoginLayer::loginAccountFinished @ 0x587b68 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:52:55 +0000 // cocos2d::CCLabelBMFont **__fastcall GJAccountManager::linkToAccount( int a1, unsigned __int8 *a2, unsigned __int8 *a3, int a4, int a5) { unsigned __int8 *v7; // r8 unsigned __int8 *v9; // r0 cocos2d::CCDictionary **v10; // r0 GameManager *v11; // r0 int v12; // r9 GameManager *v13; // r0 int v14; // r0 int v15; // r4 GameLevelManager *v16; // r0 int v17; // s15 cocos2d::CCDictionary **v18; // r0 GameManager *v19; // r0 GameManager *v20; // r0 int v22[3]; // [sp+0h] [bp-14h] BYREF v7 = (unsigned __int8 *)(a1 + 268); std::string::operator=((unsigned __int8 *)(a1 + 292), a3); v9 = std::string::operator=(v7, a2); *(_DWORD *)(a1 + 280) = a4; v10 = (cocos2d::CCDictionary **)GameLevelManager::sharedState((GameLevelManager *)v9); v11 = (GameManager *)GameLevelManager::resetAccountCaches(v10); v12 = GameManager::sharedState(v11); std::string::basic_string(v22, (int)v7); std::string::operator=((unsigned __int8 *)(v12 + 448), (unsigned __int8 *)v22); v13 = (GameManager *)std::string::~string((int)v22); v14 = GameManager::sharedState(v13); *(_DWORD *)(v14 + 472) = a5; v15 = v14; v16 = (GameLevelManager *)rand(); v17 = (int)(float)(vcvts_n_f32_s32((unsigned int)v16, 0x1Fu) * 1000.0); *(_DWORD *)(v15 + 468) = v17; *(_DWORD *)(v15 + 464) = v17 + a5; v18 = (cocos2d::CCDictionary **)GameLevelManager::sharedState(v16); GameLevelManager::syncFollowListIfNeeded(v18); v19 = *(GameManager **)(a1 + 312); if ( v19 ) v19 = (GameManager *)(**(int (__fastcall ***)(GameManager *))v19)(v19); v20 = (GameManager *)GameManager::sharedState(v19); return GameManager::accountStatusChanged(v20); }
GD Web Decomp Icon

GD Web Decomp

Raw Source