// // GJAccountManager::registerAccount from 0x1000a04f0 to 0x1000a0803 (787 bytes) // // 1 xrefs: // > AccountRegisterLayer::onSubmit @ 0x10048dd07 // // 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 12:20:13 +0000 // bool __fastcall GJAccountManager::registerAccount(__int64 a1) { __int64 DLObject; // rbx __int64 v2; // rax __int64 v3; // rax __int64 v4; // r15 const char *CString; // r15 size_t v6; // rax size_t v7; // r12 char *v8; // r13 size_t v9; // rbx char v11; // [rsp+0h] [rbp-D0h] std::string v12; // [rsp+18h] [rbp-B8h] BYREF std::string v13; // [rsp+30h] [rbp-A0h] BYREF std::string v14; // [rsp+48h] [rbp-88h] BYREF _QWORD v15[2]; // [rsp+60h] [rbp-70h] BYREF void *v16; // [rsp+70h] [rbp-60h] char v17; // [rsp+78h] [rbp-58h] BYREF _BYTE v18[23]; // [rsp+79h] [rbp-57h] BYREF _QWORD __dst[2]; // [rsp+90h] [rbp-40h] BYREF void *v20; // [rsp+A0h] [rbp-30h] DLObject = GJAccountManager::getDLObject(a1, "reg_account"); if ( DLObject ) return DLObject == 0; v2 = cocos2d::CCNode::create(a1); GJAccountManager::addDLToActive(a1, "reg_account", v2); sub_1000A08D0(&v12); sub_1000A08D0(&v13); sub_1000A08D0(&v14); v3 = sub_10088E820("%c%s%s%c%c%s", (char)"9"); cocos2d::CCString::getCString(v3); v4 = sub_10088E820("userName=%s&password=%s&email=%s&secret=%s&rsession=%s", v11); if ( (*(_BYTE *)&v14.__r_.__value_.__s.0 & 1) != 0 ) { operator delete(v14.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v13.__r_.__value_.__s.0 & 1) == 0 ) { LABEL_4: if ( (*(_BYTE *)&v12.__r_.__value_.__s.0 & 1) == 0 ) goto LABEL_6; goto LABEL_5; } } else if ( (*(_BYTE *)&v13.__r_.__value_.__s.0 & 1) == 0 ) { goto LABEL_4; } operator delete(v13.__r_.__value_.__l.__data_); if ( (*(_BYTE *)&v12.__r_.__value_.__s.0 & 1) != 0 ) LABEL_5: operator delete(v12.__r_.__value_.__l.__data_); LABEL_6: CString = (const char *)cocos2d::CCString::getCString(v4); v16 = operator new(0x48u); v15[0] = 73; v15[1] = 65; strcpy((char *)v16, "https://www.boomlings.com/database/accounts/registerGJAccount.php"); v6 = strlen(CString); if ( v6 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v7 = v6; if ( v6 >= 0x17 ) { v9 = 26; if ( (v6 | 7) != 0x17 ) v9 = (v6 | 7) + 1; v8 = (char *)operator new(v9); v20 = v8; __dst[0] = v9 | 1; __dst[1] = v7; DLObject = 0; goto LABEL_16; } LOBYTE(__dst[0]) = 2 * v6; v8 = (char *)__dst + 1; if ( v6 ) LABEL_16: memmove(v8, CString, v7); v8[v7] = 0; v17 = 30; strcpy(v18, "RegisterAccount"); GJAccountManager::ProcessHttpRequest(a1, (__int64)v15, (__int64)__dst, (__int64)&v17, 24); if ( (v17 & 1) == 0 ) { if ( (__dst[0] & 1) == 0 ) goto LABEL_19; LABEL_23: operator delete(v20); if ( (v15[0] & 1) == 0 ) return DLObject == 0; goto LABEL_20; } operator delete(*(void **)&v18[15]); if ( (__dst[0] & 1) != 0 ) goto LABEL_23; LABEL_19: if ( (v15[0] & 1) != 0 ) LABEL_20: operator delete(v16); return DLObject == 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source