; ; GJAccountSettingsLayer::onFriendRequests from 0x14039ea40 to 0x14039ead3 (147 bytes) ; ; 6 xrefs: ; > GJAccountSettingsLayer::init @ 0x14039d770 ; > GJAccountSettingsLayer::init @ 0x14039d817 ; > GJAccountSettingsLayer::init @ 0x14039d8c9 ; > @ 0x1408bf3fc ; > @ 0x1408bf454 ; > @ 0x140923414 ; ; 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 11:31:16 +0000 ; push rsi ; +0x0, 0x14039ea40 sub rsp, 20h ; +0x2, 0x14039ea42 mov rsi, rcx ; +0x6, 0x14039ea46 test rdx, rdx ; +0x9, 0x14039ea49 jz short loc_14039EA5D ; +0xc, 0x14039ea4c mov rax, [rdx] ; +0xe, 0x14039ea4e mov rcx, rdx ; +0x11, 0x14039ea51 call qword ptr [rax+38h] ; +0x14, 0x14039ea54 mov [rsi+2A0h], eax ; +0x17, 0x14039ea57 mov rax, [rsi+2D0h] ; +0x1d, 0x14039ea5d test rax, rax ; +0x24, 0x14039ea64 jz short loc_14039EACD ; +0x27, 0x14039ea67 mov [rsp+28h+arg_10], rdi ; +0x29, 0x14039ea69 mov rdi, [rax+38h] ; +0x2e, 0x14039ea6e mov eax, [rdi] ; +0x32, 0x14039ea72 test eax, eax ; +0x34, 0x14039ea74 jz short loc_14039EAC8 ; +0x36, 0x14039ea76 mov rdi, [rdi+10h] ; +0x38, 0x14039ea78 mov [rsp+28h+arg_8], rbp ; +0x3c, 0x14039ea7c lea rbp, [rax-1] ; +0x41, 0x14039ea81 lea rbp, [rdi+rbp*8] ; +0x45, 0x14039ea85 cmp rdi, rbp ; +0x49, 0x14039ea89 ja short loc_14039EAC3 ; +0x4c, 0x14039ea8c mov [rsp+28h+arg_0], rbx ; +0x4e, 0x14039ea8e mov rbx, [rdi] ; +0x53, 0x14039ea93 test rbx, rbx ; +0x56, 0x14039ea96 jz short loc_14039EABE ; +0x59, 0x14039ea99 mov rax, [rbx] ; +0x5b, 0x14039ea9b mov rcx, rbx ; +0x5e, 0x14039ea9e call qword ptr [rax+38h] ; +0x61, 0x14039eaa1 cmp eax, [rsi+2A0h] ; +0x64, 0x14039eaa4 mov rcx, rbx ; +0x6a, 0x14039eaaa setnz dl ; +0x6d, 0x14039eaad call CCMenuItemToggler__toggle ; +0x70, 0x14039eab0 add rdi, 8 ; +0x75, 0x14039eab5 cmp rdi, rbp ; +0x79, 0x14039eab9 jbe short loc_14039EA93 ; +0x7c, 0x14039eabc mov rbx, [rsp+28h+arg_0] ; +0x7e, 0x14039eabe mov rbp, [rsp+28h+arg_8] ; +0x83, 0x14039eac3 mov rdi, [rsp+28h+arg_10] ; +0x88, 0x14039eac8 add rsp, 20h ; +0x8d, 0x14039eacd pop rsi ; +0x91, 0x14039ead1 retn ; +0x92, 0x14039ead2