; ; GJAccountManager::linkToAccount from 0x1402038a0 to 0x140203aa1 (513 bytes) ; ; 2 xrefs: ; > AccountLoginLayer::loginAccountFinished @ 0x14007c80d ; > @ 0x1406ccb64 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; push rbx ; +0x0, 0x1402038a0 push rbp ; +0x2, 0x1402038a2 push rsi ; +0x3, 0x1402038a3 push rdi ; +0x4, 0x1402038a4 push r14 ; +0x5, 0x1402038a5 sub rsp, 70h ; +0x7, 0x1402038a7 mov rax, cs:__security_cookie ; +0xb, 0x1402038ab xor rax, rsp ; +0x12, 0x1402038b2 mov [rsp+98h+var_30], rax ; +0x15, 0x1402038b5 mov ebp, r9d ; +0x1a, 0x1402038ba mov rsi, r8 ; +0x1d, 0x1402038bd mov rdi, rdx ; +0x20, 0x1402038c0 mov r14, rcx ; +0x23, 0x1402038c3 mov [rsp+98h+var_40], rdx ; +0x26, 0x1402038c6 mov [rsp+98h+var_38], r8 ; +0x2b, 0x1402038cb add rcx, 178h; void * ; +0x30, 0x1402038d0 cmp rcx, r8 ; +0x37, 0x1402038d7 jz short loc_1402038F2 ; +0x3a, 0x1402038da mov rdx, r8 ; +0x3c, 0x1402038dc cmp qword ptr [r8+18h], 0Fh ; +0x3f, 0x1402038df jbe short loc_1402038E9 ; +0x44, 0x1402038e4 mov rdx, [r8]; Src ; +0x46, 0x1402038e6 mov r8, [r8+10h]; Size ; +0x49, 0x1402038e9 call sub_14003CCE0 ; +0x4d, 0x1402038ed lea rbx, [r14+148h] ; +0x52, 0x1402038f2 cmp rbx, rdi ; +0x59, 0x1402038f9 jz short loc_140203917 ; +0x5c, 0x1402038fc mov rdx, rdi ; +0x5e, 0x1402038fe cmp qword ptr [rdi+18h], 0Fh ; +0x61, 0x140203901 jbe short loc_14020390B ; +0x66, 0x140203906 mov rdx, [rdi]; Src ; +0x68, 0x140203908 mov r8, [rdi+10h]; Size ; +0x6b, 0x14020390b mov rcx, rbx; void * ; +0x6f, 0x14020390f call sub_14003CCE0 ; +0x72, 0x140203912 mov [r14+168h], ebp ; +0x77, 0x140203917 lea rax, [rsp+98h+var_60] ; +0x7e, 0x14020391e mov [rsp+98h+var_70], rax ; +0x83, 0x140203923 mov rdx, rbx ; +0x88, 0x140203928 lea rcx, [rsp+98h+var_60] ; +0x8b, 0x14020392b call sub_14003BDB0 ; +0x90, 0x140203930 mov rbx, rax ; +0x95, 0x140203935 mov [rsp+98h+var_68], rax ; +0x98, 0x140203938 mov rax, cs:qword_1406C2ED8 ; +0x9d, 0x14020393d test rax, rax ; +0xa4, 0x140203944 jnz short loc_140203978 ; +0xa7, 0x140203947 mov ecx, 668h; Size ; +0xa9, 0x140203949 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xae, 0x14020394e mov [rsp+98h+var_78], rax ; +0xb3, 0x140203953 mov rcx, rax ; +0xb8, 0x140203958 call sub_14017AB00 ; +0xbb, 0x14020395b nop ; +0xc0, 0x140203960 mov cs:qword_1406C2ED8, rax ; +0xc1, 0x140203961 mov rdx, [rax] ; +0xc8, 0x140203968 mov rcx, rax ; +0xcb, 0x14020396b call qword ptr [rdx+48h] ; +0xce, 0x14020396e mov rax, cs:qword_1406C2ED8 ; +0xd1, 0x140203971 lea rcx, [rax+268h]; void * ; +0xd8, 0x140203978 cmp rcx, rbx ; +0xdf, 0x14020397f jz short loc_14020399B ; +0xe2, 0x140203982 mov rdx, rbx ; +0xe4, 0x140203984 cmp qword ptr [rbx+18h], 0Fh ; +0xe7, 0x140203987 jbe short loc_140203991 ; +0xec, 0x14020398c mov rdx, [rbx]; Src ; +0xee, 0x14020398e mov r8, [rbx+10h]; Size ; +0xf1, 0x140203991 call sub_14003CCE0 ; +0xf5, 0x140203995 nop ; +0xfa, 0x14020399a mov rcx, rbx ; +0xfb, 0x14020399b call sub_14003A830 ; +0xfe, 0x14020399e mov rbp, cs:qword_1406C2ED8 ; +0x103, 0x1402039a3 test rbp, rbp ; +0x10a, 0x1402039aa jnz short loc_1402039DE ; +0x10d, 0x1402039ad mov ecx, 668h; Size ; +0x10f, 0x1402039af call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x114, 0x1402039b4 mov [rsp+98h+var_78], rax ; +0x119, 0x1402039b9 mov rcx, rax ; +0x11e, 0x1402039be call sub_14017AB00 ; +0x121, 0x1402039c1 nop ; +0x126, 0x1402039c6 mov cs:qword_1406C2ED8, rax ; +0x127, 0x1402039c7 mov rdx, [rax] ; +0x12e, 0x1402039ce mov rcx, rax ; +0x131, 0x1402039d1 call qword ptr [rdx+48h] ; +0x134, 0x1402039d4 mov rbp, cs:qword_1406C2ED8 ; +0x137, 0x1402039d7 mov ebx, [rsp+98h+arg_20] ; +0x13e, 0x1402039de mov [rbp+294h], ebx ; +0x145, 0x1402039e5 call cs:rand ; +0x14b, 0x1402039eb movd xmm0, eax ; +0x151, 0x1402039f1 cvtdq2ps xmm0, xmm0 ; +0x155, 0x1402039f5 divss xmm0, cs:dword_140623644 ; +0x158, 0x1402039f8 mulss xmm0, cs:dword_14062350C ; +0x160, 0x140203a00 cvttss2si eax, xmm0 ; +0x168, 0x140203a08 mov [rbp+290h], eax ; +0x16c, 0x140203a0c add eax, ebx ; +0x172, 0x140203a12 mov [rbp+28Ch], eax ; +0x174, 0x140203a14 mov rcx, [r14+1A8h] ; +0x17a, 0x140203a1a test rcx, rcx ; +0x181, 0x140203a21 jz short loc_140203A2B ; +0x184, 0x140203a24 mov rax, [rcx] ; +0x186, 0x140203a26 call qword ptr [rax] ; +0x189, 0x140203a29 mov rax, cs:qword_1406C2ED8 ; +0x18b, 0x140203a2b test rax, rax ; +0x192, 0x140203a32 jnz short loc_140203A66 ; +0x195, 0x140203a35 mov ecx, 668h; Size ; +0x197, 0x140203a37 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x19c, 0x140203a3c mov [rsp+98h+var_78], rax ; +0x1a1, 0x140203a41 mov rcx, rax ; +0x1a6, 0x140203a46 call sub_14017AB00 ; +0x1a9, 0x140203a49 nop ; +0x1ae, 0x140203a4e mov cs:qword_1406C2ED8, rax ; +0x1af, 0x140203a4f mov rdx, [rax] ; +0x1b6, 0x140203a56 mov rcx, rax ; +0x1b9, 0x140203a59 call qword ptr [rdx+48h] ; +0x1bc, 0x140203a5c mov rax, cs:qword_1406C2ED8 ; +0x1bf, 0x140203a5f mov rcx, [rax+228h] ; +0x1c6, 0x140203a66 test rcx, rcx ; +0x1cd, 0x140203a6d jz short loc_140203A78 ; +0x1d0, 0x140203a70 call MenuLayer__updateUserProfileButton ; +0x1d2, 0x140203a72 nop ; +0x1d7, 0x140203a77 mov rcx, rdi ; +0x1d8, 0x140203a78 call sub_14003A830 ; +0x1db, 0x140203a7b nop ; +0x1e0, 0x140203a80 mov rcx, rsi ; +0x1e1, 0x140203a81 call sub_14003A830 ; +0x1e4, 0x140203a84 mov rcx, [rsp+98h+var_30] ; +0x1e9, 0x140203a89 xor rcx, rsp; StackCookie ; +0x1ee, 0x140203a8e call __security_check_cookie ; +0x1f1, 0x140203a91 add rsp, 70h ; +0x1f6, 0x140203a96 pop r14 ; +0x1fa, 0x140203a9a pop rdi ; +0x1fc, 0x140203a9c pop rsi ; +0x1fd, 0x140203a9d pop rbp ; +0x1fe, 0x140203a9e pop rbx ; +0x1ff, 0x140203a9f retn ; +0x200, 0x140203aa0