; ; GJAccountManager::ProcessHttpRequest from 0x1403052b0 to 0x1403053fe (334 bytes) ; ; 9 xrefs: ; > GJAccountManager::registerAccount @ 0x140306145 ; > GJAccountManager::openRegister @ 0x140306559 ; > GJAccountManager::loginAccount @ 0x1403069c5 ; > GJAccountManager::getAccountBackupURL @ 0x14030715e ; > GJAccountManager::backupAccount @ 0x140307a00 ; > GJAccountManager::getAccountSyncURL @ 0x1403081d8 ; > GJAccountManager::syncAccount @ 0x140308799 ; > GJAccountManager::updateAccountSettings @ 0x140309ec9 ; > @ 0x14091e518 ; ; 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 ; push rbx ; +0x0, 0x1403052b0 push rsi ; +0x2, 0x1403052b2 push rdi ; +0x3, 0x1403052b3 push r14 ; +0x4, 0x1403052b4 push r15 ; +0x6, 0x1403052b6 sub rsp, 50h ; +0x8, 0x1403052b8 mov rax, cs:__security_cookie ; +0xc, 0x1403052bc xor rax, rsp ; +0x13, 0x1403052c3 mov [rsp+78h+var_38], rax ; +0x16, 0x1403052c6 mov r14, r9 ; +0x1b, 0x1403052cb mov rdi, r8 ; +0x1e, 0x1403052ce mov r15, rdx ; +0x21, 0x1403052d1 mov rsi, rcx ; +0x24, 0x1403052d4 mov [rsp+78h+var_50], rdx ; +0x27, 0x1403052d7 mov [rsp+78h+var_48], r8 ; +0x2c, 0x1403052dc mov [rsp+78h+var_40], r9 ; +0x31, 0x1403052e1 mov ecx, 0E0h; Size ; +0x36, 0x1403052e6 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x3b, 0x1403052eb mov rbx, rax ; +0x40, 0x1403052f0 mov [rsp+78h+var_58], rax ; +0x43, 0x1403052f3 mov rcx, rax ; +0x48, 0x1403052f8 call cs:??0CCHttpRequest@extension@cocos2d@@QEAA@XZ; cocos2d::extension::CCHttpRequest::CCHttpRequest(void) ; +0x4b, 0x1403052fb lea rax, ??_7CCHttpRequest@extension@cocos2d@@6B@; const cocos2d::extension::CCHttpRequest::`vftable' ; +0x51, 0x140305301 mov [rbx], rax ; +0x58, 0x140305308 mov rdx, r15 ; +0x5b, 0x14030530b cmp qword ptr [r15+18h], 0Fh ; +0x5e, 0x14030530e jbe short loc_140305318 ; +0x63, 0x140305313 mov rdx, [r15] ; +0x65, 0x140305315 mov rcx, rbx ; +0x68, 0x140305318 call cs:?setUrl@CCHttpRequest@extension@cocos2d@@QEAAXPEBD@Z; cocos2d::extension::CCHttpRequest::setUrl(char const *) ; +0x6b, 0x14030531b mov dword ptr [rbx+38h], 1 ; +0x71, 0x140305321 mov [rbx+98h], rsi ; +0x78, 0x140305328 lea rax, GJAccountManager__onProcessHttpRequestCompleted ; +0x7f, 0x14030532f mov [rbx+0A0h], rax ; +0x86, 0x140305336 test rsi, rsi ; +0x8d, 0x14030533d jz short loc_14030534B ; +0x90, 0x140305340 mov rcx, rsi ; +0x92, 0x140305342 call cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x95, 0x140305345 mov esi, [rsp+78h+arg_20] ; +0x9b, 0x14030534b lea eax, [rsi-16h] ; +0xa2, 0x140305352 cmp eax, 1 ; +0xa5, 0x140305355 ja short loc_140305364 ; +0xa8, 0x140305358 mov dword ptr [rbx+0D4h], 258h ; +0xaa, 0x14030535a mov rax, rdi ; +0xb4, 0x140305364 cmp qword ptr [rdi+18h], 0Fh ; +0xb7, 0x140305367 jbe short loc_140305376 ; +0xbc, 0x14030536c mov rax, [rdi] ; +0xbe, 0x14030536e mov rdx, rax ; +0xc1, 0x140305371 jmp short loc_140305379 ; +0xc4, 0x140305374 mov rdx, rdi ; +0xc6, 0x140305376 mov r8, 0FFFFFFFFFFFFFFFFh ; +0xc9, 0x140305379 inc r8 ; +0xd0, 0x140305380 cmp byte ptr [rax+r8], 0 ; +0xd3, 0x140305383 jnz short loc_140305380 ; +0xd8, 0x140305388 mov rcx, rbx ; +0xda, 0x14030538a call cs:?setRequestData@CCHttpRequest@extension@cocos2d@@QEAAXPEBDI@Z; cocos2d::extension::CCHttpRequest::setRequestData(char const *,uint) ; +0xdd, 0x14030538d mov rdx, r14 ; +0xe3, 0x140305393 cmp qword ptr [r14+18h], 0Fh ; +0xe6, 0x140305396 jbe short loc_1403053A0 ; +0xeb, 0x14030539b mov rdx, [r14] ; +0xed, 0x14030539d mov rcx, rbx ; +0xf0, 0x1403053a0 call cs:?setTag@CCHttpRequest@extension@cocos2d@@QEAAXPEBD@Z; cocos2d::extension::CCHttpRequest::setTag(char const *) ; +0xf3, 0x1403053a3 mov [rbx+0C8h], esi ; +0xf9, 0x1403053a9 call cs:?getInstance@CCHttpClient@extension@cocos2d@@SAPEAV123@XZ; cocos2d::extension::CCHttpClient::getInstance(void) ; +0xff, 0x1403053af mov rcx, rax ; +0x105, 0x1403053b5 mov rdx, rbx ; +0x108, 0x1403053b8 call cs:?send@CCHttpClient@extension@cocos2d@@QEAAXPEAVCCHttpRequest@23@@Z; cocos2d::extension::CCHttpClient::send(cocos2d::extension::CCHttpRequest *) ; +0x10b, 0x1403053bb mov rcx, rbx ; +0x111, 0x1403053c1 call cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x114, 0x1403053c4 nop ; +0x11a, 0x1403053ca mov rcx, r15 ; +0x11b, 0x1403053cb call sub_14003D310 ; +0x11e, 0x1403053ce nop ; +0x123, 0x1403053d3 mov rcx, rdi ; +0x124, 0x1403053d4 call sub_14003D310 ; +0x127, 0x1403053d7 nop ; +0x12c, 0x1403053dc mov rcx, r14 ; +0x12d, 0x1403053dd call sub_14003D310 ; +0x130, 0x1403053e0 mov rcx, [rsp+78h+var_38] ; +0x135, 0x1403053e5 xor rcx, rsp; StackCookie ; +0x13a, 0x1403053ea call __security_check_cookie ; +0x13d, 0x1403053ed add rsp, 50h ; +0x142, 0x1403053f2 pop r15 ; +0x146, 0x1403053f6 pop r14 ; +0x148, 0x1403053f8 pop rdi ; +0x14a, 0x1403053fa pop rsi ; +0x14b, 0x1403053fb pop rbx ; +0x14c, 0x1403053fc retn ; +0x14d, 0x1403053fd