; ; CommentCell::onLike from 0x10023df70 to 0x10023e0c1 (337 bytes) ; ; 1 xrefs: ; > CommentCell::loadFromComment @ 0x10022ee37 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 12:27:17 +0000 ; push rbp ; +0x0, 0x10023df70 mov rbp, rsp ; +0x1, 0x10023df71 push r15 ; +0x4, 0x10023df74 push r14 ; +0x6, 0x10023df76 push r12 ; +0x8, 0x10023df78 push rbx ; +0xa, 0x10023df7a mov rbx, rdi ; +0xb, 0x10023df7b call GJAccountManager__sharedState ; +0xe, 0x10023df7e mov ecx, [rax+160h] ; +0x13, 0x10023df83 cmp ecx, [rax+164h] ; +0x19, 0x10023df89 jle short loc_10023DFC3 ; +0x1f, 0x10023df8f mov rax, [rbx+248h] ; +0x21, 0x10023df91 test rax, rax ; +0x28, 0x10023df98 jz short loc_10023DFDF ; +0x2b, 0x10023df9b mov edx, [rax+1B4h] ; +0x2d, 0x10023df9d cmp edx, 3 ; +0x33, 0x10023dfa3 jz loc_10023E079 ; +0x36, 0x10023dfa6 mov ecx, 17Ch ; +0x3c, 0x10023dfac cmp edx, 4 ; +0x41, 0x10023dfb1 jz short loc_10023DFF5 ; +0x44, 0x10023dfb4 cmp edx, 5 ; +0x46, 0x10023dfb6 jnz short loc_10023DFDF ; +0x49, 0x10023dfb9 mov r14d, 8 ; +0x4b, 0x10023dfbb jmp short loc_10023DFFB ; +0x51, 0x10023dfc1 call GJAccountManager__sharedState ; +0x53, 0x10023dfc3 lea rsi, aLikeCgComments; "like comments" ; +0x58, 0x10023dfc8 mov rdi, rax ; +0x5f, 0x10023dfcf pop rbx ; +0x62, 0x10023dfd2 pop r12 ; +0x63, 0x10023dfd3 pop r14 ; +0x65, 0x10023dfd5 pop r15 ; +0x67, 0x10023dfd7 pop rbp ; +0x69, 0x10023dfd9 jmp sub_1000A24A0 ; +0x6a, 0x10023dfda movzx r14d, byte ptr [rbx+250h] ; +0x6f, 0x10023dfdf lea rcx, ds:17Ch[r14*8] ; +0x77, 0x10023dfe7 or r14d, 2 ; +0x7f, 0x10023dfef jmp short loc_10023DFFB ; +0x83, 0x10023dff3 mov r14d, 7 ; +0x85, 0x10023dff5 mov r15d, [rax+rcx] ; +0x8b, 0x10023dffb call GameLevelManager__sharedState ; +0x8f, 0x10023dfff mov rcx, [rbx+248h] ; +0x94, 0x10023e004 mov edx, [rcx+170h] ; +0x9b, 0x10023e00b mov rdi, rax ; +0xa1, 0x10023e011 mov esi, r14d ; +0xa4, 0x10023e014 mov ecx, r15d ; +0xa7, 0x10023e017 call GameLevelManager__hasLikedItemFullCheck ; +0xaa, 0x10023e01a test al, al ; +0xaf, 0x10023e01f jnz short loc_10023E070 ; +0xb1, 0x10023e021 mov rax, [rbx+248h] ; +0xb3, 0x10023e023 mov r12d, [rax+174h] ; +0xba, 0x10023e02a call GameManager__sharedState ; +0xc1, 0x10023e031 mov ecx, [rax+294h] ; +0xc6, 0x10023e036 sub ecx, [rax+298h] ; +0xcc, 0x10023e03c cmp r12d, ecx ; +0xd2, 0x10023e042 jz short loc_10023E070 ; +0xd5, 0x10023e045 mov rax, [rbx+248h] ; +0xd7, 0x10023e047 mov r12d, [rax+184h] ; +0xde, 0x10023e04e test r12d, r12d ; +0xe5, 0x10023e055 jz short loc_10023E08E ; +0xe8, 0x10023e058 call GJAccountManager__sharedState ; +0xea, 0x10023e05a mov ecx, [rax+160h] ; +0xef, 0x10023e05f sub ecx, [rax+164h] ; +0xf5, 0x10023e065 cmp r12d, ecx ; +0xfb, 0x10023e06b jnz short loc_10023E087 ; +0xfe, 0x10023e06e pop rbx ; +0x100, 0x10023e070 pop r12 ; +0x101, 0x10023e071 pop r14 ; +0x103, 0x10023e073 pop r15 ; +0x105, 0x10023e075 pop rbp ; +0x107, 0x10023e077 retn ; +0x108, 0x10023e078 xor r15d, r15d ; +0x109, 0x10023e079 mov r14d, 6 ; +0x10c, 0x10023e07c jmp loc_10023DFFF ; +0x112, 0x10023e082 mov rax, [rbx+248h] ; +0x117, 0x10023e087 mov esi, [rax+170h] ; +0x11e, 0x10023e08e mov edi, r14d ; +0x124, 0x10023e094 mov edx, r15d ; +0x127, 0x10023e097 call LikeItemLayer__create ; +0x12a, 0x10023e09a add rbx, 228h ; +0x12f, 0x10023e09f mov [rax+2A0h], rbx ; +0x136, 0x10023e0a6 mov rcx, [rax] ; +0x13d, 0x10023e0ad mov rdi, rax ; +0x140, 0x10023e0b0 pop rbx ; +0x143, 0x10023e0b3 pop r12 ; +0x144, 0x10023e0b4 pop r14 ; +0x146, 0x10023e0b6 pop r15 ; +0x148, 0x10023e0b8 pop rbp ; +0x14a, 0x10023e0ba jmp qword ptr [rcx+520h] ; +0x14b, 0x10023e0bb