; ; GJWriteMessagePopup::closeMessagePopup from 0x14029a550 to 0x14029a72a (474 bytes) ; ; 3 xrefs: ; > GJWriteMessagePopup::onClose @ 0x14029a542 ; > GJWriteMessagePopup::keyBackClicked @ 0x14029a739 ; > @ 0x1406d1d0c ; ; 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_8], rbx ; +0x0, 0x14029a550 mov [rsp+arg_10], rsi ; +0x5, 0x14029a555 push rdi ; +0xa, 0x14029a55a sub rsp, 40h ; +0xb, 0x14029a55b movzx ebx, dl ; +0xf, 0x14029a55f mov rdi, rcx ; +0x12, 0x14029a562 mov rcx, [rcx+2A8h] ; +0x15, 0x14029a565 mov rax, [rcx] ; +0x1c, 0x14029a56c xor edx, edx ; +0x1f, 0x14029a56f call qword ptr [rax+3F8h] ; +0x21, 0x14029a571 mov rcx, [rdi+2B0h] ; +0x27, 0x14029a577 mov rax, [rcx] ; +0x2e, 0x14029a57e xor edx, edx ; +0x31, 0x14029a581 call qword ptr [rax+3F8h] ; +0x33, 0x14029a583 test bl, bl ; +0x39, 0x14029a589 jnz loc_14029A6FE ; +0x3b, 0x14029a58b cmp dword ptr [rdi+2A0h], 0 ; +0x41, 0x14029a591 jz loc_14029A6FE ; +0x48, 0x14029a598 cmp qword ptr [rdi+2C8h], 0 ; +0x4e, 0x14029a59e jz loc_14029A691 ; +0x56, 0x14029a5a6 call GJUserMessage__create_1 ; +0x5c, 0x14029a5ac mov rsi, rax ; +0x61, 0x14029a5b1 lea rdx, [rdi+2B8h] ; +0x64, 0x14029a5b4 lea rcx, [rsp+48h+var_28] ; +0x6b, 0x14029a5bb call sub_14003BDB0 ; +0x70, 0x14029a5c0 mov rbx, rax ; +0x75, 0x14029a5c5 mov [rsp+48h+arg_0], rax ; +0x78, 0x14029a5c8 lea rcx, [rsi+170h]; void * ; +0x7d, 0x14029a5cd cmp rcx, rax ; +0x84, 0x14029a5d4 jz short loc_14029A5F0 ; +0x87, 0x14029a5d7 mov rdx, rax ; +0x89, 0x14029a5d9 cmp qword ptr [rax+18h], 0Fh ; +0x8c, 0x14029a5dc jbe short loc_14029A5E6 ; +0x91, 0x14029a5e1 mov rdx, [rax]; Src ; +0x93, 0x14029a5e3 mov r8, [rax+10h]; Size ; +0x96, 0x14029a5e6 call sub_14003CCE0 ; +0x9a, 0x14029a5ea nop ; +0x9f, 0x14029a5ef mov rcx, rbx ; +0xa0, 0x14029a5f0 call sub_14003A830 ; +0xa3, 0x14029a5f3 lea rdx, [rdi+2D8h] ; +0xa8, 0x14029a5f8 lea rcx, [rsp+48h+var_28] ; +0xaf, 0x14029a5ff call sub_14003BDB0 ; +0xb4, 0x14029a604 mov rbx, rax ; +0xb9, 0x14029a609 mov [rsp+48h+arg_0], rax ; +0xbc, 0x14029a60c lea rcx, [rsi+150h]; void * ; +0xc1, 0x14029a611 cmp rcx, rax ; +0xc8, 0x14029a618 jz short loc_14029A634 ; +0xcb, 0x14029a61b mov rdx, rax ; +0xcd, 0x14029a61d cmp qword ptr [rax+18h], 0Fh ; +0xd0, 0x14029a620 jbe short loc_14029A62A ; +0xd5, 0x14029a625 mov rdx, [rax]; Src ; +0xd7, 0x14029a627 mov r8, [rax+10h]; Size ; +0xda, 0x14029a62a call sub_14003CCE0 ; +0xde, 0x14029a62e nop ; +0xe3, 0x14029a633 mov rcx, rbx ; +0xe4, 0x14029a634 call sub_14003A830 ; +0xe7, 0x14029a637 cmp cs:qword_1406C2EC0, 0 ; +0xec, 0x14029a63c jnz short loc_14029A66E ; +0xf4, 0x14029a644 mov ecx, 3D0h; Size ; +0xf6, 0x14029a646 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xfb, 0x14029a64b mov [rsp+48h+arg_0], rax ; +0x100, 0x14029a650 mov rcx, rax ; +0x105, 0x14029a655 call sub_140141280 ; +0x108, 0x14029a658 nop ; +0x10d, 0x14029a65d mov cs:qword_1406C2EC0, rax ; +0x10e, 0x14029a65e mov rdx, [rax] ; +0x115, 0x14029a665 mov rcx, rax ; +0x118, 0x14029a668 call qword ptr [rdx+48h] ; +0x11b, 0x14029a66b test rsi, rsi ; +0x11e, 0x14029a66e jz short loc_14029A691 ; +0x121, 0x14029a671 movsxd r8, dword ptr [rdi+2A0h] ; +0x123, 0x14029a673 mov rdx, rsi ; +0x12a, 0x14029a67a mov rcx, cs:qword_1406C2EC0 ; +0x12d, 0x14029a67d mov rcx, [rcx+270h] ; +0x134, 0x14029a684 call cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x13b, 0x14029a68b cmp cs:qword_1406C2EC0, 0 ; +0x141, 0x14029a691 jnz short loc_14029A6C3 ; +0x149, 0x14029a699 mov ecx, 3D0h; Size ; +0x14b, 0x14029a69b call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x150, 0x14029a6a0 mov [rsp+48h+arg_0], rax ; +0x155, 0x14029a6a5 mov rcx, rax ; +0x15a, 0x14029a6aa call sub_140141280 ; +0x15d, 0x14029a6ad nop ; +0x162, 0x14029a6b2 mov cs:qword_1406C2EC0, rax ; +0x163, 0x14029a6b3 mov rdx, [rax] ; +0x16a, 0x14029a6ba mov rcx, rax ; +0x16d, 0x14029a6bd call qword ptr [rdx+48h] ; +0x170, 0x14029a6c0 movsxd rdx, dword ptr [rdi+2A0h] ; +0x173, 0x14029a6c3 mov rcx, cs:qword_1406C2EC0 ; +0x17a, 0x14029a6ca mov rcx, [rcx+268h] ; +0x181, 0x14029a6d1 call cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x188, 0x14029a6d8 test rax, rax ; +0x18e, 0x14029a6de jz short loc_14029A6FE ; +0x191, 0x14029a6e1 mov rcx, rax ; +0x193, 0x14029a6e3 call GJMessagePopup__create ; +0x196, 0x14029a6e6 mov byte ptr [rax+24Ch], 1 ; +0x19b, 0x14029a6eb mov rdx, [rax] ; +0x1a2, 0x14029a6f2 mov rcx, rax ; +0x1a5, 0x14029a6f5 call qword ptr [rdx+410h] ; +0x1a8, 0x14029a6f8 mov rax, [rdi] ; +0x1ae, 0x14029a6fe xor edx, edx ; +0x1b1, 0x14029a701 mov rcx, rdi ; +0x1b3, 0x14029a703 call qword ptr [rax+3D0h] ; +0x1b6, 0x14029a706 mov rax, [rdi] ; +0x1bc, 0x14029a70c mov dl, 1 ; +0x1bf, 0x14029a70f mov rcx, rdi ; +0x1c1, 0x14029a711 mov rbx, [rsp+48h+arg_8] ; +0x1c4, 0x14029a714 mov rsi, [rsp+48h+arg_10] ; +0x1c9, 0x14029a719 add rsp, 40h ; +0x1ce, 0x14029a71e pop rdi ; +0x1d2, 0x14029a722 jmp qword ptr [rax+1F8h] ; +0x1d3, 0x14029a723