// // GJAccountManager::loginAccount from 0x100446f00 to 0x1004470e8 (488 bytes) // // 1 xrefs: // > sub_10008CF80 @ 0x10008d1ec // // 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 11:05:15 +0000 // bool __fastcall GJAccountManager::loginAccount(__int64 a1, const char *a2, const char *a3) { __int64 DLObject; // x19 void *v7; // x0 __int64 v8; // x0 const char *p_dst; // x8 void *v10; // x0 char *CString; // x0 std::string *v12; // x0 void *v13; // x0 const std::string::value_type *v14; // x0 int v15; // w22 std::string::size_type v16; // x21 std::string *v17; // x1 void *__p[2]; // [xsp+30h] [xbp-A0h] BYREF char v20; // [xsp+47h] [xbp-89h] void *v21[2]; // [xsp+48h] [xbp-88h] BYREF char v22; // [xsp+5Fh] [xbp-71h] void *v23[2]; // [xsp+60h] [xbp-70h] BYREF char v24; // [xsp+77h] [xbp-59h] std::string v25; // [xsp+78h] [xbp-58h] BYREF __int128 __dst; // [xsp+90h] [xbp-40h] BYREF __int64 v27; // [xsp+A0h] [xbp-30h] DLObject = GJAccountManager::getDLObject(a1, "login_account"); if ( !DLObject ) { v7 = cocos2d::CCNode::create(); GJAccountManager::addDLToActive(a1, "login_account", (__int64)v7); v8 = GameManager::sharedState(); if ( *(char *)(v8 + 631) < 0 ) { sub_1000097D0(&__dst, *(void **)(v8 + 608), *(_QWORD *)(v8 + 616)); } else { __dst = *(_OWORD *)(v8 + 608); v27 = *(_QWORD *)(v8 + 624); } p_dst = (const char *)&__dst; if ( v27 < 0 ) p_dst = (const char *)__dst; if ( a2[23] < 0 ) a2 = *(const char **)a2; if ( a3[23] < 0 ) a3 = *(const char **)a3; v10 = sub_1003065B0("udid=%s&userName=%s&gjp2=%s", p_dst, a2, a3); CString = (char *)cocos2d::CCString::getCString((__int64)v10); v12 = (std::string *)sub_100009900(&v25, CString); std::string::append(v12, "&secret="); v13 = sub_1003065B0("%c%s%s%c%c%s", 87, "mfv", "3899", 103, 99, "9"); v14 = (const std::string::value_type *)cocos2d::CCString::getCString((__int64)v13); std::string::append(&v25, v14); v15 = SHIBYTE(v25.__r_.__value_.__r.__words[2]); v16 = v25.__r_.__value_.__r.__words[0]; sub_100009900(v23, "https://www.boomlings.com/database/accounts/loginGJAccount.php"); if ( v15 >= 0 ) v17 = &v25; else v17 = (std::string *)v16; sub_100009900(v21, (char *)v17); sub_100009900(__p, "LoginAccount"); GJAccountManager::ProcessHttpRequest( a1, (const std::string::value_type *)v23, (char *)v21, (const std::string::value_type *)__p, 26); if ( v20 < 0 ) operator delete(__p[0]); if ( v22 < 0 ) operator delete(v21[0]); if ( v24 < 0 ) operator delete(v23[0]); if ( SHIBYTE(v25.__r_.__value_.__r.__words[2]) < 0 ) operator delete(v25.__r_.__value_.__l.__data_); if ( SHIBYTE(v27) < 0 ) operator delete((void *)__dst); } return DLObject == 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source