; ; GJAccountManager::loginAccount from 0x1403065e0 to 0x140306a59 (1145 bytes) ; ; 2 xrefs: ; > AccountLoginLayer::onSubmit @ 0x140091f4b ; > @ 0x14091e584 ; ; 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 ; mov [rsp-8+arg_18], rbx ; +0x0, 0x1403065e0 push rbp ; +0x5, 0x1403065e5 push rsi ; +0x6, 0x1403065e6 push rdi ; +0x7, 0x1403065e7 push r14 ; +0x8, 0x1403065e8 push r15 ; +0xa, 0x1403065ea lea rbp, [rsp-10h] ; +0xc, 0x1403065ec sub rsp, 110h ; +0x11, 0x1403065f1 mov rax, cs:__security_cookie ; +0x18, 0x1403065f8 xor rax, rsp ; +0x1f, 0x1403065ff mov [rbp+30h+var_28], rax ; +0x22, 0x140306602 mov rsi, r8 ; +0x26, 0x140306606 mov rdi, rdx ; +0x29, 0x140306609 mov r14, rcx ; +0x2c, 0x14030660c mov [rbp+30h+var_98], rdx ; +0x2f, 0x14030660f mov [rbp+30h+var_90], r8 ; +0x33, 0x140306613 xor r15d, r15d ; +0x37, 0x140306617 xorps xmm0, xmm0 ; +0x3a, 0x14030661a movups xmmword ptr [rbp+30h+Block], xmm0 ; +0x3d, 0x14030661d mov [rbp+30h+var_78], r15 ; +0x41, 0x140306621 mov [rbp+30h+var_70], r15 ; +0x45, 0x140306625 mov r8d, 0Dh ; +0x49, 0x140306629 lea rdx, aLoginAccount; "login_account" ; +0x4f, 0x14030662f lea rcx, [rbp+30h+Block] ; +0x56, 0x140306636 call sub_14003D230 ; +0x5a, 0x14030663a nop ; +0x5f, 0x14030663f lea rdx, [rbp+30h+Block] ; +0x60, 0x140306640 mov rcx, [r14+140h] ; +0x64, 0x140306644 call cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x6b, 0x14030664b mov rbx, rax ; +0x71, 0x140306651 mov rdx, [rbp+30h+var_70] ; +0x74, 0x140306654 cmp rdx, 0Fh ; +0x78, 0x140306658 jbe short loc_1403066A4 ; +0x7c, 0x14030665c inc rdx ; +0x7e, 0x14030665e mov r8, [rbp+30h+Block] ; +0x81, 0x140306661 mov rcx, r8 ; +0x85, 0x140306665 cmp rdx, 1000h ; +0x88, 0x140306668 jb short loc_14030669C ; +0x8f, 0x14030666f add rdx, 27h ; ''' ; +0x91, 0x140306671 mov r8, [r8-8] ; +0x95, 0x140306675 sub rcx, r8 ; +0x99, 0x140306679 sub rcx, 8 ; +0x9c, 0x14030667c cmp rcx, 1Fh ; +0xa0, 0x140306680 jbe short loc_14030669C ; +0xa4, 0x140306684 mov [rsp+130h+Reserved], r15; Reserved ; +0xa6, 0x140306686 xor r9d, r9d; LineNo ; +0xab, 0x14030668b xor r8d, r8d; FileName ; +0xae, 0x14030668e xor edx, edx; FunctionName ; +0xb1, 0x140306691 xor ecx, ecx; Expression ; +0xb3, 0x140306693 call cs:_invoke_watson ; +0xb5, 0x140306695 align 4 ; +0xbb, 0x14030669b mov rcx, r8; Block ; +0xbc, 0x14030669c call j_j_free ; +0xbf, 0x14030669f test rbx, rbx ; +0xc4, 0x1403066a4 jz short loc_1403066C1 ; +0xc7, 0x1403066a7 mov rcx, rdi ; +0xc9, 0x1403066a9 call sub_14003D310 ; +0xcc, 0x1403066ac nop ; +0xd1, 0x1403066b1 mov rcx, rsi ; +0xd2, 0x1403066b2 call sub_14003D310 ; +0xd5, 0x1403066b5 xor al, al ; +0xda, 0x1403066ba jmp loc_140306A36 ; +0xdc, 0x1403066bc lea rdx, aLoginAccount; "login_account" ; +0xe1, 0x1403066c1 mov rcx, r14 ; +0xe8, 0x1403066c8 call GJAccountManager__addDLToActive ; +0xeb, 0x1403066cb mov rdx, cs:qword_14090BFD0 ; +0xf0, 0x1403066d0 test rdx, rdx ; +0xf7, 0x1403066d7 jnz short loc_14030670E ; +0xfa, 0x1403066da mov ecx, 6E8h; Size ; +0xfc, 0x1403066dc call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x101, 0x1403066e1 mov [rsp+130h+var_F0], rax ; +0x106, 0x1403066e6 mov rcx, rax ; +0x10b, 0x1403066eb call GameManager__GameManager ; +0x10e, 0x1403066ee nop ; +0x113, 0x1403066f3 mov cs:qword_14090BFD0, rax ; +0x114, 0x1403066f4 mov rcx, [rax] ; +0x11b, 0x1403066fb mov rdx, [rcx+48h] ; +0x11e, 0x1403066fe mov rcx, rax ; +0x122, 0x140306702 call rdx ; +0x125, 0x140306705 mov rdx, cs:qword_14090BFD0 ; +0x127, 0x140306707 add rdx, 270h ; +0x12e, 0x14030670e lea rcx, [rbp+30h+var_48] ; +0x135, 0x140306715 call sub_14003F4F0 ; +0x139, 0x140306719 nop ; +0x13e, 0x14030671e mov r9, rsi ; +0x13f, 0x14030671f cmp qword ptr [rsi+18h], 0Fh ; +0x142, 0x140306722 jbe short loc_14030672C ; +0x147, 0x140306727 mov r9, [rsi] ; +0x149, 0x140306729 mov r8, rdi ; +0x14c, 0x14030672c cmp qword ptr [rdi+18h], 0Fh ; +0x14f, 0x14030672f jbe short loc_140306739 ; +0x154, 0x140306734 mov r8, [rdi] ; +0x156, 0x140306736 lea rdx, [rbp+30h+var_48] ; +0x159, 0x140306739 cmp [rbp+30h+var_30], 0Fh ; +0x15d, 0x14030673d cmova rdx, [rbp+30h+var_48] ; +0x162, 0x140306742 lea rcx, aUdidSUsernameS; "udid=%s&userName=%s&gjp2=%s" ; +0x167, 0x140306747 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x16e, 0x14030674e mov rcx, rax ; +0x174, 0x140306754 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x177, 0x140306757 xorps xmm0, xmm0 ; +0x17d, 0x14030675d movups xmmword ptr [rbp+30h+Src], xmm0 ; +0x180, 0x140306760 mov [rbp+30h+var_58], r15 ; +0x184, 0x140306764 mov [rbp+30h+var_50], r15 ; +0x188, 0x140306768 mov rbx, 0FFFFFFFFFFFFFFFFh ; +0x18c, 0x14030676c mov r8, rbx ; +0x193, 0x140306773 inc r8 ; +0x196, 0x140306776 cmp byte ptr [rax+r8], 0 ; +0x199, 0x140306779 jnz short loc_140306776 ; +0x19e, 0x14030677e mov rdx, rax ; +0x1a0, 0x140306780 lea rcx, [rbp+30h+Src] ; +0x1a3, 0x140306783 call sub_14003D230 ; +0x1a7, 0x140306787 nop ; +0x1ac, 0x14030678c mov r8d, 5; Size ; +0x1ad, 0x14030678d lea rdx, aSid; "&sID=" ; +0x1b3, 0x140306793 lea rcx, [rbp+30h+Src]; Src ; +0x1ba, 0x14030679a call sub_140044D80 ; +0x1be, 0x14030679e call sub_14008B190 ; +0x1c3, 0x1403067a3 lea rcx, off_1408FE060 ; +0x1c8, 0x1403067a8 call cs:SteamInternal_ContextInit ; +0x1cf, 0x1403067af cmp qword ptr [rax], 0 ; +0x1d5, 0x1403067b5 jz short loc_140306808 ; +0x1d9, 0x1403067b9 lea rcx, off_1408FE048 ; +0x1db, 0x1403067bb call cs:SteamInternal_ContextInit ; +0x1e2, 0x1403067c2 cmp qword ptr [rax], 0 ; +0x1e8, 0x1403067c8 jz short loc_140306808 ; +0x1ec, 0x1403067cc lea rcx, off_1408FE048 ; +0x1ee, 0x1403067ce call cs:SteamInternal_ContextInit ; +0x1f5, 0x1403067d5 mov rcx, [rax] ; +0x1fb, 0x1403067db mov rax, [rcx] ; +0x1fe, 0x1403067de call qword ptr [rax+8] ; +0x201, 0x1403067e1 test al, al ; +0x204, 0x1403067e4 jz short loc_140306808 ; +0x206, 0x1403067e6 lea rcx, off_1408FE048 ; +0x208, 0x1403067e8 call cs:SteamInternal_ContextInit ; +0x20f, 0x1403067ef mov rcx, [rax] ; +0x215, 0x1403067f5 mov rax, [rcx] ; +0x218, 0x1403067f8 lea rdx, [rsp+130h+var_F0] ; +0x21b, 0x1403067fb call qword ptr [rax+10h] ; +0x220, 0x140306800 mov rdx, [rax] ; +0x223, 0x140306803 jmp short loc_14030680B ; +0x226, 0x140306806 mov rdx, r15 ; +0x228, 0x140306808 lea rcx, aLld; "%lld" ; +0x22b, 0x14030680b call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x232, 0x140306812 mov rcx, rax ; +0x238, 0x140306818 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x23b, 0x14030681b mov r8, rbx ; +0x241, 0x140306821 inc r8; Size ; +0x244, 0x140306824 cmp byte ptr [rax+r8], 0 ; +0x247, 0x140306827 jnz short loc_140306824 ; +0x24c, 0x14030682c mov rdx, rax; void * ; +0x24e, 0x14030682e lea rcx, [rbp+30h+Src]; Src ; +0x251, 0x140306831 call sub_140044D80 ; +0x255, 0x140306835 mov r8d, 8; Size ; +0x25a, 0x14030683a lea rdx, aSecret; "&secret=" ; +0x260, 0x140306840 lea rcx, [rbp+30h+Src]; Src ; +0x267, 0x140306847 call sub_140044D80 ; +0x26b, 0x14030684b lea rax, a9; "9" ; +0x270, 0x140306850 mov [rsp+130h+var_100], rax ; +0x277, 0x140306857 mov [rsp+130h+var_108], 63h ; 'c' ; +0x27c, 0x14030685c mov dword ptr [rsp+130h+Reserved], 67h ; 'g' ; +0x284, 0x140306864 lea r9, a3899; "3899" ; +0x28c, 0x14030686c lea r8, aMfv; "mfv" ; +0x293, 0x140306873 mov edx, 57h ; 'W' ; +0x29a, 0x14030687a lea rcx, aCSSCCS; "%c%s%s%c%c%s" ; +0x29f, 0x14030687f call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x2a6, 0x140306886 mov rcx, rax ; +0x2ac, 0x14030688c call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x2af, 0x14030688f mov r8, rbx ; +0x2b5, 0x140306895 nop dword ptr [rax+rax+00000000h] ; +0x2b8, 0x140306898 inc r8; Size ; +0x2c0, 0x1403068a0 cmp byte ptr [rax+r8], 0 ; +0x2c3, 0x1403068a3 jnz short loc_1403068A0 ; +0x2c8, 0x1403068a8 mov rdx, rax; void * ; +0x2ca, 0x1403068aa lea rcx, [rbp+30h+Src]; Src ; +0x2cd, 0x1403068ad call sub_140044D80 ; +0x2d1, 0x1403068b1 lea rdx, [rbp+30h+Src] ; +0x2d6, 0x1403068b6 cmp [rbp+30h+var_50], 0Fh ; +0x2da, 0x1403068ba cmova rdx, [rbp+30h+Src] ; +0x2df, 0x1403068bf lea rax, [rsp+130h+var_E8] ; +0x2e4, 0x1403068c4 mov [rsp+130h+var_F0], rax ; +0x2e9, 0x1403068c9 lea rax, [rsp+130h+var_C8] ; +0x2ee, 0x1403068ce mov [rbp+30h+var_A8], rax ; +0x2f3, 0x1403068d3 xorps xmm0, xmm0 ; +0x2f7, 0x1403068d7 movups [rsp+130h+var_E8], xmm0 ; +0x2fa, 0x1403068da mov [rsp+130h+var_D8], 0Ch ; +0x2ff, 0x1403068df mov [rsp+130h+var_D0], 0Fh ; +0x308, 0x1403068e8 movsd xmm0, cs:qword_14076A038 ; +0x311, 0x1403068f1 movsd qword ptr [rsp+130h+var_E8], xmm0 ; +0x319, 0x1403068f9 mov eax, cs:dword_14076A040 ; +0x31f, 0x1403068ff mov dword ptr [rsp+130h+var_E8+8], eax ; +0x325, 0x140306905 mov byte ptr [rsp+130h+var_E8+0Ch], 0 ; +0x329, 0x140306909 xorps xmm0, xmm0 ; +0x32e, 0x14030690e movups [rsp+130h+var_C8], xmm0 ; +0x331, 0x140306911 mov [rsp+130h+var_B8], r15 ; +0x336, 0x140306916 mov [rbp+30h+var_B0], r15 ; +0x33b, 0x14030691b nop ; +0x33f, 0x14030691f inc rbx ; +0x340, 0x140306920 cmp byte ptr [rdx+rbx], 0 ; +0x343, 0x140306923 jnz short loc_140306920 ; +0x347, 0x140306927 mov r8, rbx ; +0x349, 0x140306929 lea rcx, [rsp+130h+var_C8] ; +0x34c, 0x14030692c call sub_14003D230 ; +0x351, 0x140306931 nop ; +0x356, 0x140306936 xorps xmm0, xmm0 ; +0x357, 0x140306937 movups xmmword ptr [rbp+30h+Block], xmm0 ; +0x35a, 0x14030693a mov [rbp+30h+var_78], r15 ; +0x35e, 0x14030693e mov [rbp+30h+var_70], r15 ; +0x362, 0x140306942 mov ecx, 40h ; '@' ; +0x366, 0x140306946 call sub_14003D460 ; +0x36b, 0x14030694b mov rdx, rax ; +0x370, 0x140306950 mov [rbp+30h+Block], rax ; +0x373, 0x140306953 mov [rbp+30h+var_78], 3Eh ; '>' ; +0x377, 0x140306957 mov [rbp+30h+var_70], 3Fh ; '?' ; +0x37f, 0x14030695f movups xmm0, cs:xmmword_140769FE0 ; +0x387, 0x140306967 movups xmmword ptr [rax], xmm0 ; +0x38e, 0x14030696e movups xmm1, cs:xmmword_140769FF0 ; +0x391, 0x140306971 movups xmmword ptr [rax+10h], xmm1 ; +0x398, 0x140306978 movups xmm0, cs:xmmword_14076A000 ; +0x39c, 0x14030697c movups xmmword ptr [rax+20h], xmm0 ; +0x3a3, 0x140306983 movsd xmm0, cs:qword_14076A010 ; +0x3a7, 0x140306987 movsd qword ptr [rax+30h], xmm0 ; +0x3af, 0x14030698f mov eax, cs:dword_14076A018 ; +0x3b4, 0x140306994 mov [rdx+38h], eax ; +0x3ba, 0x14030699a movzx eax, cs:word_14076A01C ; +0x3bd, 0x14030699d mov [rdx+3Ch], ax ; +0x3c4, 0x1403069a4 mov byte ptr [rdx+3Eh], 0 ; +0x3c8, 0x1403069a8 mov dword ptr [rsp+130h+Reserved], 1Ah ; +0x3cc, 0x1403069ac lea r9, [rsp+130h+var_E8] ; +0x3d4, 0x1403069b4 lea r8, [rsp+130h+var_C8] ; +0x3d9, 0x1403069b9 lea rdx, [rbp+30h+Block] ; +0x3de, 0x1403069be mov rcx, r14 ; +0x3e2, 0x1403069c2 call GJAccountManager__ProcessHttpRequest ; +0x3e5, 0x1403069c5 nop ; +0x3ea, 0x1403069ca mov rdx, [rbp+30h+var_50] ; +0x3eb, 0x1403069cb cmp rdx, 0Fh ; +0x3ef, 0x1403069cf jbe short loc_140306A19 ; +0x3f3, 0x1403069d3 inc rdx ; +0x3f5, 0x1403069d5 mov rcx, [rbp+30h+Src]; Block ; +0x3f8, 0x1403069d8 mov rax, rcx ; +0x3fc, 0x1403069dc cmp rdx, 1000h ; +0x3ff, 0x1403069df jb short loc_140306A13 ; +0x406, 0x1403069e6 add rdx, 27h ; ''' ; +0x408, 0x1403069e8 mov rcx, [rcx-8] ; +0x40c, 0x1403069ec sub rax, rcx ; +0x410, 0x1403069f0 sub rax, 8 ; +0x413, 0x1403069f3 cmp rax, 1Fh ; +0x417, 0x1403069f7 jbe short loc_140306A13 ; +0x41b, 0x1403069fb mov [rsp+130h+Reserved], r15; Reserved ; +0x41d, 0x1403069fd xor r9d, r9d; LineNo ; +0x422, 0x140306a02 xor r8d, r8d; FileName ; +0x425, 0x140306a05 xor edx, edx; FunctionName ; +0x428, 0x140306a08 xor ecx, ecx; Expression ; +0x42a, 0x140306a0a call cs:_invoke_watson ; +0x42c, 0x140306a0c db 0CCh ; +0x432, 0x140306a12 call j_j_free ; +0x433, 0x140306a13 nop ; +0x438, 0x140306a18 lea rcx, [rbp+30h+var_48] ; +0x439, 0x140306a19 call sub_14003D310 ; +0x43d, 0x140306a1d nop ; +0x442, 0x140306a22 mov rcx, rdi ; +0x443, 0x140306a23 call sub_14003D310 ; +0x446, 0x140306a26 nop ; +0x44b, 0x140306a2b mov rcx, rsi ; +0x44c, 0x140306a2c call sub_14003D310 ; +0x44f, 0x140306a2f mov al, 1 ; +0x454, 0x140306a34 mov rcx, [rbp+30h+var_28] ; +0x456, 0x140306a36 xor rcx, rsp; StackCookie ; +0x45a, 0x140306a3a call __security_check_cookie ; +0x45d, 0x140306a3d mov rbx, [rsp+130h+arg_18] ; +0x462, 0x140306a42 add rsp, 110h ; +0x46a, 0x140306a4a pop r15 ; +0x471, 0x140306a51 pop r14 ; +0x473, 0x140306a53 pop rdi ; +0x475, 0x140306a55 pop rsi ; +0x476, 0x140306a56 pop rbp ; +0x477, 0x140306a57 retn ; +0x478, 0x140306a58