; ; GJAccountManager::onRegisterAccountCompleted from 0x140200970 to 0x140200afc (396 bytes) ; ; 2 xrefs: ; > GJAccountManager::handleIt @ 0x1402003cb ; > @ 0x1406ccae0 ; ; 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 ; mov [rsp+arg_18], rbx ; +0x0, 0x140200970 push rsi ; +0x5, 0x140200975 push rdi ; +0x6, 0x140200976 push r14 ; +0x7, 0x140200977 sub rsp, 60h ; +0x9, 0x140200979 mov rax, cs:__security_cookie ; +0xd, 0x14020097d xor rax, rsp ; +0x14, 0x140200984 mov [rsp+78h+var_28], rax ; +0x17, 0x140200987 mov r14, r8 ; +0x1c, 0x14020098c mov rdi, rdx ; +0x1f, 0x14020098f mov rbx, rcx ; +0x22, 0x140200992 mov [rsp+78h+var_58], rdx ; +0x25, 0x140200995 mov [rsp+78h+var_50], r8 ; +0x2a, 0x14020099a xorps xmm0, xmm0 ; +0x2f, 0x14020099f movups xmmword ptr [rsp+78h+Block], xmm0 ; +0x32, 0x1402009a2 mov [rsp+78h+var_38], 0Bh ; +0x37, 0x1402009a7 mov [rsp+78h+var_30], 0Fh ; +0x40, 0x1402009b0 movsd xmm0, qword ptr cs:aRegAccount; "reg_account" ; +0x49, 0x1402009b9 movsd [rsp+78h+Block], xmm0 ; +0x51, 0x1402009c1 movzx eax, word ptr cs:aRegAccount+8; "unt" ; +0x57, 0x1402009c7 mov word ptr [rsp+78h+Block+8], ax ; +0x5e, 0x1402009ce movzx eax, byte ptr cs:aRegAccount+0Ah; "t" ; +0x63, 0x1402009d3 mov byte ptr [rsp+78h+Block+0Ah], al ; +0x6a, 0x1402009da mov byte ptr [rsp+78h+Block+0Bh], 0 ; +0x6e, 0x1402009de lea rdx, [rsp+78h+Block] ; +0x73, 0x1402009e3 mov rcx, [rcx+140h] ; +0x78, 0x1402009e8 call cs:?removeObjectForKey@CCDictionary@cocos2d@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::removeObjectForKey(std::string const &) ; +0x7f, 0x1402009ef nop ; +0x85, 0x1402009f5 mov rdx, [rsp+78h+var_30] ; +0x86, 0x1402009f6 cmp rdx, 0Fh ; +0x8b, 0x1402009fb jbe short loc_140200A36 ; +0x8f, 0x1402009ff inc rdx ; +0x91, 0x140200a01 mov rcx, [rsp+78h+Block]; Block ; +0x94, 0x140200a04 mov rax, rcx ; +0x99, 0x140200a09 cmp rdx, 1000h ; +0x9c, 0x140200a0c jb short loc_140200A31 ; +0xa3, 0x140200a13 add rdx, 27h ; ''' ; +0xa5, 0x140200a15 mov rcx, [rcx-8] ; +0xa9, 0x140200a19 sub rax, rcx ; +0xad, 0x140200a1d add rax, 0FFFFFFFFFFFFFFF8h ; +0xb0, 0x140200a20 cmp rax, 1Fh ; +0xb4, 0x140200a24 jbe short loc_140200A31 ; +0xb8, 0x140200a28 call cs:_invalid_parameter_noinfo_noreturn ; +0xba, 0x140200a2a db 0CCh ; +0xc0, 0x140200a30 call j_j_free ; +0xc1, 0x140200a31 xorps xmm0, xmm0 ; +0xc6, 0x140200a36 movups xmmword ptr [rsp+78h+Block], xmm0 ; +0xc9, 0x140200a39 mov eax, 1 ; +0xce, 0x140200a3e mov [rsp+78h+var_38], rax ; +0xd3, 0x140200a43 mov [rsp+78h+var_30], 0Fh ; +0xd8, 0x140200a48 mov word ptr [rsp+78h+Block], 31h ; '1' ; +0xe1, 0x140200a51 mov rcx, rdi ; +0xe8, 0x140200a58 cmp qword ptr [rdi+18h], 0Fh ; +0xeb, 0x140200a5b jbe short loc_140200A65 ; +0xf0, 0x140200a60 mov rcx, [rdi]; Buf1 ; +0xf2, 0x140200a62 mov rsi, [rdi+10h] ; +0xf5, 0x140200a65 mov r8, rsi ; +0xf9, 0x140200a69 cmp rsi, rax ; +0xfc, 0x140200a6c cmova r8, rax; Size ; +0xff, 0x140200a6f lea rdx, [rsp+78h+Block]; Buf2 ; +0x103, 0x140200a73 call memcmp ; +0x108, 0x140200a78 test eax, eax ; +0x10d, 0x140200a7d jnz short loc_140200A89 ; +0x10f, 0x140200a7f cmp rsi, 1 ; +0x111, 0x140200a81 jb short loc_140200A89 ; +0x115, 0x140200a85 jbe short loc_140200ABB ; +0x117, 0x140200a87 lea rax, [rbx+198h] ; +0x119, 0x140200a89 mov rsi, rax ; +0x120, 0x140200a90 mov rbx, [rax] ; +0x123, 0x140200a93 test rbx, rbx ; +0x126, 0x140200a96 jz short loc_140200ACD ; +0x129, 0x140200a99 mov rcx, rdi ; +0x12b, 0x140200a9b cmp qword ptr [rdi+18h], 0Fh ; +0x12e, 0x140200a9e jbe short loc_140200AA8 ; +0x133, 0x140200aa3 mov rcx, [rdi]; String ; +0x135, 0x140200aa5 mov rbx, [rbx] ; +0x138, 0x140200aa8 call cs:atoi ; +0x13b, 0x140200aab mov edx, eax ; +0x141, 0x140200ab1 mov rcx, [rsi] ; +0x143, 0x140200ab3 call qword ptr [rbx+8] ; +0x146, 0x140200ab6 jmp short loc_140200ACD ; +0x149, 0x140200ab9 mov rcx, [rbx+198h] ; +0x14b, 0x140200abb test rcx, rcx ; +0x152, 0x140200ac2 jz short loc_140200ACD ; +0x155, 0x140200ac5 mov rax, [rcx] ; +0x157, 0x140200ac7 call qword ptr [rax] ; +0x15a, 0x140200aca nop ; +0x15c, 0x140200acc mov rcx, rdi ; +0x15d, 0x140200acd call sub_14003A830 ; +0x160, 0x140200ad0 nop ; +0x165, 0x140200ad5 mov rcx, r14 ; +0x166, 0x140200ad6 call sub_14003A830 ; +0x169, 0x140200ad9 mov rcx, [rsp+78h+var_28] ; +0x16e, 0x140200ade xor rcx, rsp; StackCookie ; +0x173, 0x140200ae3 call __security_check_cookie ; +0x176, 0x140200ae6 mov rbx, [rsp+78h+arg_18] ; +0x17b, 0x140200aeb add rsp, 60h ; +0x183, 0x140200af3 pop r14 ; +0x187, 0x140200af7 pop rdi ; +0x189, 0x140200af9 pop rsi ; +0x18a, 0x140200afa retn ; +0x18b, 0x140200afb