Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- __text:0000000000036CFA ; char __cdecl -[KeyboardBrightnessClient isKeyboardBuiltIn:](KeyboardBrightnessClient *self, SEL, unsigned __int64)
- __text:0000000000036CFA __KeyboardBrightnessClient_isKeyboardBuiltIn__ proc near
- __text:0000000000036CFA ; DATA XREF: __objc_const:0000000000080BE8↓o
- __text:0000000000036CFA push rbp
- __text:0000000000036CFB mov rbp, rsp
- __text:0000000000036CFE push r14
- __text:0000000000036D00 push rbx
- __text:0000000000036D01 mov rcx, rdx
- __text:0000000000036D04 mov rbx, rdi
- __text:0000000000036D07 mov rdi, [rdi+8] ; void *
- __text:0000000000036D0B mov rsi, cs:selRef_copyPropertyForKey_keyboardID_ ; char *
- __text:0000000000036D12 lea rdx, cfstr_Keyboardbackli_8 ; "KeyboardBacklightBuiltIn"
- __text:0000000000036D19 call cs:_objc_msgSend_ptr
- __text:0000000000036D1F mov r14, rax
- __text:0000000000036D22 mov rbx, [rbx+10h]
- __text:0000000000036D26 test rbx, rbx
- __text:0000000000036D29 jnz short loc_36D42
- __text:0000000000036D2B lea rax, __COREBRIGHTNESS_LOG_DEFAULT
- __text:0000000000036D32 mov rbx, [rax]
- __text:0000000000036D35 test rbx, rbx
- __text:0000000000036D38 jnz short loc_36D42
- __text:0000000000036D3A call _init_default_corebrightness_log
- __text:0000000000036D3F mov rbx, rax
- __text:0000000000036D42
- __text:0000000000036D42 loc_36D42: ; CODE XREF: -[KeyboardBrightnessClient isKeyboardBuiltIn:]+2F↑j
- __text:0000000000036D42 ; -[KeyboardBrightnessClient isKeyboardBuiltIn:]+3E↑j
- __text:0000000000036D42 mov rdi, rbx
- __text:0000000000036D45 mov esi, 2
- __text:0000000000036D4A call _os_log_type_enabled
- __text:0000000000036D4F test al, al
- __text:0000000000036D51 jnz short loc_36DA7
- __text:0000000000036D53
- __text:0000000000036D53 loc_36D53: ; CODE XREF: -[KeyboardBrightnessClient isKeyboardBuiltIn:]+B8↓j
- __text:0000000000036D53 mov rdi, cs:classRef_NSNumber ; void *
- __text:0000000000036D5A mov rsi, cs:selRef_class ; char *
- __text:0000000000036D61 mov rbx, cs:_objc_msgSend_ptr
- __text:0000000000036D68 call rbx ; _objc_msgSend
- __text:0000000000036D6A mov rsi, cs:selRef_isKindOfClass_ ; char *
- __text:0000000000036D71 mov rdi, r14 ; void *
- __text:0000000000036D74 mov rdx, rax
- __text:0000000000036D77 call rbx ; _objc_msgSend
- __text:0000000000036D79 test al, al
- __text:0000000000036D7B jz short loc_36D94
- __text:0000000000036D7D mov rsi, cs:selRef_boolValue ; char *
- __text:0000000000036D84 mov rdi, r14 ; void *
- __text:0000000000036D87 call cs:_objc_msgSend_ptr
- __text:0000000000036D8D test al, al
- __text:0000000000036D8F setnz bl
- __text:0000000000036D92 jmp short loc_36D96
- __text:0000000000036D94 ; ---------------------------------------------------------------------------
- __text:0000000000036D94
- __text:0000000000036D94 loc_36D94: ; CODE XREF: -[KeyboardBrightnessClient isKeyboardBuiltIn:]+81↑j
- __text:0000000000036D94 xor ebx, ebx
- __text:0000000000036D96
- __text:0000000000036D96 loc_36D96: ; CODE XREF: -[KeyboardBrightnessClient isKeyboardBuiltIn:]+98↑j
- __text:0000000000036D96 mov rdi, r14
- __text:0000000000036D99 call cs:_objc_release_ptr
- __text:0000000000036D9F movzx eax, bl
- __text:0000000000036DA2 pop rbx
- __text:0000000000036DA3 pop r14
- __text:0000000000036DA5 pop rbp
- __text:0000000000036DA6 retn
- __text:0000000000036DA7 ; ---------------------------------------------------------------------------
- __text:0000000000036DA7
- __text:0000000000036DA7 loc_36DA7: ; CODE XREF: -[KeyboardBrightnessClient isKeyboardBuiltIn:]+57↑j
- __text:0000000000036DA7 mov rdi, r14
- __text:0000000000036DAA mov rsi, rbx
- __text:0000000000036DAD call __KeyboardBrightnessClient_isKeyboardBuiltIn___cold_1 ; -[KeyboardBrightnessClient isKeyboardBuiltIn:].cold.1
- __text:0000000000036DB2 jmp short loc_36D53
- __text:0000000000036DB2 __KeyboardBrightnessClient_isKeyboardBuiltIn__ endp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement