// // GJAccountManager::getAccountBackupURL from 0x140306e70 to 0x1403071d7 (871 bytes) // // 2 xrefs: // > AccountLayer::FLAlert_Clicked @ 0x140094af9 // > @ 0x14091e59c // // This function is hookable on this platform (idp: pc, 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:30:09 +0000 // // Hidden C++ exception states: #wind=4 char __fastcall GJAccountManager::getAccountBackupURL(__int64 a1) { __int64 v2; // rbx void *v3; // r8 __int64 v5; // rax void *v6; // rcx int v7; // ebx cocos2d::CCString *v8; // rax const char *CString; // rax cocos2d::CCString *v10; // rax const char *v11; // rax size_t v12; // rbx size_t v13; // r8 void **v14; // rsi void *v15; // rcx __int128 v16; // [rsp+40h] [rbp-59h] BYREF __int64 v17; // [rsp+50h] [rbp-49h] __int64 v18; // [rsp+58h] [rbp-41h] __int128 v19; // [rsp+60h] [rbp-39h] BYREF __int64 v20; // [rsp+70h] [rbp-29h] __int64 v21; // [rsp+78h] [rbp-21h] void **v22; // [rsp+80h] [rbp-19h] __int128 *v23; // [rsp+88h] [rbp-11h] void *Block[2]; // [rsp+98h] [rbp-1h] BYREF __m128i si128; // [rsp+A8h] [rbp+Fh] void *v26[2]; // [rsp+B8h] [rbp+1Fh] BYREF __int128 v27; // [rsp+C8h] [rbp+2Fh] si128 = _mm_load_si128((const __m128i *)&xmmword_1408365D0); strcpy((char *)Block, "burl_account"); BYTE5(Block[1]) = 0; HIWORD(Block[1]) = 0; v2 = cocos2d::CCDictionary::objectForKey(*(_QWORD *)(a1 + 320), Block); if ( si128.m128i_i64[1] > 0xFuLL ) { v3 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v3 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v3 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v3); } if ( v2 ) return 0; v5 = cocos2d::CCNode::create(); si128 = _mm_load_si128((const __m128i *)&xmmword_1408365D0); strcpy((char *)Block, "burl_account"); BYTE5(Block[1]) = 0; HIWORD(Block[1]) = 0; cocos2d::CCDictionary::setObject(*(_QWORD *)(a1 + 320), v5, Block); if ( si128.m128i_i64[1] > 0xFuLL ) { v6 = Block[0]; if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 ) { v6 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v6 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v6); } v7 = *(_DWORD *)(a1 + 360); v8 = cocos2d::CCString::createWithFormat("%c%s%s%c%c%s", 87, "mfd", "2893", 103, 98, (const char *)&word_14070D040); CString = cocos2d::CCString::getCString(v8); v10 = cocos2d::CCString::createWithFormat("accountID=%i&type=1&secret=%s", v7, CString); v11 = cocos2d::CCString::getCString(v10); *(_OWORD *)v26 = 0; v27 = 0; v12 = -1; v13 = -1; do ++v13; while ( v11[v13] ); sub_14003D230(v26, v11, v13); v14 = v26; if ( *((_QWORD *)&v27 + 1) > 0xFu ) v14 = (void **)v26[0]; v22 = Block; v23 = &v19; *(_OWORD *)Block = 0; si128 = 0u; Block[0] = sub_14003D460(0x20u); si128.m128i_i64[0] = 16; si128.m128i_i64[1] = 31; strcpy((char *)Block[0], "AccountBackupURL"); v19 = 0; v20 = 0; v21 = 0; do ++v12; while ( *((_BYTE *)v14 + v12) ); sub_14003D230(&v19, v14, v12); v16 = 0; *(_QWORD *)&v16 = sub_14003D460(0x40u); v17 = 52; v18 = 63; strcpy((char *)v16, "https://www.boomlings.com/database/getAccountURL.php"); GJAccountManager::ProcessHttpRequest( (cocos2d::CCObject *)a1, (const char *)&v16, (const char *)&v19, (const char *)Block, 60); if ( *((_QWORD *)&v27 + 1) > 0xFu ) { v15 = v26[0]; if ( (unsigned __int64)(*((_QWORD *)&v27 + 1) + 1LL) >= 0x1000 ) { v15 = *((void **)v26[0] - 1); if ( (unsigned __int64)((char *)v26[0] - (char *)v15 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v15); } return 1; }