; ; CCBlockLayer::create from 0x100518e10 to 0x100518eca (186 bytes) ; ; 0 xrefs: ; ; 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 12:31:40 +0000 ; push rbp ; +0x0, 0x100518e10 mov rbp, rsp ; +0x1, 0x100518e11 push r14 ; +0x4, 0x100518e14 push rbx ; +0x6, 0x100518e16 mov edi, 228h; __sz ; +0x7, 0x100518e17 call __Znwm; operator new(ulong) ; +0xc, 0x100518e1c mov rbx, rax ; +0x11, 0x100518e21 mov rdi, rax ; +0x14, 0x100518e24 call cocos2d__CCLayerColor__CCLayerColor ; +0x17, 0x100518e27 lea rax, off_100B6C818 ; +0x1c, 0x100518e2c mov [rbx], rax ; +0x23, 0x100518e33 lea rax, off_100B6CD90 ; +0x26, 0x100518e36 mov [rbx+140h], rax ; +0x2d, 0x100518e3d lea rax, off_100B6CE00 ; +0x34, 0x100518e44 mov [rbx+148h], rax ; +0x3b, 0x100518e4b lea rax, off_100B6CE18 ; +0x42, 0x100518e52 mov [rbx+150h], rax ; +0x49, 0x100518e59 lea rax, off_100B6CE38 ; +0x50, 0x100518e60 mov [rbx+158h], rax ; +0x57, 0x100518e67 lea rax, off_100B6CE60 ; +0x5e, 0x100518e6e mov [rbx+160h], rax ; +0x65, 0x100518e75 lea rax, off_100B6CE90 ; +0x6c, 0x100518e7c mov [rbx+198h], rax ; +0x73, 0x100518e83 lea rax, off_100B6CF10 ; +0x7a, 0x100518e8a mov [rbx+1B0h], rax ; +0x81, 0x100518e91 mov word ptr [rbx+220h], 0 ; +0x88, 0x100518e98 mov rdi, rbx ; +0x91, 0x100518ea1 call CCBlockLayer__init ; +0x94, 0x100518ea4 test al, al ; +0x99, 0x100518ea9 jz short loc_100518EB7 ; +0x9b, 0x100518eab mov rdi, rbx ; +0x9d, 0x100518ead call cocos2d__CCObject__autorelease ; +0xa0, 0x100518eb0 jmp short loc_100518EC2 ; +0xa5, 0x100518eb5 mov rax, [rbx] ; +0xa7, 0x100518eb7 mov rdi, rbx ; +0xaa, 0x100518eba call qword ptr [rax+10h] ; +0xad, 0x100518ebd xor ebx, ebx ; +0xb0, 0x100518ec0 mov rax, rbx ; +0xb2, 0x100518ec2 pop rbx ; +0xb5, 0x100518ec5 pop r14 ; +0xb6, 0x100518ec6 pop rbp ; +0xb8, 0x100518ec8 retn ; +0xb9, 0x100518ec9