; ; GameLevelManager::uploadUserMessage from 0x14015ae40 to 0x14015b285 (1093 bytes) ; ; 2 xrefs: ; > GJWriteMessagePopup::onSend @ 0x14029a33d ; > @ 0x1406caa1c ; ; 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 rbp ; +0x0, 0x14015ae40 push rbx ; +0x2, 0x14015ae42 push rsi ; +0x3, 0x14015ae43 push rdi ; +0x4, 0x14015ae44 push r12 ; +0x5, 0x14015ae45 push r13 ; +0x7, 0x14015ae47 push r14 ; +0x9, 0x14015ae49 push r15 ; +0xb, 0x14015ae4b lea rbp, [rsp-1Fh] ; +0xd, 0x14015ae4d sub rsp, 0F8h ; +0x12, 0x14015ae52 mov rax, cs:__security_cookie ; +0x19, 0x14015ae59 xor rax, rsp ; +0x20, 0x14015ae60 mov [rbp+57h+var_48], rax ; +0x23, 0x14015ae63 mov r15, r9 ; +0x27, 0x14015ae67 mov r14, r8 ; +0x2a, 0x14015ae6a mov dword ptr [rsp+130h+var_E8], edx ; +0x2d, 0x14015ae6d mov r13, rcx ; +0x31, 0x14015ae71 mov [rbp+57h+var_B8], r8 ; +0x34, 0x14015ae74 mov [rbp+57h+var_B0], r9 ; +0x38, 0x14015ae78 xor r12d, r12d ; +0x3c, 0x14015ae7c lea rcx, aUmsgI; "uMsg_%i" ; +0x3f, 0x14015ae7f call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x46, 0x14015ae86 mov rcx, rax ; +0x4c, 0x14015ae8c call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x4f, 0x14015ae8f mov rbx, rax ; +0x55, 0x14015ae95 xorps xmm0, xmm0 ; +0x58, 0x14015ae98 movups xmmword ptr [rbp+57h+Block], xmm0 ; +0x5b, 0x14015ae9b xorps xmm1, xmm1 ; +0x5f, 0x14015ae9f movdqu [rbp+57h+var_98], xmm1 ; +0x62, 0x14015aea2 mov rdi, 0FFFFFFFFFFFFFFFFh ; +0x67, 0x14015aea7 mov r8, rdi ; +0x6e, 0x14015aeae inc r8 ; +0x71, 0x14015aeb1 cmp byte ptr [rax+r8], 0 ; +0x74, 0x14015aeb4 jnz short loc_14015AEB1 ; +0x79, 0x14015aeb9 mov rdx, rbx ; +0x7b, 0x14015aebb lea rcx, [rbp+57h+Block] ; +0x7e, 0x14015aebe call sub_14003A930 ; +0x82, 0x14015aec2 nop ; +0x87, 0x14015aec7 lea rdx, [rbp+57h+Block] ; +0x88, 0x14015aec8 mov rcx, [r13+250h] ; +0x8c, 0x14015aecc 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 &) ; +0x93, 0x14015aed3 mov rsi, rax ; +0x99, 0x14015aed9 mov rdx, qword ptr [rbp+57h+var_98+8] ; +0x9c, 0x14015aedc cmp rdx, 0Fh ; +0xa0, 0x14015aee0 jbe short loc_14015AF1A ; +0xa4, 0x14015aee4 inc rdx ; +0xa6, 0x14015aee6 mov rcx, [rbp+57h+Block]; Block ; +0xa9, 0x14015aee9 mov rax, rcx ; +0xad, 0x14015aeed cmp rdx, 1000h ; +0xb0, 0x14015aef0 jb short loc_14015AF15 ; +0xb7, 0x14015aef7 add rdx, 27h ; ''' ; +0xb9, 0x14015aef9 mov rcx, [rcx-8] ; +0xbd, 0x14015aefd sub rax, rcx ; +0xc1, 0x14015af01 add rax, 0FFFFFFFFFFFFFFF8h ; +0xc4, 0x14015af04 cmp rax, 1Fh ; +0xc8, 0x14015af08 jbe short loc_14015AF15 ; +0xcc, 0x14015af0c call cs:_invalid_parameter_noinfo_noreturn ; +0xce, 0x14015af0e db 0CCh ; +0xd4, 0x14015af14 call j_j_free ; +0xd5, 0x14015af15 test rsi, rsi ; +0xda, 0x14015af1a jnz loc_14015B254 ; +0xdd, 0x14015af1d xorps xmm0, xmm0 ; +0xe3, 0x14015af23 movups xmmword ptr [rbp+57h+Block], xmm0 ; +0xe6, 0x14015af26 xorps xmm1, xmm1 ; +0xea, 0x14015af2a movdqu [rbp+57h+var_98], xmm1 ; +0xed, 0x14015af2d mov r8, rdi ; +0xf2, 0x14015af32 inc r8 ; +0xf5, 0x14015af35 cmp byte ptr [rbx+r8], 0 ; +0xf8, 0x14015af38 jnz short loc_14015AF35 ; +0xfd, 0x14015af3d mov rdx, rbx ; +0xff, 0x14015af3f lea rcx, [rbp+57h+Block] ; +0x102, 0x14015af42 call sub_14003A930 ; +0x106, 0x14015af46 nop ; +0x10b, 0x14015af4b call cs:?create@CCNode@cocos2d@@SAPEAV12@XZ; cocos2d::CCNode::create(void) ; +0x10c, 0x14015af4c mov rdx, rax ; +0x112, 0x14015af52 lea r8, [rbp+57h+Block] ; +0x115, 0x14015af55 mov rcx, [r13+250h] ; +0x119, 0x14015af59 call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const &) ; +0x120, 0x14015af60 nop ; +0x126, 0x14015af66 mov rdx, qword ptr [rbp+57h+var_98+8] ; +0x127, 0x14015af67 cmp rdx, 0Fh ; +0x12b, 0x14015af6b jbe short loc_14015AFA5 ; +0x12f, 0x14015af6f inc rdx ; +0x131, 0x14015af71 mov rcx, [rbp+57h+Block]; Block ; +0x134, 0x14015af74 mov rax, rcx ; +0x138, 0x14015af78 cmp rdx, 1000h ; +0x13b, 0x14015af7b jb short loc_14015AFA0 ; +0x142, 0x14015af82 add rdx, 27h ; ''' ; +0x144, 0x14015af84 mov rcx, [rcx-8] ; +0x148, 0x14015af88 sub rax, rcx ; +0x14c, 0x14015af8c add rax, 0FFFFFFFFFFFFFFF8h ; +0x14f, 0x14015af8f cmp rax, 1Fh ; +0x153, 0x14015af93 jbe short loc_14015AFA0 ; +0x157, 0x14015af97 call cs:_invalid_parameter_noinfo_noreturn ; +0x159, 0x14015af99 align 20h ; +0x15f, 0x14015af9f call j_j_free ; +0x160, 0x14015afa0 mov rdx, rbx ; +0x165, 0x14015afa5 mov rcx, r13 ; +0x168, 0x14015afa8 call GameLevelManager__makeTimeStamp ; +0x16b, 0x14015afab mov rdx, r14 ; +0x170, 0x14015afb0 lea rcx, [rbp+57h+var_88] ; +0x173, 0x14015afb3 call sub_14003BDB0 ; +0x177, 0x14015afb7 mov rsi, rax ; +0x17c, 0x14015afbc mov [rsp+130h+var_F0], rax ; +0x17f, 0x14015afbf cmp qword ptr [rax+10h], 0 ; +0x184, 0x14015afc4 jnz short loc_14015AFFA ; +0x189, 0x14015afc9 xorps xmm0, xmm0 ; +0x18b, 0x14015afcb movups xmmword ptr [rbp+57h+Block], xmm0 ; +0x18e, 0x14015afce xorps xmm1, xmm1 ; +0x192, 0x14015afd2 movdqu [rbp+57h+var_98], xmm1 ; +0x195, 0x14015afd5 movups xmm0, xmmword ptr [rax] ; +0x19a, 0x14015afda movups xmmword ptr [rbp+57h+Block], xmm0 ; +0x19d, 0x14015afdd movups xmm1, xmmword ptr [rax+10h] ; +0x1a1, 0x14015afe1 movups [rbp+57h+var_98], xmm1 ; +0x1a5, 0x14015afe5 mov [rax+10h], r12 ; +0x1a9, 0x14015afe9 mov qword ptr [rax+18h], 0Fh ; +0x1ad, 0x14015afed mov byte ptr [rax], 0 ; +0x1b5, 0x14015aff5 jmp short loc_14015B008 ; +0x1b8, 0x14015aff8 mov rdx, rsi ; +0x1ba, 0x14015affa lea rcx, [rbp+57h+Block] ; +0x1bd, 0x14015affd call cs:?base64URLEncode@ZipUtils@cocos2d@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV34@@Z; cocos2d::ZipUtils::base64URLEncode(std::string const &) ; +0x1c1, 0x14015b001 nop ; +0x1c7, 0x14015b007 mov rcx, rsi ; +0x1c8, 0x14015b008 call sub_14003A830 ; +0x1cb, 0x14015b00b lea rdx, [rbp+57h+Block] ; +0x1d0, 0x14015b010 mov rcx, r14 ; +0x1d4, 0x14015b014 call sub_140051590 ; +0x1d7, 0x14015b017 mov rdx, qword ptr [rbp+57h+var_98+8] ; +0x1dc, 0x14015b01c cmp rdx, 0Fh ; +0x1e0, 0x14015b020 jbe short loc_14015B05A ; +0x1e4, 0x14015b024 inc rdx ; +0x1e6, 0x14015b026 mov rcx, [rbp+57h+Block]; Block ; +0x1e9, 0x14015b029 mov rax, rcx ; +0x1ed, 0x14015b02d cmp rdx, 1000h ; +0x1f0, 0x14015b030 jb short loc_14015B055 ; +0x1f7, 0x14015b037 add rdx, 27h ; ''' ; +0x1f9, 0x14015b039 mov rcx, [rcx-8] ; +0x1fd, 0x14015b03d sub rax, rcx ; +0x201, 0x14015b041 add rax, 0FFFFFFFFFFFFFFF8h ; +0x204, 0x14015b044 cmp rax, 1Fh ; +0x208, 0x14015b048 jbe short loc_14015B055 ; +0x20c, 0x14015b04c call cs:_invalid_parameter_noinfo_noreturn ; +0x20e, 0x14015b04e db 0CCh ; +0x214, 0x14015b054 call j_j_free ; +0x215, 0x14015b055 xorps xmm0, xmm0 ; +0x21a, 0x14015b05a movups xmmword ptr [rbp+57h+Block], xmm0 ; +0x21d, 0x14015b05d mov qword ptr [rbp+57h+var_98], 5 ; +0x221, 0x14015b061 mov qword ptr [rbp+57h+var_98+8], 0Fh ; +0x229, 0x14015b069 mov eax, cs:dword_140559970 ; +0x231, 0x14015b071 mov dword ptr [rbp+57h+Block], eax ; +0x237, 0x14015b077 movzx eax, cs:byte_140559974 ; +0x23a, 0x14015b07a mov byte ptr [rbp+57h+Block+4], al ; +0x241, 0x14015b081 mov byte ptr [rbp+57h+Block+5], 0 ; +0x244, 0x14015b084 lea r8, [rbp+57h+Block] ; +0x248, 0x14015b088 mov rdx, r15 ; +0x24c, 0x14015b08c lea rcx, [rbp+57h+var_88] ; +0x24f, 0x14015b08f call cs:?base64EncodeEnc@ZipUtils@cocos2d@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV34@V34@@Z; cocos2d::ZipUtils::base64EncodeEnc(std::string const &,std::string) ; +0x253, 0x14015b093 mov rdx, rax ; +0x259, 0x14015b099 mov rcx, r15 ; +0x25c, 0x14015b09c call sub_140051590 ; +0x25f, 0x14015b09f lea rcx, [rbp+57h+var_88] ; +0x264, 0x14015b0a4 call sub_14003A830 ; +0x268, 0x14015b0a8 lea rdx, [rbp+57h+Src] ; +0x26d, 0x14015b0ad call GameLevelManager__getBasePostString ; +0x271, 0x14015b0b1 nop ; +0x276, 0x14015b0b6 mov r12, r15 ; +0x277, 0x14015b0b7 cmp qword ptr [r15+18h], 0Fh ; +0x27a, 0x14015b0ba jbe short loc_14015B0C4 ; +0x27f, 0x14015b0bf mov r12, [r15] ; +0x281, 0x14015b0c1 mov rsi, r14 ; +0x284, 0x14015b0c4 cmp qword ptr [r14+18h], 0Fh ; +0x287, 0x14015b0c7 jbe short loc_14015B0D1 ; +0x28c, 0x14015b0cc mov rsi, [r14] ; +0x28e, 0x14015b0ce lea rax, word_140531E88 ; +0x291, 0x14015b0d1 mov [rsp+130h+var_100], rax ; +0x298, 0x14015b0d8 mov [rsp+130h+var_108], 62h ; 'b' ; +0x29d, 0x14015b0dd mov dword ptr [rsp+130h+var_110], 67h ; 'g' ; +0x2a5, 0x14015b0e5 lea r9, a2893; "2893" ; +0x2ad, 0x14015b0ed lea r8, aMfd; "mfd" ; +0x2b4, 0x14015b0f4 mov edx, 57h ; 'W' ; +0x2bb, 0x14015b0fb lea rcx, aCSSCCS; "%c%s%s%c%c%s" ; +0x2c0, 0x14015b100 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x2c7, 0x14015b107 mov rcx, rax ; +0x2cd, 0x14015b10d call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x2d0, 0x14015b110 mov [rsp+130h+var_110], rax ; +0x2d6, 0x14015b116 mov r9, r12 ; +0x2db, 0x14015b11b mov r8, rsi ; +0x2de, 0x14015b11e mov edx, dword ptr [rsp+130h+var_E8] ; +0x2e1, 0x14015b121 lea rcx, aToaccountidISu; "&toAccountID=%i&subject=%s&body=%s&secr"... ; +0x2e5, 0x14015b125 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x2ec, 0x14015b12c mov rcx, rax ; +0x2f2, 0x14015b132 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x2f5, 0x14015b135 mov r8, rdi ; +0x2fb, 0x14015b13b xchg ax, ax ; +0x2fe, 0x14015b13e inc r8; Size ; +0x300, 0x14015b140 cmp byte ptr [rax+r8], 0 ; +0x303, 0x14015b143 jnz short loc_14015B140 ; +0x308, 0x14015b148 mov rdx, rax; void * ; +0x30a, 0x14015b14a lea rcx, [rbp+57h+Src]; Src ; +0x30d, 0x14015b14d call sub_140041270 ; +0x311, 0x14015b151 lea rax, [rsp+130h+var_E0] ; +0x316, 0x14015b156 mov [rsp+130h+var_F0], rax ; +0x31b, 0x14015b15b lea rax, [rbp+57h+var_88] ; +0x320, 0x14015b160 mov [rsp+130h+var_E8], rax ; +0x324, 0x14015b164 xorps xmm0, xmm0 ; +0x329, 0x14015b169 movups [rsp+130h+var_E0], xmm0 ; +0x32c, 0x14015b16c xor esi, esi ; +0x331, 0x14015b171 mov [rbp+57h+var_D0], rsi ; +0x333, 0x14015b173 mov [rbp+57h+var_C8], rsi ; +0x337, 0x14015b177 mov r8, rdi ; +0x33b, 0x14015b17b xchg ax, ax ; +0x33e, 0x14015b17e inc r8 ; +0x340, 0x14015b180 cmp [rbx+r8], sil ; +0x343, 0x14015b183 jnz short loc_14015B180 ; +0x347, 0x14015b187 mov rdx, rbx ; +0x349, 0x14015b189 lea rcx, [rsp+130h+var_E0] ; +0x34c, 0x14015b18c call sub_14003A930 ; +0x351, 0x14015b191 nop ; +0x356, 0x14015b196 lea rdx, [rbp+57h+Src] ; +0x357, 0x14015b197 cmp [rbp+57h+var_50], 0Fh ; +0x35b, 0x14015b19b cmova rdx, [rbp+57h+Src] ; +0x360, 0x14015b1a0 xorps xmm0, xmm0 ; +0x365, 0x14015b1a5 movups [rbp+57h+var_88], xmm0 ; +0x368, 0x14015b1a8 mov [rbp+57h+var_78], rsi ; +0x36c, 0x14015b1ac mov [rbp+57h+var_70], rsi ; +0x370, 0x14015b1b0 inc rdi ; +0x374, 0x14015b1b4 cmp byte ptr [rdx+rdi], 0 ; +0x377, 0x14015b1b7 jnz short loc_14015B1B4 ; +0x37b, 0x14015b1bb mov r8, rdi ; +0x37d, 0x14015b1bd lea rcx, [rbp+57h+var_88] ; +0x380, 0x14015b1c0 call sub_14003A930 ; +0x384, 0x14015b1c4 nop ; +0x389, 0x14015b1c9 xorps xmm0, xmm0 ; +0x38a, 0x14015b1ca movups xmmword ptr [rbp+57h+Block], xmm0 ; +0x38d, 0x14015b1cd mov qword ptr [rbp+57h+var_98], rsi ; +0x391, 0x14015b1d1 mov qword ptr [rbp+57h+var_98+8], 0Fh ; +0x395, 0x14015b1d5 mov ecx, 40h ; '@' ; +0x39d, 0x14015b1dd call sub_14003AA10 ; +0x3a2, 0x14015b1e2 mov [rbp+57h+Block], rax ; +0x3a7, 0x14015b1e7 mov qword ptr [rbp+57h+var_98], 38h ; '8' ; +0x3ab, 0x14015b1eb mov qword ptr [rbp+57h+var_98+8], 3Fh ; '?' ; +0x3b3, 0x14015b1f3 movups xmm0, cs:xmmword_140559928 ; +0x3bb, 0x14015b1fb movups xmmword ptr [rax], xmm0 ; +0x3c2, 0x14015b202 movups xmm1, cs:xmmword_140559938 ; +0x3c5, 0x14015b205 movups xmmword ptr [rax+10h], xmm1 ; +0x3cc, 0x14015b20c movups xmm0, cs:xmmword_140559948 ; +0x3d0, 0x14015b210 movups xmmword ptr [rax+20h], xmm0 ; +0x3d7, 0x14015b217 movsd xmm0, cs:qword_140559958 ; +0x3db, 0x14015b21b movsd qword ptr [rax+30h], xmm0 ; +0x3e3, 0x14015b223 mov byte ptr [rax+38h], 0 ; +0x3e8, 0x14015b228 mov dword ptr [rsp+130h+var_110], 28h ; '(' ; +0x3ec, 0x14015b22c lea r9, [rsp+130h+var_E0] ; +0x3f4, 0x14015b234 lea r8, [rbp+57h+var_88] ; +0x3f9, 0x14015b239 lea rdx, [rbp+57h+Block] ; +0x3fd, 0x14015b23d mov rcx, r13 ; +0x401, 0x14015b241 call GameLevelManager__ProcessHttpRequest ; +0x404, 0x14015b244 nop ; +0x409, 0x14015b249 lea rcx, [rbp+57h+Src] ; +0x40a, 0x14015b24a call sub_14003A830 ; +0x40e, 0x14015b24e nop ; +0x413, 0x14015b253 mov rcx, r14 ; +0x414, 0x14015b254 call sub_14003A830 ; +0x417, 0x14015b257 nop ; +0x41c, 0x14015b25c mov rcx, r15 ; +0x41d, 0x14015b25d call sub_14003A830 ; +0x420, 0x14015b260 mov rcx, [rbp+57h+var_48] ; +0x425, 0x14015b265 xor rcx, rsp; StackCookie ; +0x429, 0x14015b269 call __security_check_cookie ; +0x42c, 0x14015b26c add rsp, 0F8h ; +0x431, 0x14015b271 pop r15 ; +0x438, 0x14015b278 pop r14 ; +0x43a, 0x14015b27a pop r13 ; +0x43c, 0x14015b27c pop r12 ; +0x43e, 0x14015b27e pop rdi ; +0x440, 0x14015b280 pop rsi ; +0x441, 0x14015b281 pop rbx ; +0x442, 0x14015b282 pop rbp ; +0x443, 0x14015b283 retn ; +0x444, 0x14015b284