; ; CreateGuidelinesLayer::onRecord from 0x14009ab40 to 0x14009accb (395 bytes) ; ; 2 xrefs: ; > @ 0x140542990 ; > @ 0x1406c7428 ; ; 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 rbx ; +0x0, 0x14009ab40 sub rsp, 60h ; +0x2, 0x14009ab42 movaps [rsp+68h+var_18], xmm6 ; +0x6, 0x14009ab46 mov rax, cs:__security_cookie ; +0xb, 0x14009ab4b xor rax, rsp ; +0x12, 0x14009ab52 mov [rsp+68h+var_20], rax ; +0x15, 0x14009ab55 mov rbx, rcx ; +0x1a, 0x14009ab5a xor edx, edx ; +0x1d, 0x14009ab5d mov rcx, [rcx+288h] ; +0x1f, 0x14009ab5f mov rax, [rcx] ; +0x26, 0x14009ab66 call qword ptr [rax+3F8h] ; +0x29, 0x14009ab69 mov rax, [rbx+288h] ; +0x2f, 0x14009ab6f mov rcx, [rax+228h] ; +0x36, 0x14009ab76 add rcx, 258h ; +0x3d, 0x14009ab7d mov rax, [rcx] ; +0x44, 0x14009ab84 call qword ptr [rax+8] ; +0x47, 0x14009ab87 xorps xmm0, xmm0 ; +0x4a, 0x14009ab8a xorps xmm1, xmm1 ; +0x4d, 0x14009ab8d movups xmmword ptr [rsp+68h+String], xmm0 ; +0x50, 0x14009ab90 mov r8, 0FFFFFFFFFFFFFFFFh ; +0x55, 0x14009ab95 movdqu [rsp+68h+var_30], xmm1 ; +0x5c, 0x14009ab9c inc r8 ; +0x62, 0x14009aba2 cmp byte ptr [rax+r8], 0 ; +0x65, 0x14009aba5 jnz short loc_14009ABA2 ; +0x6a, 0x14009abaa mov rdx, rax ; +0x6c, 0x14009abac lea rcx, [rsp+68h+String] ; +0x6f, 0x14009abaf call sub_14003A930 ; +0x74, 0x14009abb4 cmp qword ptr [rsp+68h+var_30+8], 0Fh ; +0x79, 0x14009abb9 lea rcx, [rsp+68h+String] ; +0x7f, 0x14009abbf cmova rcx, [rsp+68h+String]; String ; +0x84, 0x14009abc4 call cs:atof ; +0x8a, 0x14009abca mov rdx, qword ptr [rsp+68h+var_30+8] ; +0x90, 0x14009abd0 xorps xmm6, xmm6 ; +0x95, 0x14009abd5 cvtsd2ss xmm6, xmm0 ; +0x98, 0x14009abd8 cmp rdx, 0Fh ; +0x9c, 0x14009abdc jbe short loc_14009AC17 ; +0xa0, 0x14009abe0 mov rcx, [rsp+68h+String]; Block ; +0xa2, 0x14009abe2 inc rdx ; +0xa7, 0x14009abe7 mov rax, rcx ; +0xaa, 0x14009abea cmp rdx, 1000h ; +0xad, 0x14009abed jb short loc_14009AC12 ; +0xb4, 0x14009abf4 mov rcx, [rcx-8] ; +0xb6, 0x14009abf6 add rdx, 27h ; ''' ; +0xba, 0x14009abfa sub rax, rcx ; +0xbe, 0x14009abfe add rax, 0FFFFFFFFFFFFFFF8h ; +0xc1, 0x14009ac01 cmp rax, 1Fh ; +0xc5, 0x14009ac05 jbe short loc_14009AC12 ; +0xc9, 0x14009ac09 call cs:_invalid_parameter_noinfo_noreturn ; +0xcb, 0x14009ac0b align 2 ; +0xd1, 0x14009ac11 call j_j_free ; +0xd2, 0x14009ac12 mov dl, 1 ; +0xd7, 0x14009ac17 mov rcx, rbx ; +0xd9, 0x14009ac19 call CreateGuidelinesLayer__toggleItems ; +0xdc, 0x14009ac1c mov rcx, [rbx+288h] ; +0xe1, 0x14009ac21 xor edx, edx ; +0xe8, 0x14009ac28 mov rax, [rcx] ; +0xea, 0x14009ac2a call qword ptr [rax+388h] ; +0xed, 0x14009ac2d lea rcx, [rbx+2C0h]; void * ; +0xf3, 0x14009ac33 movss dword ptr [rbx+2B0h], xmm6 ; +0xfa, 0x14009ac3a xor r8d, r8d; Size ; +0x102, 0x14009ac42 lea rdx, byte_140518980; Src ; +0x105, 0x14009ac45 call sub_14003CCE0 ; +0x10c, 0x14009ac4c mov rcx, [rbx+2A8h] ; +0x111, 0x14009ac51 lea rdx, [rsp+68h+var_48] ; +0x118, 0x14009ac58 add rcx, 140h ; +0x11d, 0x14009ac5d mov dword ptr [rbx+2B8h], 0 ; +0x124, 0x14009ac64 mov [rsp+68h+var_48], 96FFh ; +0x12e, 0x14009ac6e mov [rsp+68h+var_46], 0 ; +0x135, 0x14009ac75 mov rax, [rcx] ; +0x13a, 0x14009ac7a call qword ptr [rax] ; +0x13d, 0x14009ac7d mov rcx, [rbx+2A8h] ; +0x13f, 0x14009ac7f movss xmm1, cs:dword_140622BA4 ; +0x146, 0x14009ac86 mov rax, [rcx] ; +0x14e, 0x14009ac8e call qword ptr [rax+0A0h] ; +0x151, 0x14009ac91 mov rax, [rbx] ; +0x157, 0x14009ac97 mov rcx, rbx ; +0x15a, 0x14009ac9a call qword ptr [rax+420h] ; +0x15d, 0x14009ac9d mov rcx, rbx ; +0x163, 0x14009aca3 mov byte ptr [rbx+2B4h], 1 ; +0x166, 0x14009aca6 call cs:?scheduleUpdate@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::scheduleUpdate(void) ; +0x16d, 0x14009acad mov rcx, [rsp+68h+var_20] ; +0x173, 0x14009acb3 xor rcx, rsp; StackCookie ; +0x178, 0x14009acb8 call __security_check_cookie ; +0x17b, 0x14009acbb movaps xmm6, [rsp+68h+var_18] ; +0x180, 0x14009acc0 add rsp, 60h ; +0x185, 0x14009acc5 pop rbx ; +0x189, 0x14009acc9 retn ; +0x18a, 0x14009acca