; ; CreatorLayer::onMultiplayer from 0x14009dc80 to 0x14009e244 (1476 bytes) ; ; 2 xrefs: ; > CreatorLayer::init @ 0x14009c4f1 ; > @ 0x1406c75e4 ; ; 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-8+arg_8], rbx ; +0x0, 0x14009dc80 mov [rsp-8+arg_10], rsi ; +0x5, 0x14009dc85 mov [rsp-8+arg_18], rdi ; +0xa, 0x14009dc8a push rbp ; +0xf, 0x14009dc8f push r12 ; +0x10, 0x14009dc90 push r13 ; +0x12, 0x14009dc92 push r14 ; +0x14, 0x14009dc94 push r15 ; +0x16, 0x14009dc96 lea rbp, [rsp-37h] ; +0x18, 0x14009dc98 sub rsp, 0E0h ; +0x1d, 0x14009dc9d mov rax, cs:__security_cookie ; +0x24, 0x14009dca4 xor rax, rsp ; +0x2b, 0x14009dcab mov [rbp+57h+var_30], rax ; +0x2e, 0x14009dcae mov r12, rcx ; +0x32, 0x14009dcb2 xorps xmm0, xmm0 ; +0x35, 0x14009dcb5 movups xmmword ptr [rbp+57h+Src], xmm0 ; +0x38, 0x14009dcb8 mov ecx, 40h ; '@' ; +0x3c, 0x14009dcbc call sub_14003AA10 ; +0x41, 0x14009dcc1 mov rdi, rax ; +0x46, 0x14009dcc6 mov [rbp+57h+Src], rax ; +0x49, 0x14009dcc9 mov [rbp+57h+var_40], 3Ch ; '<' ; +0x4d, 0x14009dccd mov [rbp+57h+var_38], 3Fh ; '?' ; +0x55, 0x14009dcd5 movups xmm0, cs:xmmword_140542E80 ; +0x5d, 0x14009dcdd movups xmmword ptr [rax], xmm0 ; +0x64, 0x14009dce4 movups xmm1, cs:xmmword_140542E90 ; +0x67, 0x14009dce7 movups xmmword ptr [rax+10h], xmm1 ; +0x6e, 0x14009dcee movups xmm0, cs:xmmword_140542EA0 ; +0x72, 0x14009dcf2 movups xmmword ptr [rax+20h], xmm0 ; +0x79, 0x14009dcf9 movsd xmm0, cs:qword_140542EB0 ; +0x7d, 0x14009dcfd movsd qword ptr [rax+30h], xmm0 ; +0x85, 0x14009dd05 mov eax, cs:dword_140542EB8 ; +0x8a, 0x14009dd0a mov [rdi+38h], eax ; +0x90, 0x14009dd10 mov byte ptr [rdi+3Ch], 0 ; +0x93, 0x14009dd13 mov r14d, 2 ; +0x97, 0x14009dd17 xorps xmm0, xmm0 ; +0x9d, 0x14009dd1d movups [rbp+57h+var_70], xmm0 ; +0xa0, 0x14009dd20 mov ebx, 0Dh ; +0xa4, 0x14009dd24 mov [rbp+57h+var_60], rbx ; +0xa9, 0x14009dd29 mov r13d, 0Fh ; +0xad, 0x14009dd2d mov [rbp+57h+var_58], r13 ; +0xb3, 0x14009dd33 movsd xmm0, cs:qword_140542D60 ; +0xb7, 0x14009dd37 movsd qword ptr [rbp+57h+var_70], xmm0 ; +0xbf, 0x14009dd3f mov eax, cs:dword_140542D68 ; +0xc4, 0x14009dd44 mov dword ptr [rbp+57h+var_70+8], eax ; +0xca, 0x14009dd4a movzx eax, cs:byte_140542D6C ; +0xcd, 0x14009dd4d mov byte ptr [rbp+57h+var_70+0Ch], al ; +0xd4, 0x14009dd54 mov byte ptr [rbp+57h+var_70+0Dh], 0 ; +0xd7, 0x14009dd57 mov eax, [r12+1BCh] ; +0xdb, 0x14009dd5b dec eax; switch 11 cases ; +0xe3, 0x14009dd63 cmp eax, 0Ah ; +0xe5, 0x14009dd65 ja def_14009DD81; jumptable 000000014009DD81 default case ; +0xe8, 0x14009dd68 cdqe ; +0xee, 0x14009dd6e lea rdx, cs:140000000h ; +0xf0, 0x14009dd70 mov ecx, ds:(jpt_14009DD81 - 140000000h)[rdx+rax*4] ; +0xf7, 0x14009dd77 add rcx, rdx ; +0xfe, 0x14009dd7e jmp rcx; switch jump ; +0x101, 0x14009dd81 mov [rbp+57h+var_40], 34h ; '4'; jumptable 000000014009DD81 case 1 ; +0x103, 0x14009dd83 mov r8d, 34h ; '4'; Size ; +0x10b, 0x14009dd8b lea rdx, aYeaD010D010D01; "Yea... It's still RobTop." ; +0x137, 0x14009ddb7 mov rcx, rdi; void * ; +0x13e, 0x14009ddbe call memmove ; +0x141, 0x14009ddc1 mov byte ptr [rdi+17h], 0 ; +0x146, 0x14009ddc6 mov r14d, 0Ah ; +0x14a, 0x14009ddca mov ebx, 7 ; +0x150, 0x14009ddd0 mov [rbp+57h+var_60], rbx ; +0x155, 0x14009ddd5 mov rax, cs:qword_140542E78 ; +0x159, 0x14009ddd9 mov dword ptr [rbp+57h+var_70], eax ; +0x160, 0x14009dde0 movzx eax, word ptr cs:qword_140542E78+4 ; +0x163, 0x14009dde3 mov word ptr [rbp+57h+var_70+4], ax ; +0x16a, 0x14009ddea movzx eax, byte ptr cs:qword_140542E78+6 ; +0x16e, 0x14009ddee mov byte ptr [rbp+57h+var_70+6], al ; +0x175, 0x14009ddf5 mov byte ptr [rbp+57h+var_70+7], 0 ; +0x178, 0x14009ddf8 jmp def_14009DD81; jumptable 000000014009DD81 default case ; +0x17c, 0x14009ddfc mov [rbp+57h+var_40], 35h ; '5'; jumptable 000000014009DD81 case 3 ; +0x181, 0x14009de01 mov r8d, 35h ; '5'; Size ; +0x189, 0x14009de09 lea rdx, aWhoElseCouldWe; "Who else could we blame?\nWe're"... ; +0x18f, 0x14009de0f mov rcx, rdi; void * ; +0x196, 0x14009de16 call memmove ; +0x199, 0x14009de19 mov byte ptr [rdi+35h], 0 ; +0x19e, 0x14009de1e jmp def_14009DD81; jumptable 000000014009DD81 default case ; +0x1a2, 0x14009de22 mov [rbp+57h+var_40], 24h ; '$'; jumptable 000000014009DD81 case 4 ; +0x1a7, 0x14009de27 mov r8d, 24h ; '$'; Size ; +0x1af, 0x14009de2f lea rdx, aSpeakForYourse; "Speak for yourself I'm real!" ; +0x1b5, 0x14009de35 mov rcx, rdi; void * ; +0x1bc, 0x14009de3c call memmove ; +0x1bf, 0x14009de3f mov byte ptr [rdi+24h], 0 ; +0x1c4, 0x14009de44 mov r14d, 0Eh ; +0x1c8, 0x14009de48 jmp short loc_14009DDD0 ; +0x1ce, 0x14009de4e mov [rbp+57h+var_40], 34h ; '4'; jumptable 000000014009DD81 case 5 ; +0x1d0, 0x14009de50 mov r8d, 34h ; '4'; Size ; +0x1d8, 0x14009de58 lea rdx, aClYeaARealPain; "Yea, a real pain in the.'; jumptable 000000014009DD81 case 6 ; +0x1f6, 0x14009de76 mov r8d, 3Eh ; '>'; Size ; +0x1fe, 0x14009de7e lea rdx, aYouReJustCrMad; "You're just mad because you don"... ; +0x204, 0x14009de84 mov rcx, rdi; void * ; +0x20b, 0x14009de8b call memmove ; +0x20e, 0x14009de8e mov byte ptr [rdi+3Eh], 0 ; +0x213, 0x14009de93 mov r14d, 1Ah ; +0x217, 0x14009de97 jmp loc_14009DDD0 ; +0x21d, 0x14009de9d mov [rbp+57h+var_40], 18h; jumptable 000000014009DD81 case 7 ; +0x222, 0x14009dea2 mov r8d, 18h; Size ; +0x22a, 0x14009deaa lea rdx, aYouHaveACyShop; "You have a shop?" ; +0x230, 0x14009deb0 mov rcx, rdi; void * ; +0x237, 0x14009deb7 call memmove ; +0x23a, 0x14009deba mov byte ptr [rdi+18h], 0 ; +0x23f, 0x14009debf mov r14d, 4 ; +0x243, 0x14009dec3 jmp def_14009DD81; jumptable 000000014009DD81 default case ; +0x249, 0x14009dec9 mov ecx, 5Fh ; '_'; jumptable 000000014009DD81 case 8 ; +0x24e, 0x14009dece call sub_14003AA10 ; +0x253, 0x14009ded3 mov rbx, rax ; +0x258, 0x14009ded8 mov [rbp+57h+var_40], 49h ; 'I' ; +0x25b, 0x14009dedb mov [rbp+57h+var_38], 5Eh ; '^' ; +0x263, 0x14009dee3 movaps xmm0, cs:xmmword_140542FB0 ; +0x26b, 0x14009deeb movups xmmword ptr [rax], xmm0 ; +0x272, 0x14009def2 movaps xmm1, cs:xmmword_140542FC0 ; +0x275, 0x14009def5 movups xmmword ptr [rax+10h], xmm1 ; +0x27c, 0x14009defc movaps xmm0, cs:xmmword_140542FD0 ; +0x280, 0x14009df00 movups xmmword ptr [rax+20h], xmm0 ; +0x287, 0x14009df07 movaps xmm1, cs:xmmword_140542FE0 ; +0x28b, 0x14009df0b movups xmmword ptr [rax+30h], xmm1 ; +0x292, 0x14009df12 movsd xmm0, cs:qword_140542FF0 ; +0x296, 0x14009df16 movsd qword ptr [rax+40h], xmm0 ; +0x29e, 0x14009df1e movzx eax, cs:byte_140542FF8 ; +0x2a3, 0x14009df23 mov [rbx+48h], al ; +0x2aa, 0x14009df2a mov byte ptr [rbx+49h], 0 ; +0x2ad, 0x14009df2d mov edx, 40h ; '@' ; +0x2b1, 0x14009df31 mov rcx, rdi; Block ; +0x2b6, 0x14009df36 call j_j_free ; +0x2b9, 0x14009df39 mov [rbp+57h+Src], rbx ; +0x2be, 0x14009df3e jmp loc_14009DDCA ; +0x2c2, 0x14009df42 mov [rbp+57h+var_40], 2Ah ; '*'; jumptable 000000014009DD81 case 9 ; +0x2c7, 0x14009df47 mov r8d, 2Ah ; '*'; Size ; +0x2cf, 0x14009df4f lea rdx, aYouDonTHaveACh; "You don't have a chop...." ; +0x2f1, 0x14009df71 mov rcx, rdi; void * ; +0x2f8, 0x14009df78 call memmove ; +0x2fb, 0x14009df7b mov byte ptr [rdi+0Fh], 0 ; +0x300, 0x14009df80 mov r14d, 34h ; '4' ; +0x304, 0x14009df84 jmp loc_14009DDD0 ; +0x30a, 0x14009df8a mov [rbp+57h+var_40], 1Dh; jumptable 000000014009DD81 case 11 ; +0x30f, 0x14009df8f mov r8d, 1Dh; Size ; +0x317, 0x14009df97 lea rdx, aD010D010D010D0; "....." ; +0x31d, 0x14009df9d mov rcx, rdi; void * ; +0x324, 0x14009dfa4 call memmove ; +0x327, 0x14009dfa7 mov byte ptr [rdi+1Dh], 0 ; +0x32c, 0x14009dfac mov r14d, 11h ; +0x330, 0x14009dfb0 lea rax, [rbp+57h+var_B8]; jumptable 000000014009DD81 default case ; +0x336, 0x14009dfb6 mov [rbp+57h+var_C0], rax ; +0x33a, 0x14009dfba movzx eax, cs:word_140529A04 ; +0x33e, 0x14009dfbe mov [rbp+57h+var_D0], ax ; +0x345, 0x14009dfc5 movzx eax, cs:byte_140529A06 ; +0x349, 0x14009dfc9 mov [rbp+57h+var_CE], al ; +0x350, 0x14009dfd0 xorps xmm0, xmm0 ; +0x353, 0x14009dfd3 movups [rbp+57h+var_B8], xmm0 ; +0x356, 0x14009dfd6 xor eax, eax ; +0x35a, 0x14009dfda mov [rbp+57h+var_A8], rax ; +0x35c, 0x14009dfdc mov [rbp+57h+var_A0], rax ; +0x360, 0x14009dfe0 lea r15, [rbp+57h+Src] ; +0x364, 0x14009dfe4 cmp [rbp+57h+var_38], 0Fh ; +0x368, 0x14009dfe8 cmova r15, [rbp+57h+Src] ; +0x36d, 0x14009dfed mov rdi, 7FFFFFFFFFFFFFFFh ; +0x372, 0x14009dff2 cmp [rbp+57h+var_40], rdi ; +0x37c, 0x14009dffc ja loc_14009E211 ; +0x380, 0x14009e000 lea ecx, [rax+16h] ; +0x386, 0x14009e006 mov r8, [rbp+57h+var_40] ; +0x389, 0x14009e009 mov [rbp+57h+var_A0], r13 ; +0x38d, 0x14009e00d cmp r8, 0Fh ; +0x391, 0x14009e011 ja short loc_14009E025 ; +0x395, 0x14009e015 mov [rbp+57h+var_A8], r8 ; +0x397, 0x14009e017 movups xmm0, xmmword ptr [r15] ; +0x39b, 0x14009e01b movups [rbp+57h+var_B8], xmm0 ; +0x39f, 0x14009e01f jmp short loc_14009E06A ; +0x3a3, 0x14009e023 mov rsi, [rbp+57h+var_40] ; +0x3a5, 0x14009e025 or rsi, 0Fh ; +0x3a9, 0x14009e029 cmp rsi, rdi ; +0x3ad, 0x14009e02d jbe short loc_14009E037 ; +0x3b0, 0x14009e030 mov rsi, rdi ; +0x3b2, 0x14009e032 jmp short loc_14009E03E ; +0x3b5, 0x14009e035 cmp rsi, rcx ; +0x3b7, 0x14009e037 cmovb rsi, rcx ; +0x3ba, 0x14009e03a lea rcx, [rsi+1] ; +0x3be, 0x14009e03e call sub_14003AA10 ; +0x3c2, 0x14009e042 mov qword ptr [rbp+57h+var_B8], rax ; +0x3c7, 0x14009e047 mov r8, [rbp+57h+var_40] ; +0x3cb, 0x14009e04b mov [rbp+57h+var_A8], r8 ; +0x3cf, 0x14009e04f mov [rbp+57h+var_A0], rsi ; +0x3d3, 0x14009e053 inc r8; Size ; +0x3d7, 0x14009e057 mov rdx, r15; Src ; +0x3da, 0x14009e05a mov rcx, rax; void * ; +0x3dd, 0x14009e05d call memcpy ; +0x3e0, 0x14009e060 xor eax, eax ; +0x3e5, 0x14009e065 lea ecx, [rax+16h] ; +0x3e7, 0x14009e067 xorps xmm0, xmm0 ; +0x3ea, 0x14009e06a movups [rbp+57h+var_98], xmm0 ; +0x3ed, 0x14009e06d mov [rbp+57h+var_88], rax ; +0x3f1, 0x14009e071 mov [rbp+57h+var_80], rax ; +0x3f5, 0x14009e075 lea r15, [rbp+57h+var_70] ; +0x3f9, 0x14009e079 cmp rbx, rdi ; +0x3fd, 0x14009e07d ja loc_14009E20B ; +0x400, 0x14009e080 mov [rbp+57h+var_80], r13 ; +0x406, 0x14009e086 cmp rbx, 0Fh ; +0x40a, 0x14009e08a ja short loc_14009E09E ; +0x40e, 0x14009e08e mov [rbp+57h+var_88], rbx ; +0x410, 0x14009e090 movups xmm0, xmmword ptr [r15] ; +0x414, 0x14009e094 movups [rbp+57h+var_98], xmm0 ; +0x418, 0x14009e098 jmp short loc_14009E0DA ; +0x41c, 0x14009e09c mov rax, rbx ; +0x41e, 0x14009e09e or rax, 0Fh ; +0x421, 0x14009e0a1 cmp rax, rdi ; +0x425, 0x14009e0a5 ja short loc_14009E0B5 ; +0x428, 0x14009e0a8 mov rdi, rax ; +0x42a, 0x14009e0aa cmp rax, 16h ; +0x42d, 0x14009e0ad cmovb rdi, rcx ; +0x431, 0x14009e0b1 lea rcx, [rdi+1] ; +0x435, 0x14009e0b5 call sub_14003AA10 ; +0x439, 0x14009e0b9 mov qword ptr [rbp+57h+var_98], rax ; +0x43e, 0x14009e0be mov [rbp+57h+var_88], rbx ; +0x442, 0x14009e0c2 mov [rbp+57h+var_80], rdi ; +0x446, 0x14009e0c6 lea r8, [rbx+1]; Size ; +0x44a, 0x14009e0ca mov rdx, r15; Src ; +0x44e, 0x14009e0ce mov rcx, rax; void * ; +0x451, 0x14009e0d1 call memcpy ; +0x454, 0x14009e0d4 nop ; +0x459, 0x14009e0d9 lea rax, [rbp+57h+var_D0] ; +0x45a, 0x14009e0da mov [rsp+100h+var_D8], rax ; +0x45e, 0x14009e0de mov [rsp+100h+var_E0], 0 ; +0x463, 0x14009e0e3 movss xmm3, cs:flt_140622C24 ; +0x468, 0x14009e0e8 mov r8d, r14d ; +0x470, 0x14009e0f0 lea rdx, [rbp+57h+var_B8] ; +0x473, 0x14009e0f3 lea rcx, [rbp+57h+var_98] ; +0x477, 0x14009e0f7 call DialogObject__create ; +0x47b, 0x14009e0fb xor edx, edx ; +0x480, 0x14009e100 lea r8d, [rdx+2] ; +0x482, 0x14009e102 mov rcx, rax ; +0x486, 0x14009e106 call DialogLayer__createDialogLayer ; +0x489, 0x14009e109 mov rdi, rax ; +0x48e, 0x14009e10e mov r9, [r12] ; +0x491, 0x14009e111 mov r8d, 64h ; 'd' ; +0x495, 0x14009e115 mov rdx, rax ; +0x49b, 0x14009e11b mov rcx, r12 ; +0x49e, 0x14009e11e call qword ptr [r9+1B8h] ; +0x4a1, 0x14009e121 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x4a8, 0x14009e128 mov rcx, rax ; +0x4ae, 0x14009e12e lea rdx, [rbp+57h+var_C0] ; +0x4b1, 0x14009e131 call cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x4b5, 0x14009e135 mov rcx, [rdi+230h] ; +0x4bb, 0x14009e13b mov rbx, [rcx] ; +0x4c2, 0x14009e142 movss xmm2, dword ptr [rbp+57h+var_C0+4] ; +0x4c5, 0x14009e145 mulss xmm2, cs:dword_140622B08 ; +0x4ca, 0x14009e14a movss xmm1, dword ptr [rbp+57h+var_C0] ; +0x4d2, 0x14009e152 mulss xmm1, cs:dword_140622B08 ; +0x4d7, 0x14009e157 lea rcx, [rbp+57h+var_78] ; +0x4df, 0x14009e15f call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x4e3, 0x14009e163 mov rdx, rax ; +0x4e9, 0x14009e169 mov rcx, [rdi+230h] ; +0x4ec, 0x14009e16c call qword ptr [rbx+0B8h] ; +0x4f3, 0x14009e173 mov rcx, rdi ; +0x4f9, 0x14009e179 call DialogLayer__animateInRandomSide ; +0x4fc, 0x14009e17c inc dword ptr [r12+1BCh] ; +0x501, 0x14009e181 cmp dword ptr [r12+1BCh], 0Bh ; +0x509, 0x14009e189 jle short loc_14009E1A0 ; +0x512, 0x14009e192 mov dword ptr [r12+1BCh], 0 ; +0x514, 0x14009e194 mov rdx, [rbp+57h+var_38] ; +0x520, 0x14009e1a0 cmp rdx, 0Fh ; +0x524, 0x14009e1a4 jbe short loc_14009E1DE ; +0x528, 0x14009e1a8 inc rdx ; +0x52a, 0x14009e1aa mov rcx, [rbp+57h+Src]; Block ; +0x52d, 0x14009e1ad mov rax, rcx ; +0x531, 0x14009e1b1 cmp rdx, 1000h ; +0x534, 0x14009e1b4 jb short loc_14009E1D9 ; +0x53b, 0x14009e1bb add rdx, 27h ; ''' ; +0x53d, 0x14009e1bd mov rcx, [rcx-8] ; +0x541, 0x14009e1c1 sub rax, rcx ; +0x545, 0x14009e1c5 add rax, 0FFFFFFFFFFFFFFF8h ; +0x548, 0x14009e1c8 cmp rax, 1Fh ; +0x54c, 0x14009e1cc jbe short loc_14009E1D9 ; +0x550, 0x14009e1d0 call cs:_invalid_parameter_noinfo_noreturn ; +0x552, 0x14009e1d2 db 0CCh ; +0x558, 0x14009e1d8 call j_j_free ; +0x559, 0x14009e1d9 mov rcx, [rbp+57h+var_30] ; +0x55e, 0x14009e1de xor rcx, rsp; StackCookie ; +0x562, 0x14009e1e2 call __security_check_cookie ; +0x565, 0x14009e1e5 lea r11, [rsp+100h+var_20] ; +0x56a, 0x14009e1ea mov rbx, [r11+38h] ; +0x572, 0x14009e1f2 mov rsi, [r11+40h] ; +0x576, 0x14009e1f6 mov rdi, [r11+48h] ; +0x57a, 0x14009e1fa mov rsp, r11 ; +0x57e, 0x14009e1fe pop r15 ; +0x581, 0x14009e201 pop r14 ; +0x583, 0x14009e203 pop r13 ; +0x585, 0x14009e205 pop r12 ; +0x587, 0x14009e207 pop rbp ; +0x589, 0x14009e209 retn ; +0x58a, 0x14009e20a call sub_140007B50 ; +0x58b, 0x14009e20b db 90h ; +0x590, 0x14009e210 call sub_140007B50 ; +0x591, 0x14009e211 align 8 ; +0x596, 0x14009e216 dd offset loc_14009DD83 - 140000000h; jump table for switch statement ; +0x598, 0x14009e218