; ; GJAccountSettingsLayer::onFriendRequests from 0x1002a1470 to 0x1002a14f7 (135 bytes) ; ; 2 xrefs: ; > GJAccountSettingsLayer::init @ 0x1002a0121 ; > GJAccountSettingsLayer::init @ 0x1002a01d4 ; ; 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 ; push rbp ; +0x0, 0x1002a1470 mov rbp, rsp ; +0x1, 0x1002a1471 push r15 ; +0x4, 0x1002a1474 push r14 ; +0x6, 0x1002a1476 push r12 ; +0x8, 0x1002a1478 push rbx ; +0xa, 0x1002a147a mov rbx, rdi ; +0xb, 0x1002a147b test rsi, rsi ; +0xe, 0x1002a147e jz short loc_1002A1492 ; +0x11, 0x1002a1481 mov rax, [rsi] ; +0x13, 0x1002a1483 mov rdi, rsi ; +0x16, 0x1002a1486 call qword ptr [rax+40h] ; +0x19, 0x1002a1489 mov [rbx+288h], eax ; +0x1c, 0x1002a148c mov rax, [rbx+2B8h] ; +0x22, 0x1002a1492 test rax, rax ; +0x29, 0x1002a1499 jz short loc_1002A14EE ; +0x2c, 0x1002a149c mov rax, [rax+38h] ; +0x2e, 0x1002a149e mov ecx, [rax] ; +0x32, 0x1002a14a2 test rcx, rcx ; +0x34, 0x1002a14a4 jz short loc_1002A14EE ; +0x37, 0x1002a14a7 mov r15, [rax+10h] ; +0x39, 0x1002a14a9 lea r12, [r15+rcx*8] ; +0x3d, 0x1002a14ad add r12, 0FFFFFFFFFFFFFFF8h ; +0x41, 0x1002a14b1 nop word ptr [rax+rax+00000000h] ; +0x45, 0x1002a14b5 mov r14, [r15] ; +0x50, 0x1002a14c0 test r14, r14 ; +0x53, 0x1002a14c3 jz short loc_1002A14EE ; +0x56, 0x1002a14c6 mov rax, [r14] ; +0x58, 0x1002a14c8 mov rdi, r14 ; +0x5b, 0x1002a14cb call qword ptr [rax+40h] ; +0x5e, 0x1002a14ce xor esi, esi ; +0x61, 0x1002a14d1 cmp eax, [rbx+288h] ; +0x63, 0x1002a14d3 setnz sil ; +0x69, 0x1002a14d9 mov rdi, r14 ; +0x6d, 0x1002a14dd call CCMenuItemToggler__toggle ; +0x70, 0x1002a14e0 add r15, 8 ; +0x75, 0x1002a14e5 cmp r15, r12 ; +0x79, 0x1002a14e9 jbe short loc_1002A14C0 ; +0x7c, 0x1002a14ec pop rbx ; +0x7e, 0x1002a14ee pop r12 ; +0x7f, 0x1002a14ef pop r14 ; +0x81, 0x1002a14f1 pop r15 ; +0x83, 0x1002a14f3 pop rbp ; +0x85, 0x1002a14f5 retn ; +0x86, 0x1002a14f6