; ; GJAccountManager::handleIt from 0x140305500 to 0x1403057d0 (720 bytes) ; ; 2 xrefs: ; > GJAccountManager::onProcessHttpRequestCompleted @ 0x1403054b9 ; > @ 0x14091e530 ; ; 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_8], rbx ; +0x0, 0x140305500 push rbp ; +0x5, 0x140305505 push rsi ; +0x6, 0x140305506 push rdi ; +0x7, 0x140305507 push r14 ; +0x8, 0x140305508 push r15 ; +0xa, 0x14030550a lea rbp, [rsp-2Fh] ; +0xc, 0x14030550c sub rsp, 90h ; +0x11, 0x140305511 mov rax, cs:__security_cookie ; +0x18, 0x140305518 xor rax, rsp ; +0x1f, 0x14030551f mov [rbp+4Fh+var_30], rax ; +0x22, 0x140305522 mov rsi, r9 ; +0x26, 0x140305526 mov rdi, r8 ; +0x29, 0x140305529 mov r14, rcx ; +0x2c, 0x14030552c mov [rbp+4Fh+var_40], r8 ; +0x2f, 0x14030552f mov [rbp+4Fh+var_38], r9 ; +0x33, 0x140305533 mov rcx, r8 ; +0x37, 0x140305537 call GameToolbox__extractServerPopup ; +0x3a, 0x14030553a mov eax, [rbp+4Fh+arg_20] ; +0x3f, 0x14030553f add eax, 0FFFFFFEAh; switch 40 cases ; +0x42, 0x140305542 cmp eax, 27h ; +0x45, 0x140305545 ja def_140305569; jumptable 0000000140305569 default case, cases 27-31,33-59 ; +0x48, 0x140305548 cdqe ; +0x4e, 0x14030554e lea rdx, cs:140000000h ; +0x50, 0x140305550 movzx eax, ds:(byte_1403057A8 - 140000000h)[rdx+rax] ; +0x57, 0x140305557 mov ecx, ds:(jpt_140305569 - 140000000h)[rdx+rax*4] ; +0x5f, 0x14030555f add rcx, rdx ; +0x66, 0x140305566 jmp rcx; switch jump ; +0x69, 0x140305569 lea rax, [rbp+4Fh+var_80]; jumptable 0000000140305569 case 24 ; +0x6b, 0x14030556b mov [rbp+4Fh+var_90], rax ; +0x6f, 0x14030556f mov rdx, rsi ; +0x73, 0x140305573 lea rcx, [rbp+4Fh+var_80] ; +0x76, 0x140305576 call sub_14003F4F0 ; +0x7a, 0x14030557a mov rbx, rax ; +0x7f, 0x14030557f mov rdx, rdi ; +0x82, 0x140305582 lea rcx, [rbp+4Fh+var_60] ; +0x85, 0x140305585 call sub_14003F4F0 ; +0x89, 0x140305589 nop ; +0x8e, 0x14030558e mov r8, rbx ; +0x8f, 0x14030558f mov rdx, rax ; +0x92, 0x140305592 mov rcx, r14 ; +0x95, 0x140305595 call GJAccountManager__onRegisterAccountCompleted ; +0x98, 0x140305598 jmp def_140305569; jumptable 0000000140305569 default case, cases 27-31,33-59 ; +0x9d, 0x14030559d lea rax, [rbp+4Fh+var_60]; jumptable 0000000140305569 case 25 ; +0xa2, 0x1403055a2 mov [rbp+4Fh+var_88], rax ; +0xa6, 0x1403055a6 mov rdx, rsi ; +0xaa, 0x1403055aa lea rcx, [rbp+4Fh+var_60] ; +0xad, 0x1403055ad call sub_14003F4F0 ; +0xb1, 0x1403055b1 mov r15, rax ; +0xb6, 0x1403055b6 mov [rbp+4Fh+var_90], rax ; +0xb9, 0x1403055b9 mov rdx, rdi ; +0xbd, 0x1403055bd lea rcx, [rbp+4Fh+var_80] ; +0xc0, 0x1403055c0 call sub_14003F4F0 ; +0xc4, 0x1403055c4 mov rbx, rax ; +0xc9, 0x1403055c9 mov [rbp+4Fh+var_88], rax ; +0xcc, 0x1403055cc mov r8, [rax+10h]; Size ; +0xd0, 0x1403055d0 cmp r8, 10h ; +0xd4, 0x1403055d4 jb short loc_1403055F9 ; +0xd8, 0x1403055d8 lea rcx, [r14+1F0h]; void * ; +0xda, 0x1403055da cmp rcx, rax ; +0xe1, 0x1403055e1 jz short loc_1403055F9 ; +0xe4, 0x1403055e4 mov rdx, rax ; +0xe6, 0x1403055e6 cmp qword ptr [rax+18h], 0Fh ; +0xe9, 0x1403055e9 jbe short loc_1403055F3 ; +0xee, 0x1403055ee mov rdx, [rax]; Src ; +0xf0, 0x1403055f0 call sub_1400405A0 ; +0xf3, 0x1403055f3 nop ; +0xf8, 0x1403055f8 mov rcx, rbx ; +0xf9, 0x1403055f9 call sub_14003D310 ; +0xfc, 0x1403055fc nop ; +0x101, 0x140305601 mov rcx, r15 ; +0x102, 0x140305602 call sub_14003D310 ; +0x105, 0x140305605 jmp def_140305569; jumptable 0000000140305569 default case, cases 27-31,33-59 ; +0x10a, 0x14030560a lea rax, [rbp+4Fh+var_60]; jumptable 0000000140305569 case 26 ; +0x10f, 0x14030560f mov [rbp+4Fh+var_88], rax ; +0x113, 0x140305613 mov rdx, rsi ; +0x117, 0x140305617 lea rcx, [rbp+4Fh+var_60] ; +0x11a, 0x14030561a call sub_14003F4F0 ; +0x11e, 0x14030561e mov rbx, rax ; +0x123, 0x140305623 mov rdx, rdi ; +0x126, 0x140305626 lea rcx, [rbp+4Fh+var_80] ; +0x129, 0x140305629 call sub_14003F4F0 ; +0x12d, 0x14030562d nop ; +0x132, 0x140305632 mov r8, rbx ; +0x133, 0x140305633 mov rdx, rax ; +0x136, 0x140305636 mov rcx, r14 ; +0x139, 0x140305639 call GJAccountManager__onLoginAccountCompleted ; +0x13c, 0x14030563c jmp def_140305569; jumptable 0000000140305569 default case, cases 27-31,33-59 ; +0x141, 0x140305641 lea rax, [rbp+4Fh+var_60]; jumptable 0000000140305569 case 22 ; +0x146, 0x140305646 mov [rbp+4Fh+var_88], rax ; +0x14a, 0x14030564a mov rdx, rsi ; +0x14e, 0x14030564e lea rcx, [rbp+4Fh+var_60] ; +0x151, 0x140305651 call sub_14003F4F0 ; +0x155, 0x140305655 mov rbx, rax ; +0x15a, 0x14030565a mov rdx, rdi ; +0x15d, 0x14030565d lea rcx, [rbp+4Fh+var_80] ; +0x160, 0x140305660 call sub_14003F4F0 ; +0x164, 0x140305664 nop ; +0x169, 0x140305669 mov r8, rbx ; +0x16a, 0x14030566a mov rdx, rax ; +0x16d, 0x14030566d mov rcx, r14 ; +0x170, 0x140305670 call GJAccountManager__onBackupAccountCompleted ; +0x173, 0x140305673 jmp def_140305569; jumptable 0000000140305569 default case, cases 27-31,33-59 ; +0x178, 0x140305678 lea rax, [rbp+4Fh+var_60]; jumptable 0000000140305569 case 23 ; +0x17d, 0x14030567d mov [rbp+4Fh+var_88], rax ; +0x181, 0x140305681 mov rdx, rsi ; +0x185, 0x140305685 lea rcx, [rbp+4Fh+var_60] ; +0x188, 0x140305688 call sub_14003F4F0 ; +0x18c, 0x14030568c mov rbx, rax ; +0x191, 0x140305691 mov rdx, rdi ; +0x194, 0x140305694 lea rcx, [rbp+4Fh+var_80] ; +0x197, 0x140305697 call sub_14003F4F0 ; +0x19b, 0x14030569b nop ; +0x1a0, 0x1403056a0 mov r8, rbx ; +0x1a1, 0x1403056a1 mov rdx, rax ; +0x1a4, 0x1403056a4 mov rcx, r14 ; +0x1a7, 0x1403056a7 call GJAccountManager__onSyncAccountCompleted ; +0x1aa, 0x1403056aa jmp def_140305569; jumptable 0000000140305569 default case, cases 27-31,33-59 ; +0x1af, 0x1403056af lea rax, [rbp+4Fh+var_60]; jumptable 0000000140305569 case 32 ; +0x1b4, 0x1403056b4 mov [rbp+4Fh+var_88], rax ; +0x1b8, 0x1403056b8 mov rdx, rsi ; +0x1bc, 0x1403056bc lea rcx, [rbp+4Fh+var_60] ; +0x1bf, 0x1403056bf call sub_14003F4F0 ; +0x1c3, 0x1403056c3 mov rbx, rax ; +0x1c8, 0x1403056c8 mov rdx, rdi ; +0x1cb, 0x1403056cb lea rcx, [rbp+4Fh+var_80] ; +0x1ce, 0x1403056ce call sub_14003F4F0 ; +0x1d2, 0x1403056d2 nop ; +0x1d7, 0x1403056d7 mov r8, rbx ; +0x1d8, 0x1403056d8 mov rdx, rax ; +0x1db, 0x1403056db mov rcx, r14 ; +0x1de, 0x1403056de call GJAccountManager__onUpdateAccountSettingsCompleted ; +0x1e1, 0x1403056e1 jmp short def_140305569; jumptable 0000000140305569 default case, cases 27-31,33-59 ; +0x1e6, 0x1403056e6 lea rax, [rbp+4Fh+var_60]; jumptable 0000000140305569 case 60 ; +0x1e8, 0x1403056e8 mov [rbp+4Fh+var_88], rax ; +0x1ec, 0x1403056ec mov rdx, rsi ; +0x1f0, 0x1403056f0 lea rcx, [rbp+4Fh+var_60] ; +0x1f3, 0x1403056f3 call sub_14003F4F0 ; +0x1f7, 0x1403056f7 mov rbx, rax ; +0x1fc, 0x1403056fc mov rdx, rdi ; +0x1ff, 0x1403056ff lea rcx, [rbp+4Fh+var_80] ; +0x202, 0x140305702 call sub_14003F4F0 ; +0x206, 0x140305706 nop ; +0x20b, 0x14030570b mov r8, rbx ; +0x20c, 0x14030570c mov rdx, rax ; +0x20f, 0x14030570f mov rcx, r14 ; +0x212, 0x140305712 call GJAccountManager__onGetAccountBackupURLCompleted ; +0x215, 0x140305715 jmp short def_140305569; jumptable 0000000140305569 default case, cases 27-31,33-59 ; +0x21a, 0x14030571a lea rax, [rbp+4Fh+var_60]; jumptable 0000000140305569 case 61 ; +0x21c, 0x14030571c mov [rbp+4Fh+var_88], rax ; +0x220, 0x140305720 mov rdx, rsi ; +0x224, 0x140305724 lea rcx, [rbp+4Fh+var_60] ; +0x227, 0x140305727 call sub_14003F4F0 ; +0x22b, 0x14030572b mov rbx, rax ; +0x230, 0x140305730 mov rdx, rdi ; +0x233, 0x140305733 lea rcx, [rbp+4Fh+var_80] ; +0x236, 0x140305736 call sub_14003F4F0 ; +0x23a, 0x14030573a nop ; +0x23f, 0x14030573f mov r8, rbx ; +0x240, 0x140305740 mov rdx, rax ; +0x243, 0x140305743 mov rcx, r14 ; +0x246, 0x140305746 call GJAccountManager__onGetAccountSyncURLCompleted ; +0x249, 0x140305749 nop ; +0x24e, 0x14030574e mov rcx, rdi; jumptable 0000000140305569 default case, cases 27-31,33-59 ; +0x24f, 0x14030574f call sub_14003D310 ; +0x252, 0x140305752 nop ; +0x257, 0x140305757 mov rcx, rsi ; +0x258, 0x140305758 call sub_14003D310 ; +0x25b, 0x14030575b mov rcx, [rbp+4Fh+var_30] ; +0x260, 0x140305760 xor rcx, rsp; StackCookie ; +0x264, 0x140305764 call __security_check_cookie ; +0x267, 0x140305767 mov rbx, [rsp+0B0h+arg_8] ; +0x26c, 0x14030576c add rsp, 90h ; +0x274, 0x140305774 pop r15 ; +0x27b, 0x14030577b pop r14 ; +0x27d, 0x14030577d pop rdi ; +0x27f, 0x14030577f pop rsi ; +0x280, 0x140305780 pop rbp ; +0x281, 0x140305781 retn ; +0x282, 0x140305782 align 4 ; +0x283, 0x140305783 dd offset loc_140305646 - 140000000h; jump table for switch statement ; +0x284, 0x140305784 db 0, 1, 2, 3; indirect table for switch statement ; +0x2a8, 0x1403057a8