// // GJAccountManager::openRegister from 0x140306330 to 0x1403065db (683 bytes) // // 2 xrefs: // > AccountRegisterLayer::init @ 0x14008da55 // > @ 0x14091e578 // // 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=3 void __fastcall GJAccountManager::openRegister(cocos2d::CCObject *a1) { cocos2d::CCString *v2; // rax const char *CString; // rax cocos2d::CCString *v4; // rax const char *v5; // rax size_t v6; // r8 __int64 v7; // rcx void **v8; // r14 char *v9; // rsi unsigned __int64 v10; // r15 __int64 v11; // rbx unsigned __int64 v12; // rdi char *v13; // rax int Reserved; // [rsp+20h] [rbp-89h] int v15; // [rsp+28h] [rbp-81h] __int128 v16; // [rsp+40h] [rbp-69h] BYREF unsigned __int64 v17; // [rsp+50h] [rbp-59h] __int64 v18; // [rsp+58h] [rbp-51h] char v19[14]; // [rsp+60h] [rbp-49h] BYREF __int16 v20; // [rsp+6Eh] [rbp-3Bh] __int64 v21; // [rsp+70h] [rbp-39h] __int64 v22; // [rsp+78h] [rbp-31h] __int128 v23; // [rsp+80h] [rbp-29h] BYREF __int64 v24; // [rsp+90h] [rbp-19h] __int64 v25; // [rsp+98h] [rbp-11h] char *v26; // [rsp+A0h] [rbp-9h] __int128 *v27; // [rsp+A8h] [rbp-1h] void *Src[2]; // [rsp+B8h] [rbp+Fh] BYREF unsigned __int64 v29; // [rsp+C8h] [rbp+1Fh] unsigned __int64 v30; // [rsp+D0h] [rbp+27h] v15 = 99; Reserved = 103; v2 = cocos2d::CCString::createWithFormat("%c%s%s%c%c%s", 87, "mfv", "3899", Reserved, v15, "9"); CString = cocos2d::CCString::getCString(v2); v4 = cocos2d::CCString::createWithFormat("secret=%s", CString); v5 = cocos2d::CCString::getCString(v4); *(_OWORD *)Src = 0; v29 = 0; v30 = 0; v6 = -1; do ++v6; while ( v5[v6] ); sub_14003D230(Src, v5, v6); v26 = v19; v27 = &v16; v21 = 12; v22 = 15; strcpy(v19, "OpenRegister"); v19[13] = 0; v20 = 0; v16 = 0; v17 = 0; v18 = 0; v8 = Src; v9 = (char *)Src[0]; v10 = v30; if ( v30 > 0xF ) v8 = (void **)Src[0]; v11 = 0x7FFFFFFFFFFFFFFFLL; v12 = v29; if ( v29 > 0x7FFFFFFFFFFFFFFFLL ) sub_140009D90(v7); if ( v29 > 0xF ) { if ( (v29 | 0xF) <= 0x7FFFFFFFFFFFFFFFLL ) { v11 = v29 | 0xF; if ( (v29 | 0xF) < 0x16 ) v11 = 22; } *(_QWORD *)&v16 = sub_14003D460(v11 + 1); v17 = v12; v18 = v11; memcpy((void *)v16, v8, v12 + 1); } else { v17 = v29; v18 = 15; v16 = *(_OWORD *)v8; } v23 = 0; v24 = 0; v25 = 0; *(_QWORD *)&v23 = sub_14003D460(0x40u); v24 = 62; v25 = 63; strcpy((char *)v23, "https://www.boomlings.com/database/accounts/openedRegister.php"); GJAccountManager::ProcessHttpRequest(a1, (const char *)&v23, (const char *)&v16, v19, 25); if ( v10 > 0xF ) { v13 = v9; if ( v10 + 1 >= 0x1000 ) { v9 = *((char **)v9 - 1); if ( (unsigned __int64)(v13 - v9 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v9); } }