; ; GJAccountSettingsLayer::onGroupFriends from 0x14039eb80 to 0x14039ec41 (193 bytes) ; ; 5 xrefs: ; > GJAccountSettingsLayer::init @ 0x14039e541 ; > GJAccountSettingsLayer::init @ 0x14039dc05 ; > GJAccountSettingsLayer::init @ 0x14039dcd5 ; > GJAccountSettingsLayer::init @ 0x14039dd80 ; > @ 0x1409234bc ; ; 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 ; mov [rsp+arg_8], rbx ; +0x0, 0x14039eb80 mov [rsp+arg_10], rbp ; +0x5, 0x14039eb85 push rdi ; +0xa, 0x14039eb8a sub rsp, 20h ; +0xb, 0x14039eb8b mov rbp, rcx ; +0xf, 0x14039eb8f test rdx, rdx ; +0x12, 0x14039eb92 jz short loc_14039EBC5 ; +0x15, 0x14039eb95 mov rax, [rdx] ; +0x17, 0x14039eb97 mov rcx, rdx ; +0x1a, 0x14039eb9a call qword ptr [rax+38h] ; +0x1d, 0x14039eb9d xor r8d, r8d ; +0x20, 0x14039eba0 mov edx, r8d ; +0x23, 0x14039eba3 cmp eax, 3 ; +0x26, 0x14039eba6 setnz dl ; +0x29, 0x14039eba9 inc edx ; +0x2c, 0x14039ebac cmp eax, 2 ; +0x2e, 0x14039ebae mov [rbp+2ACh], edx ; +0x31, 0x14039ebb1 setz r8b ; +0x37, 0x14039ebb7 inc r8d ; +0x3b, 0x14039ebbb mov [rbp+2A8h], r8d ; +0x3e, 0x14039ebbe cmp dword ptr [rbp+2ACh], 1 ; +0x45, 0x14039ebc5 mov [rsp+28h+arg_0], rsi ; +0x4c, 0x14039ebcc mov esi, 3 ; +0x51, 0x14039ebd1 jz short loc_14039EBDE ; +0x56, 0x14039ebd6 mov esi, [rbp+2A8h] ; +0x58, 0x14039ebd8 mov rax, [rbp+2E0h] ; +0x5e, 0x14039ebde test rax, rax ; +0x65, 0x14039ebe5 jz short loc_14039EC2C ; +0x68, 0x14039ebe8 mov rdi, [rax+38h] ; +0x6a, 0x14039ebea mov eax, [rdi] ; +0x6e, 0x14039ebee test eax, eax ; +0x70, 0x14039ebf0 jz short loc_14039EC2C ; +0x72, 0x14039ebf2 mov rdi, [rdi+10h] ; +0x74, 0x14039ebf4 lea rbp, [rax-1] ; +0x78, 0x14039ebf8 lea rbp, [rdi+rbp*8] ; +0x7c, 0x14039ebfc cmp rdi, rbp ; +0x80, 0x14039ec00 ja short loc_14039EC2C ; +0x83, 0x14039ec03 mov rbx, [rdi] ; +0x85, 0x14039ec05 test rbx, rbx ; +0x88, 0x14039ec08 jz short loc_14039EC2C ; +0x8b, 0x14039ec0b mov rax, [rbx] ; +0x8d, 0x14039ec0d mov rcx, rbx ; +0x90, 0x14039ec10 call qword ptr [rax+38h] ; +0x93, 0x14039ec13 cmp eax, esi ; +0x96, 0x14039ec16 mov rcx, rbx ; +0x98, 0x14039ec18 setnz dl ; +0x9b, 0x14039ec1b call CCMenuItemToggler__toggle ; +0x9e, 0x14039ec1e add rdi, 8 ; +0xa3, 0x14039ec23 cmp rdi, rbp ; +0xa7, 0x14039ec27 jbe short loc_14039EC05 ; +0xaa, 0x14039ec2a mov rsi, [rsp+28h+arg_0] ; +0xac, 0x14039ec2c mov rbx, [rsp+28h+arg_8] ; +0xb1, 0x14039ec31 mov rbp, [rsp+28h+arg_10] ; +0xb6, 0x14039ec36 add rsp, 20h ; +0xbb, 0x14039ec3b pop rdi ; +0xbf, 0x14039ec3f retn ; +0xc0, 0x14039ec40