// // GJAccountManager::onGetAccountSyncURLCompleted from 0x98b4d4 to 0x98b69c (456 bytes) // // 2 xrefs: // > GJAccountManager::handleIt @ 0x98b770 // > @ 0x75e08 // // 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::onGetAccountSyncURLCompleted(__int64 a1, __int64 a2) { const char *v5; // x1 cocos2d::CCString *v6; // x0 const char *CString; // x0 size_t v8; // x0 int v9; // w20 __int64 v10; // x0 char *v11; // [xsp+38h] [xbp+38h] __int64 v12; // [xsp+48h] [xbp+48h] BYREF size_t v13; // [xsp+50h] [xbp+50h] void *v14; // [xsp+58h] [xbp+58h] __int64 v15; // [xsp+60h] [xbp+60h] BYREF size_t v16; // [xsp+68h] [xbp+68h] void *v17; // [xsp+70h] [xbp+70h] GJAccountManager::removeDLFromActive((GJAccountManager *)a1, "surl_account"); v15 = 3222788; v16 = 0; v17 = nullptr; if ( sub_9876A0(a2, (__int64)&v15) ) { if ( *(_QWORD *)(a1 + 416) ) (*(void (__fastcall **)(_QWORD, __int64, _QWORD))(**(_QWORD **)(a1 + 424) + 8LL))( *(_QWORD *)(a1 + 424), 0xFFFFFFFFLL, 0); } else { v5 = (const char *)(a2 + 1); if ( (*(_BYTE *)a2 & 1) != 0 ) v5 = *(const char **)(a2 + 16); v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%s/database/accounts/syncGJAccountNew.php", v5); CString = (const char *)cocos2d::CCString::getCString(v6); v12 = 0; v11 = (char *)CString; v13 = 0; v14 = nullptr; v8 = strlen(CString); std::string::__init(&v12, v11, v8); v15 = 0; v16 = 0; v17 = nullptr; if ( (v12 & 1) != 0 ) { std::string::__init(&v15, v14, v13); } else { v17 = v14; v15 = v12; v16 = v13; } v9 = (unsigned __int8)GJAccountManager::syncAccount((GJAccountManager *)a1, (char *)&v15); if ( (v15 & 1) != 0 ) operator delete(v17); if ( !v9 ) { v10 = *(_QWORD *)(a1 + 424); if ( v10 ) (*(void (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)v10 + 8LL))(v10, 0xFFFFFFFFLL, 0); } if ( (v12 & 1) != 0 ) operator delete(v14); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source