// // GJAccountManager::onGetAccountSyncURLCompleted from 0x583588 to 0x583678 (240 bytes) // // 1 xrefs: // > GJAccountManager::handleIt @ 0x5837d4 // // 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:56 +0000 // int __fastcall GJAccountManager::onGetAccountSyncURLCompleted(int a1, int a2) { _BOOL4 v4; // r9 int result; // r0 const char *v6; // r1 cocos2d::CCString *v7; // r0 const char *CString; // r6 size_t v9; // r0 int v10; // r6 int v11; // r0 int v12[3]; // [sp+4h] [bp-20h] BYREF int v13[3]; // [sp+10h] [bp-14h] BYREF GJAccountManager::removeDLFromActive((GJAccountManager *)a1, "surl_account"); memset(v13, 0, sizeof(v13)); std::string::__init(v13, "-1", 2u); v4 = sub_58125C((unsigned __int8 *)a2, (unsigned __int8 *)v13); result = std::string::~string((int)v13); if ( v4 ) { if ( *(_DWORD *)(a1 + 316) ) return (*(int (__fastcall **)(_DWORD, int, _DWORD))(**(_DWORD **)(a1 + 320) + 4))(*(_DWORD *)(a1 + 320), -1, 0); } else { if ( (*(_BYTE *)a2 & 1) != 0 ) v6 = *(const char **)(a2 + 8); else v6 = (const char *)(a2 + 1); v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%s/database/accounts/syncGJAccountNew.php", v6); memset(v12, 0, sizeof(v12)); CString = (const char *)cocos2d::CCString::getCString(v7); v9 = strlen(CString); std::string::__init(v12, CString, v9); std::string::basic_string(v13, (int)v12); v10 = GJAccountManager::syncAccount((GJAccountManager *)a1, (int)v13); std::string::~string((int)v13); if ( !v10 ) { v11 = *(_DWORD *)(a1 + 320); if ( v11 ) (*(void (__fastcall **)(int, int, _DWORD))(*(_DWORD *)v11 + 4))(v11, -1, 0); } return std::string::~string((int)v12); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source