; ; GameLevelManager::invalidateMessages from 0x14015bcb0 to 0x14015bdfe (334 bytes) ; ; 8 xrefs: ; > GameLevelManager::onDeleteUserMessagesCompleted @ 0x14015ba85 ; > GameLevelManager::onBlockUserCompleted @ 0x1401623c6 ; > MessagesProfilePage::onUpdate @ 0x140337305 ; > ProfilePage::init @ 0x1403be9a8 ; > ProfilePage::init @ 0x1403be9ec ; > ProfilePage::onUpdate @ 0x1403bfb0e ; > ProfilePage::onUpdate @ 0x1403bfb52 ; > @ 0x1406caa58 ; ; 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_10], rbx ; +0x0, 0x14015bcb0 mov [rsp+arg_18], rbp ; +0x5, 0x14015bcb5 push rsi ; +0xa, 0x14015bcba push rdi ; +0xb, 0x14015bcbb push r12 ; +0xc, 0x14015bcbc push r14 ; +0xe, 0x14015bcbe push r15 ; +0x10, 0x14015bcc0 sub rsp, 50h ; +0x12, 0x14015bcc2 mov rax, cs:__security_cookie ; +0x16, 0x14015bcc6 xor rax, rsp ; +0x1d, 0x14015bccd mov [rsp+78h+var_38], rax ; +0x20, 0x14015bcd0 movzx r15d, r8b ; +0x25, 0x14015bcd5 movzx r14d, dl ; +0x29, 0x14015bcd9 mov rsi, rcx ; +0x2d, 0x14015bcdd mov dil, 1 ; +0x30, 0x14015bce0 xor r12d, r12d ; +0x33, 0x14015bce3 mov ebx, r12d ; +0x36, 0x14015bce6 nop dword ptr [rax+00000000h] ; +0x39, 0x14015bce9 mov r8d, ebx ; +0x40, 0x14015bcf0 mov edx, r14d ; +0x43, 0x14015bcf3 lea rcx, aMessagesII; "messages_%i_%i" ; +0x46, 0x14015bcf6 call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x4d, 0x14015bcfd mov rcx, rax ; +0x53, 0x14015bd03 call cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x56, 0x14015bd06 xorps xmm0, xmm0 ; +0x5c, 0x14015bd0c movups [rsp+78h+var_58], xmm0 ; +0x5f, 0x14015bd0f mov [rsp+78h+var_48], r12 ; +0x64, 0x14015bd14 mov [rsp+78h+var_40], r12 ; +0x69, 0x14015bd19 mov r8, 0FFFFFFFFFFFFFFFFh ; +0x6e, 0x14015bd1e inc r8 ; +0x75, 0x14015bd25 cmp byte ptr [rax+r8], 0 ; +0x78, 0x14015bd28 jnz short loc_14015BD25 ; +0x7d, 0x14015bd2d mov rdx, rax ; +0x7f, 0x14015bd2f lea rcx, [rsp+78h+var_58] ; +0x82, 0x14015bd32 call sub_14003A930 ; +0x87, 0x14015bd37 nop ; +0x8c, 0x14015bd3c lea rdx, [rsp+78h+var_58] ; +0x8d, 0x14015bd3d cmp [rsp+78h+var_40], 0Fh ; +0x92, 0x14015bd42 cmova rdx, qword ptr [rsp+78h+var_58] ; +0x98, 0x14015bd48 mov rcx, rsi ; +0x9e, 0x14015bd4e call GameLevelManager__getStoredOnlineLevels ; +0xa1, 0x14015bd51 test rax, rax ; +0xa6, 0x14015bd56 jz short loc_14015BD6F ; +0xa9, 0x14015bd59 lea rdx, [rsp+78h+var_58] ; +0xab, 0x14015bd5b mov rcx, [rsi+220h] ; +0xb0, 0x14015bd60 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 &) ; +0xb7, 0x14015bd67 jmp short loc_14015BD72 ; +0xbd, 0x14015bd6d xor dil, dil ; +0xbf, 0x14015bd6f inc ebx ; +0xc2, 0x14015bd72 mov rdx, [rsp+78h+var_40] ; +0xc4, 0x14015bd74 cmp rdx, 0Fh ; +0xc9, 0x14015bd79 jbe short loc_14015BDAD ; +0xcd, 0x14015bd7d inc rdx ; +0xcf, 0x14015bd7f mov rcx, qword ptr [rsp+78h+var_58] ; +0xd2, 0x14015bd82 mov rax, rcx ; +0xd7, 0x14015bd87 cmp rdx, 1000h ; +0xda, 0x14015bd8a jb short loc_14015BDA8 ; +0xe1, 0x14015bd91 add rdx, 27h ; ''' ; +0xe3, 0x14015bd93 mov rcx, [rcx-8]; Block ; +0xe7, 0x14015bd97 sub rax, rcx ; +0xeb, 0x14015bd9b add rax, 0FFFFFFFFFFFFFFF8h ; +0xee, 0x14015bd9e cmp rax, 1Fh ; +0xf2, 0x14015bda2 ja short loc_14015BDF7 ; +0xf6, 0x14015bda6 call j_j_free ; +0xf8, 0x14015bda8 test dil, dil ; +0xfd, 0x14015bdad jnz loc_14015BCF0 ; +0x100, 0x14015bdb0 test r15b, r15b ; +0x106, 0x14015bdb6 jz short loc_14015BDD1 ; +0x109, 0x14015bdb9 mov rcx, [rsi+340h] ; +0x10b, 0x14015bdbb test rcx, rcx ; +0x112, 0x14015bdc2 jz short loc_14015BDD1 ; +0x115, 0x14015bdc5 mov rax, [rcx] ; +0x117, 0x14015bdc7 movzx edx, r14b ; +0x11a, 0x14015bdca call qword ptr [rax+10h] ; +0x11e, 0x14015bdce mov rcx, [rsp+78h+var_38] ; +0x121, 0x14015bdd1 xor rcx, rsp; StackCookie ; +0x126, 0x14015bdd6 call __security_check_cookie ; +0x129, 0x14015bdd9 lea r11, [rsp+78h+var_28] ; +0x12e, 0x14015bdde mov rbx, [r11+40h] ; +0x133, 0x14015bde3 mov rbp, [r11+48h] ; +0x137, 0x14015bde7 mov rsp, r11 ; +0x13b, 0x14015bdeb pop r15 ; +0x13e, 0x14015bdee pop r14 ; +0x140, 0x14015bdf0 pop r12 ; +0x142, 0x14015bdf2 pop rdi ; +0x144, 0x14015bdf4 pop rsi ; +0x145, 0x14015bdf5 retn ; +0x146, 0x14015bdf6 call cs:_invalid_parameter_noinfo_noreturn ; +0x147, 0x14015bdf7 db 0CCh ; +0x14d, 0x14015bdfd