// // GJAccountManager::onGetAccountSyncURLCompleted from 0x465a60 to 0x465b36 (214 bytes) // // 1 xrefs: // > GJAccountManager::handleIt @ 0x465c82 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // int __fastcall GJAccountManager::onGetAccountSyncURLCompleted(GJAccountManager *a1, const char **a2) { int v4; // r9 int result; // r0 cocos2d::CCString *v6; // r0 char *CString; // r0 int v8; // r8 GJAccountSyncDelegate *m_syncDelegate; // r0 int v10; // [sp+4h] [bp+0h] BYREF char v11[4]; // [sp+8h] [bp+4h] BYREF GJAccountManager::removeDLFromActive(a1, "surl_account"); sub_776584((int)v11, "-1"); v4 = sub_774DBC(a2, v11); result = sub_774008(v11); if ( v4 ) { v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%s/database/accounts/syncGJAccountNew.php", *a2); CString = (char *)cocos2d::CCString::getCString(v6); sub_776584((int)&v10, CString); sub_775C20(v11); v8 = GJAccountManager::syncAccount(a1); sub_774008(v11); if ( !v8 ) { m_syncDelegate = a1->m_syncDelegate; if ( m_syncDelegate ) m_syncDelegate->syncAccountFailed(m_syncDelegate, GenericError, 0); } return sub_774008(&v10); } else if ( a1->m_backupDelegate ) { return ((int (__fastcall *)(GJAccountSyncDelegate *, int, _DWORD))a1->m_syncDelegate->syncAccountFailed)( a1->m_syncDelegate, -1, 0); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source