; ; GameLevelManager::onUploadUserMessageCompleted from 0x14015b290 to 0x14015b4ac (540 bytes) ; ; 2 xrefs: ; > GameLevelManager::handleIt @ 0x1401439ac ; > @ 0x1406caa28 ; ; 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, 0x14015b290 push rbp ; +0x5, 0x14015b295 push rsi ; +0x6, 0x14015b296 push rdi ; +0x7, 0x14015b297 push r12 ; +0x8, 0x14015b298 push r13 ; +0xa, 0x14015b29a push r14 ; +0xc, 0x14015b29c push r15 ; +0xe, 0x14015b29e sub rsp, 70h ; +0x10, 0x14015b2a0 mov rax, cs:__security_cookie ; +0x14, 0x14015b2a4 xor rax, rsp ; +0x1b, 0x14015b2ab mov [rsp+0A8h+var_48], rax ; +0x1e, 0x14015b2ae mov rdi, r8 ; +0x23, 0x14015b2b3 mov rsi, rdx ; +0x26, 0x14015b2b6 mov r15, rcx ; +0x29, 0x14015b2b9 mov [rsp+0A8h+var_78], rdx ; +0x2c, 0x14015b2bc mov [rsp+0A8h+var_70], r8 ; +0x31, 0x14015b2c1 mov rbx, r8 ; +0x36, 0x14015b2c6 cmp qword ptr [r8+18h], 0Fh ; +0x39, 0x14015b2c9 jbe short loc_14015B2D3 ; +0x3e, 0x14015b2ce mov rbx, [r8] ; +0x40, 0x14015b2d0 xorps xmm0, xmm0 ; +0x43, 0x14015b2d3 movups xmmword ptr [rsp+0A8h+Block], xmm0 ; +0x46, 0x14015b2d6 xor eax, eax ; +0x4b, 0x14015b2db mov [rsp+0A8h+var_58], rax ; +0x4d, 0x14015b2dd mov [rsp+0A8h+var_50], rax ; +0x52, 0x14015b2e2 mov r8, 0FFFFFFFFFFFFFFFFh ; +0x57, 0x14015b2e7 xchg ax, ax ; +0x5e, 0x14015b2ee inc r8 ; +0x60, 0x14015b2f0 cmp [rbx+r8], al ; +0x63, 0x14015b2f3 jnz short loc_14015B2F0 ; +0x67, 0x14015b2f7 mov rdx, rbx ; +0x69, 0x14015b2f9 lea rcx, [rsp+0A8h+Block] ; +0x6c, 0x14015b2fc call sub_14003A930 ; +0x71, 0x14015b301 nop ; +0x76, 0x14015b306 lea rdx, [rsp+0A8h+Block] ; +0x77, 0x14015b307 mov rcx, [r15+250h] ; +0x7c, 0x14015b30c 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 &) ; +0x83, 0x14015b313 nop ; +0x89, 0x14015b319 mov rdx, [rsp+0A8h+var_50] ; +0x8a, 0x14015b31a cmp rdx, 0Fh ; +0x8f, 0x14015b31f jbe short loc_14015B35A ; +0x93, 0x14015b323 inc rdx ; +0x95, 0x14015b325 mov rcx, [rsp+0A8h+Block]; Block ; +0x98, 0x14015b328 mov rax, rcx ; +0x9d, 0x14015b32d cmp rdx, 1000h ; +0xa0, 0x14015b330 jb short loc_14015B355 ; +0xa7, 0x14015b337 add rdx, 27h ; ''' ; +0xa9, 0x14015b339 mov rcx, [rcx-8] ; +0xad, 0x14015b33d sub rax, rcx ; +0xb1, 0x14015b341 add rax, 0FFFFFFFFFFFFFFF8h ; +0xb4, 0x14015b344 cmp rax, 1Fh ; +0xb8, 0x14015b348 jbe short loc_14015B355 ; +0xbc, 0x14015b34c call cs:_invalid_parameter_noinfo_noreturn ; +0xbe, 0x14015b34e db 0CCh ; +0xc4, 0x14015b354 call j_j_free ; +0xc5, 0x14015b355 mov r8d, 1 ; +0xca, 0x14015b35a mov rdx, rbx ; +0xd0, 0x14015b360 call GameLevelManager__getSplitIntFromKey ; +0xd3, 0x14015b363 mov r13d, eax ; +0xd8, 0x14015b368 xorps xmm0, xmm0 ; +0xdb, 0x14015b36b movups xmmword ptr [rsp+0A8h+Block], xmm0 ; +0xde, 0x14015b36e mov eax, 2 ; +0xe3, 0x14015b373 mov [rsp+0A8h+var_58], rax ; +0xe8, 0x14015b378 mov r8d, 0Fh ; +0xed, 0x14015b37d mov [rsp+0A8h+var_50], r8 ; +0xf3, 0x14015b383 movzx ecx, cs:word_1405334A0 ; +0xf8, 0x14015b388 mov word ptr [rsp+0A8h+Block], cx ; +0xff, 0x14015b38f mov byte ptr [rsp+0A8h+Block+2], 0 ; +0x104, 0x14015b394 lea rdx, [rsp+0A8h+Block]; Buf2 ; +0x109, 0x14015b399 mov rcx, rsi ; +0x10e, 0x14015b39e cmp [rsi+18h], r8 ; +0x111, 0x14015b3a1 jbe short loc_14015B3AA ; +0x115, 0x14015b3a5 mov rcx, [rsi]; Buf1 ; +0x117, 0x14015b3a7 mov r12, [rsi+10h] ; +0x11a, 0x14015b3aa mov r8, r12 ; +0x11e, 0x14015b3ae cmp rax, r12 ; +0x121, 0x14015b3b1 cmovb r8, rax; Size ; +0x124, 0x14015b3b4 call memcmp ; +0x128, 0x14015b3b8 mov ebp, eax ; +0x12d, 0x14015b3bd test eax, eax ; +0x12f, 0x14015b3bf jnz short loc_14015B3D8 ; +0x131, 0x14015b3c1 cmp r12, 2 ; +0x133, 0x14015b3c3 jnb short loc_14015B3CE ; +0x137, 0x14015b3c7 lea ebp, [rax-1] ; +0x139, 0x14015b3c9 jmp short loc_14015B3D8 ; +0x13c, 0x14015b3cc xor ebp, ebp ; +0x13e, 0x14015b3ce cmp r12, 2 ; +0x140, 0x14015b3d0 setnbe bpl ; +0x144, 0x14015b3d4 test ebp, ebp ; +0x148, 0x14015b3d8 jnz short loc_14015B3FE ; +0x14a, 0x14015b3da mov rcx, [r15+350h] ; +0x14c, 0x14015b3dc test rcx, rcx ; +0x153, 0x14015b3e3 jz short loc_14015B3F1 ; +0x156, 0x14015b3e6 mov rax, [rcx] ; +0x158, 0x14015b3e8 mov edx, r13d ; +0x15b, 0x14015b3eb call qword ptr [rax+8] ; +0x15e, 0x14015b3ee mov rdx, rbx ; +0x161, 0x14015b3f1 mov rcx, r15 ; +0x164, 0x14015b3f4 call GameLevelManager__resetTimerForKey ; +0x167, 0x14015b3f7 jmp short loc_14015B476 ; +0x16c, 0x14015b3fc xor r8d, r8d ; +0x16e, 0x14015b3fe lea edx, [r8+1] ; +0x171, 0x14015b401 lea rcx, aMessagesII; "messages_%i_%i" ; +0x175, 0x14015b405 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x17c, 0x14015b40c mov rcx, rax ; +0x182, 0x14015b412 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x185, 0x14015b415 mov rbx, rax ; +0x18b, 0x14015b41b mov rcx, cs:qword_1406C2EC0 ; +0x18e, 0x14015b41e test rcx, rcx ; +0x195, 0x14015b425 jnz short loc_14015B459 ; +0x198, 0x14015b428 mov ecx, 3D0h; Size ; +0x19a, 0x14015b42a call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x19f, 0x14015b42f mov [rsp+0A8h+var_80], rax ; +0x1a4, 0x14015b434 mov rcx, rax ; +0x1a9, 0x14015b439 call sub_140141280 ; +0x1ac, 0x14015b43c nop ; +0x1b1, 0x14015b441 mov cs:qword_1406C2EC0, rax ; +0x1b2, 0x14015b442 mov rdx, [rax] ; +0x1b9, 0x14015b449 mov rcx, rax ; +0x1bc, 0x14015b44c call qword ptr [rdx+48h] ; +0x1bf, 0x14015b44f mov rcx, cs:qword_1406C2EC0 ; +0x1c2, 0x14015b452 mov rdx, rbx ; +0x1c9, 0x14015b459 call GameLevelManager__resetTimerForKey ; +0x1cc, 0x14015b45c mov rcx, [r15+350h] ; +0x1d1, 0x14015b461 test rcx, rcx ; +0x1d8, 0x14015b468 jz short loc_14015B476 ; +0x1db, 0x14015b46b mov rax, [rcx] ; +0x1dd, 0x14015b46d mov edx, r13d ; +0x1e0, 0x14015b470 call qword ptr [rax] ; +0x1e3, 0x14015b473 nop ; +0x1e5, 0x14015b475 mov rcx, rsi ; +0x1e6, 0x14015b476 call sub_14003A830 ; +0x1e9, 0x14015b479 nop ; +0x1ee, 0x14015b47e mov rcx, rdi ; +0x1ef, 0x14015b47f call sub_14003A830 ; +0x1f2, 0x14015b482 mov rcx, [rsp+0A8h+var_48] ; +0x1f7, 0x14015b487 xor rcx, rsp; StackCookie ; +0x1fc, 0x14015b48c call __security_check_cookie ; +0x1ff, 0x14015b48f mov rbx, [rsp+0A8h+arg_18] ; +0x204, 0x14015b494 add rsp, 70h ; +0x20c, 0x14015b49c pop r15 ; +0x210, 0x14015b4a0 pop r14 ; +0x212, 0x14015b4a2 pop r13 ; +0x214, 0x14015b4a4 pop r12 ; +0x216, 0x14015b4a6 pop rdi ; +0x218, 0x14015b4a8 pop rsi ; +0x219, 0x14015b4a9 pop rbp ; +0x21a, 0x14015b4aa retn ; +0x21b, 0x14015b4ab