; ; DialogLayer::createDialogLayer from 0x1003b0690 to 0x1003b07bb (299 bytes) ; ; 2 xrefs: ; > DialogLayer::create @ 0x1003b0689 ; > DialogLayer::createWithObjects @ 0x1003b07dc ; ; 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:29:25 +0000 ; push rbp ; +0x0, 0x1003b0690 mov rbp, rsp ; +0x1, 0x1003b0691 push r15 ; +0x4, 0x1003b0694 push r14 ; +0x6, 0x1003b0696 push r12 ; +0x8, 0x1003b0698 push rbx ; +0xa, 0x1003b069a mov r14d, edx ; +0xb, 0x1003b069b mov r15, rsi ; +0xe, 0x1003b069e mov r12, rdi ; +0x11, 0x1003b06a1 mov edi, 288h; __sz ; +0x14, 0x1003b06a4 call __Znwm; operator new(ulong) ; +0x19, 0x1003b06a9 mov rbx, rax ; +0x1e, 0x1003b06ae mov rdi, rax ; +0x21, 0x1003b06b1 call cocos2d__CCLayerColor__CCLayerColor ; +0x24, 0x1003b06b4 lea rax, off_100B36C60 ; +0x29, 0x1003b06b9 mov [rbx], rax ; +0x30, 0x1003b06c0 lea rax, off_100B37190 ; +0x33, 0x1003b06c3 mov [rbx+140h], rax ; +0x3a, 0x1003b06ca lea rax, off_100B37200 ; +0x41, 0x1003b06d1 mov [rbx+148h], rax ; +0x48, 0x1003b06d8 lea rax, off_100B37218 ; +0x4f, 0x1003b06df mov [rbx+150h], rax ; +0x56, 0x1003b06e6 lea rax, off_100B37238 ; +0x5d, 0x1003b06ed mov [rbx+158h], rax ; +0x64, 0x1003b06f4 lea rax, off_100B37260 ; +0x6b, 0x1003b06fb mov [rbx+160h], rax ; +0x72, 0x1003b0702 lea rax, off_100B37290 ; +0x79, 0x1003b0709 mov [rbx+198h], rax ; +0x80, 0x1003b0710 lea rax, off_100B37310 ; +0x87, 0x1003b0717 mov [rbx+1B0h], rax ; +0x8e, 0x1003b071e lea rax, off_100B37330 ; +0x95, 0x1003b0725 mov [rbx+220h], rax ; +0x9c, 0x1003b072c mov qword ptr [rbx+228h], 0 ; +0xa3, 0x1003b0733 xorps xmm0, xmm0 ; +0xae, 0x1003b073e movups xmmword ptr [rbx+238h], xmm0 ; +0xb1, 0x1003b0741 movups xmmword ptr [rbx+248h], xmm0 ; +0xb8, 0x1003b0748 mov dword ptr [rbx+258h], 0FFFFFFFFh ; +0xbf, 0x1003b074f mov word ptr [rbx+268h], 0 ; +0xc9, 0x1003b0759 mov qword ptr [rbx+270h], 0 ; +0xd2, 0x1003b0762 mov byte ptr [rbx+278h], 0 ; +0xdd, 0x1003b076d mov dword ptr [rbx+27Ch], 1 ; +0xe4, 0x1003b0774 mov byte ptr [rbx+280h], 0 ; +0xee, 0x1003b077e mov rdi, rbx ; +0xf5, 0x1003b0785 mov rsi, r12 ; +0xf8, 0x1003b0788 mov rdx, r15 ; +0xfb, 0x1003b078b mov ecx, r14d ; +0xfe, 0x1003b078e call DialogLayer__init ; +0x101, 0x1003b0791 test al, al ; +0x106, 0x1003b0796 jz short loc_1003B07A4 ; +0x108, 0x1003b0798 mov rdi, rbx ; +0x10a, 0x1003b079a call cocos2d__CCObject__autorelease ; +0x10d, 0x1003b079d jmp short loc_1003B07AF ; +0x112, 0x1003b07a2 mov rax, [rbx] ; +0x114, 0x1003b07a4 mov rdi, rbx ; +0x117, 0x1003b07a7 call qword ptr [rax+10h] ; +0x11a, 0x1003b07aa xor ebx, ebx ; +0x11d, 0x1003b07ad mov rax, rbx ; +0x11f, 0x1003b07af pop rbx ; +0x122, 0x1003b07b2 pop r12 ; +0x123, 0x1003b07b3 pop r14 ; +0x125, 0x1003b07b5 pop r15 ; +0x127, 0x1003b07b7 pop rbp ; +0x129, 0x1003b07b9 retn ; +0x12a, 0x1003b07ba