; ; GJMessageCell::FLAlert_Clicked from 0x1400be160 to 0x1400be2f6 (406 bytes) ; ; 2 xrefs: ; > @ 0x14054a260 ; > @ 0x1406c7e54 ; ; 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 ; test r8b, r8b ; +0x0, 0x1400be160 jz locret_1400BE2F5 ; +0x3, 0x1400be163 mov [rsp+arg_0], rbx ; +0x9, 0x1400be169 mov [rsp+arg_8], rbp ; +0xe, 0x1400be16e mov [rsp+arg_10], rsi ; +0x13, 0x1400be173 push rdi ; +0x18, 0x1400be178 sub rsp, 40h ; +0x19, 0x1400be179 mov rbx, rcx ; +0x1d, 0x1400be17d mov rax, [rdx] ; +0x20, 0x1400be180 mov rcx, rdx ; +0x23, 0x1400be183 call qword ptr [rax+38h] ; +0x26, 0x1400be186 cmp eax, 1 ; +0x29, 0x1400be189 jnz loc_1400BE2E1 ; +0x2c, 0x1400be18c cmp qword ptr [rbx+18h], 0 ; +0x32, 0x1400be192 jz loc_1400BE2E1 ; +0x37, 0x1400be197 lea rsi, [rbx-230h] ; +0x3d, 0x1400be19d mov rcx, rsi ; +0x44, 0x1400be1a4 call GJMessageCell__markAsRead ; +0x47, 0x1400be1a7 mov rcx, cs:qword_1406C2EC0 ; +0x4c, 0x1400be1ac test rcx, rcx ; +0x53, 0x1400be1b3 jnz short loc_1400BE1E7 ; +0x56, 0x1400be1b6 mov ecx, 3D0h; Size ; +0x58, 0x1400be1b8 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x5d, 0x1400be1bd mov [rsp+48h+arg_18], rax ; +0x62, 0x1400be1c2 mov rcx, rax ; +0x67, 0x1400be1c7 call sub_140141280 ; +0x6a, 0x1400be1ca nop ; +0x6f, 0x1400be1cf mov cs:qword_1406C2EC0, rax ; +0x70, 0x1400be1d0 mov rdx, [rax] ; +0x77, 0x1400be1d7 mov rcx, rax ; +0x7a, 0x1400be1da call qword ptr [rdx+48h] ; +0x7d, 0x1400be1dd mov rcx, cs:qword_1406C2EC0 ; +0x80, 0x1400be1e0 mov rdx, [rbx+18h] ; +0x87, 0x1400be1e7 movzx r9d, byte ptr [rdx+1D1h] ; +0x8b, 0x1400be1eb xor r8d, r8d ; +0x93, 0x1400be1f3 call GameLevelManager__deleteUserMessages ; +0x96, 0x1400be1f6 test al, al ; +0x9b, 0x1400be1fb jz loc_1400BE2E1 ; +0x9d, 0x1400be1fd lea rdi, [rbx+10h] ; +0xa3, 0x1400be203 xor ebp, ebp ; +0xa7, 0x1400be207 test rsi, rsi ; +0xa9, 0x1400be209 cmovz rdi, rbp ; +0xac, 0x1400be20c mov rax, cs:qword_1406C2EC0 ; +0xb0, 0x1400be210 test rax, rax ; +0xb7, 0x1400be217 jnz short loc_1400BE24B ; +0xba, 0x1400be21a mov ecx, 3D0h; Size ; +0xbc, 0x1400be21c call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xc1, 0x1400be221 mov [rsp+48h+arg_18], rax ; +0xc6, 0x1400be226 mov rcx, rax ; +0xcb, 0x1400be22b call sub_140141280 ; +0xce, 0x1400be22e nop ; +0xd3, 0x1400be233 mov cs:qword_1406C2EC0, rax ; +0xd4, 0x1400be234 mov rdx, [rax] ; +0xdb, 0x1400be23b mov rcx, rax ; +0xde, 0x1400be23e call qword ptr [rdx+48h] ; +0xe1, 0x1400be241 mov rax, cs:qword_1406C2EC0 ; +0xe4, 0x1400be244 mov [rax+328h], rdi ; +0xeb, 0x1400be24b mov rax, [rbx+20h] ; +0xf2, 0x1400be252 test rax, rax ; +0xf6, 0x1400be256 jz short loc_1400BE262 ; +0xf9, 0x1400be259 mov [rax+278h], rbp ; +0xfb, 0x1400be25b xorps xmm0, xmm0 ; +0x102, 0x1400be262 movups [rsp+48h+var_28], xmm0 ; +0x105, 0x1400be265 mov [rsp+48h+var_18], rbp ; +0x10a, 0x1400be26a mov [rsp+48h+var_10], 0Fh ; +0x10f, 0x1400be26f mov ecx, 20h ; ' ' ; +0x118, 0x1400be278 call sub_14003AA10 ; +0x11d, 0x1400be27d mov qword ptr [rsp+48h+var_28], rax ; +0x122, 0x1400be282 mov [rsp+48h+var_18], 13h ; +0x127, 0x1400be287 mov [rsp+48h+var_10], 1Fh ; +0x130, 0x1400be290 movups xmm0, cs:xmmword_140547438 ; +0x139, 0x1400be299 movups xmmword ptr [rax], xmm0 ; +0x140, 0x1400be2a0 movzx ecx, cs:word_140547448 ; +0x143, 0x1400be2a3 mov [rax+10h], cx ; +0x14a, 0x1400be2aa movzx ecx, cs:byte_14054744A ; +0x14e, 0x1400be2ae mov [rax+12h], cl ; +0x155, 0x1400be2b5 mov byte ptr [rax+13h], 0 ; +0x158, 0x1400be2b8 lea rcx, [rbx+8] ; +0x15c, 0x1400be2bc test rsi, rsi ; +0x160, 0x1400be2c0 cmovz rcx, rbp ; +0x163, 0x1400be2c3 lea rdx, [rsp+48h+var_28] ; +0x167, 0x1400be2c7 call UploadActionPopup__create ; +0x16c, 0x1400be2cc mov [rbx+20h], rax ; +0x171, 0x1400be2d1 mov rdx, [rax] ; +0x175, 0x1400be2d5 mov rcx, rax ; +0x178, 0x1400be2d8 call qword ptr [rdx+410h] ; +0x17b, 0x1400be2db mov rbx, [rsp+48h+arg_0] ; +0x181, 0x1400be2e1 mov rbp, [rsp+48h+arg_8] ; +0x186, 0x1400be2e6 mov rsi, [rsp+48h+arg_10] ; +0x18b, 0x1400be2eb add rsp, 40h ; +0x190, 0x1400be2f0 pop rdi ; +0x194, 0x1400be2f4 retn ; +0x195, 0x1400be2f5