// // GJAccountManager::onLoginAccountCompleted from 0x9884d0 to 0x988724 (596 bytes) // // 2 xrefs: // > GJAccountManager::handleIt @ 0x98b8f8 // > @ 0xb61b8 // // 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:55 +0000 // __int64 __fastcall GJAccountManager::onLoginAccountCompleted(__int64 a1, unsigned __int8 *a2) { cocos2d::CCString *v4; // x0 size_t v5; // x0 _BOOL4 v6; // w24 __int64 v7; // x0 cocos2d::CCString *v9; // x0 const char *v10; // x0 size_t v11; // x0 _BOOL4 v12; // w22 __int64 v13; // x0 _BOOL4 v14; // w20 __int64 v15; // x0 cocos2d::CCArray *v16; // x20 cocos2d::CCString *v17; // x0 int v18; // w21 cocos2d::CCString *v19; // x0 __int64 v20; // x2 int v21; // w0 __int64 v22; // x0 void (__fastcall ***v23)(_QWORD, _QWORD, __int64); // x0 char *CString; // [xsp+48h] [xbp+48h] char *v25; // [xsp+48h] [xbp+48h] __int64 v26; // [xsp+50h] [xbp+50h] BYREF __int64 v27; // [xsp+58h] [xbp+58h] void *v28; // [xsp+60h] [xbp+60h] GJAccountManager::removeDLFromActive((GJAccountManager *)a1, "login_account"); v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)0xFFFFFFF4LL); v26 = 0; CString = (char *)cocos2d::CCString::getCString(v4); v27 = 0; v28 = nullptr; v5 = strlen(CString); std::string::__init(&v26, CString, v5); v6 = sub_9876A0((__int64)a2, (__int64)&v26); if ( (v26 & 1) != 0 ) { operator delete(v28); if ( v6 ) { LABEL_3: v7 = *(_QWORD *)(a1 + 400); if ( v7 ) (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 8LL))(v7, 4294967284LL); return _stack_chk_guard; } } else if ( v6 ) { goto LABEL_3; } v9 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)0xFFFFFFF3LL); v10 = (const char *)cocos2d::CCString::getCString(v9); v26 = 0; v25 = (char *)v10; v27 = 0; v28 = nullptr; v11 = strlen(v10); std::string::__init(&v26, v25, v11); v12 = sub_9876A0((__int64)a2, (__int64)&v26); if ( (v26 & 1) != 0 ) operator delete(v28); if ( v12 ) { v13 = *(_QWORD *)(a1 + 400); if ( v13 ) (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v13 + 8LL))(v13, 4294967283LL); } else { v26 = 0; v27 = 0; v28 = nullptr; std::string::__init(&v26, &word_117CE08, 2u); v14 = sub_9876A0((__int64)a2, (__int64)&v26); if ( (v26 & 1) != 0 ) operator delete(v28); if ( v14 || (v16 = sub_9881C8(a2, &byte_1169BE0), (unsigned int)cocos2d::CCArray::count(v16) <= 1) || (v17 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v16, 0), v18 = cocos2d::CCString::intValue(v17), v19 = (cocos2d::CCString *)cocos2d::CCArray::stringAtIndex(v16, 1u), v20 = (unsigned int)cocos2d::CCString::intValue(v19), v18 <= 0) ) { v15 = *(_QWORD *)(a1 + 400); if ( v15 ) (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v15 + 8LL))(v15, 0xFFFFFFFFLL); } else { v21 = *(_DWORD *)(a1 + 352); if ( v18 == v21 || !v21 ) { v23 = *(void (__fastcall ****)(_QWORD, _QWORD, __int64))(a1 + 400); if ( v23 ) (**v23)(v23, (unsigned int)v18, v20); } else { v22 = *(_QWORD *)(a1 + 400); if ( v22 ) (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v22 + 8LL))(v22, 4294967286LL); } } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source