// // GJAccountManager::onGetAccountBackupURLCompleted from 0x98b0ac to 0x98b26c (448 bytes) // // 2 xrefs: // > GJAccountManager::handleIt @ 0x98b9c0 // > @ 0x962f8 // // This function is hookable on this platform (idp: arm, 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:57:56 +0000 // __int64 __fastcall GJAccountManager::onGetAccountBackupURLCompleted(GJAccountManager *a1, __int64 a2) { __int64 v4; // x0 const char *v6; // x1 cocos2d::CCString *v7; // x0 const char *CString; // x0 size_t v9; // x0 int v10; // w20 __int64 v11; // x0 char *v12; // [xsp+38h] [xbp+38h] __int64 v13; // [xsp+48h] [xbp+48h] BYREF size_t v14; // [xsp+50h] [xbp+50h] void *v15; // [xsp+58h] [xbp+58h] __int64 v16; // [xsp+60h] [xbp+60h] BYREF size_t v17; // [xsp+68h] [xbp+68h] void *v18; // [xsp+70h] [xbp+70h] GJAccountManager::removeDLFromActive(a1, "burl_account"); v16 = 3222788; v17 = 0; v18 = nullptr; if ( sub_9876A0(a2, (__int64)&v16) ) { v4 = *((_QWORD *)a1 + 52); if ( v4 ) (*(void (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)v4 + 8LL))(v4, 0xFFFFFFFFLL, 0); } else { v6 = (const char *)(a2 + 1); if ( (*(_BYTE *)a2 & 1) != 0 ) v6 = *(const char **)(a2 + 16); v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%s/database/accounts/backupGJAccountNew.php", v6); CString = (const char *)cocos2d::CCString::getCString(v7); v13 = 0; v12 = (char *)CString; v14 = 0; v15 = nullptr; v9 = strlen(CString); std::string::__init(&v13, v12, v9); v16 = 0; v17 = 0; v18 = nullptr; if ( (v13 & 1) != 0 ) { std::string::__init(&v16, v15, v14); } else { v18 = v15; v16 = v13; v17 = v14; } v10 = (unsigned __int8)GJAccountManager::backupAccount((__int64)a1, (char *)&v16); if ( (v16 & 1) != 0 ) operator delete(v18); if ( !v10 ) { v11 = *((_QWORD *)a1 + 52); if ( v11 ) (*(void (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)v11 + 8LL))(v11, 0xFFFFFFFFLL, 0); } if ( (v13 & 1) != 0 ) operator delete(v15); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source