// // GJAccountManager::syncAccount from 0x1003a10cc to 0x1003a1248 (380 bytes) // // 1 xrefs: // > GJAccountManager::onGetAccountSyncURLCompleted @ 0x1003a010c // // 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 // bool __fastcall GJAccountManager::syncAccount(GJAccountManager *a1, __int128 *a2) { cocos2d::CCObject *DLObject; // x19 cocos2d::CCNode *v5; // x0 cocos2d::CCString *v6; // x0 const char *CString; // x0 cocos2d::CCString *v8; // x0 const char *v9; // x0 std::string *v10; // x1 void *__p[2]; // [xsp+30h] [xbp-80h] BYREF char v13; // [xsp+47h] [xbp-69h] void *v14[2]; // [xsp+48h] [xbp-68h] BYREF char v15; // [xsp+5Fh] [xbp-51h] __int128 __dst; // [xsp+60h] [xbp-50h] BYREF __int64 v17; // [xsp+70h] [xbp-40h] std::string v18; // [xsp+78h] [xbp-38h] BYREF DLObject = GJAccountManager::getDLObject(a1, "sync_account"); if ( !DLObject ) { v5 = cocos2d::CCNode::create(); GJAccountManager::addDLToActive(a1, "sync_account", v5); GameLevelManager::sharedState(); GameLevelManager::getBasePostString(&v18); v6 = (cocos2d::CCString *)sub_100268F4C("%c%s%s%c%c%s", 87, "mfv", "3899", 103, 99, "9"); CString = cocos2d::CCString::getCString(v6); v8 = (cocos2d::CCString *)sub_100268F4C("&secret=%s", CString); v9 = cocos2d::CCString::getCString(v8); std::string::append(&v18, v9); if ( *((char *)a2 + 23) < 0 ) { sub_1000097D0(&__dst, *(void **)a2, *((_QWORD *)a2 + 1)); } else { __dst = *a2; v17 = *((_QWORD *)a2 + 2); } if ( (v18.__r_.__value_.__r.__words[2] & 0x8000000000000000LL) == 0LL ) v10 = &v18; else v10 = (std::string *)v18.__r_.__value_.__r.__words[0]; sub_100009900(v14, (char *)v10); sub_100009900(__p, "SyncAccount"); GJAccountManager::ProcessHttpRequest( a1, (const std::string::value_type *)&__dst, (char *)v14, (const std::string::value_type *)__p, 21); if ( v13 < 0 ) operator delete(__p[0]); if ( v15 < 0 ) operator delete(v14[0]); if ( SHIBYTE(v17) < 0 ) operator delete((void *)__dst); if ( SHIBYTE(v18.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v18.__r_.__value_.__l.__data_); } return DLObject == nullptr; }