; ; cocos2d::CCLayer::create from 0x18004f700 to 0x18004f75f (95 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b1e18 ; ; 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, 0x18004f700 sub rsp, 20h ; +0x2, 0x18004f702 mov ecx, 198h; Size ; +0x6, 0x18004f706 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0xb, 0x18004f70b mov [rsp+28h+arg_0], rax ; +0x10, 0x18004f710 test rax, rax ; +0x15, 0x18004f715 jz short loc_18004F727 ; +0x18, 0x18004f718 mov rcx, rax; this ; +0x1a, 0x18004f71a call ??0CCLayer@cocos2d@@QEAA@XZ; cocos2d::CCLayer::CCLayer(void) ; +0x1d, 0x18004f71d mov rbx, rax ; +0x22, 0x18004f722 jmp short loc_18004F729 ; +0x25, 0x18004f725 xor ebx, ebx ; +0x27, 0x18004f727 test rbx, rbx ; +0x29, 0x18004f729 jz short loc_18004F757 ; +0x2c, 0x18004f72c mov rax, [rbx] ; +0x2e, 0x18004f72e mov rcx, rbx ; +0x31, 0x18004f731 call qword ptr [rax+48h] ; +0x34, 0x18004f734 mov rcx, rbx; this ; +0x37, 0x18004f737 test al, al ; +0x3a, 0x18004f73a jz short loc_18004F74C ; +0x3c, 0x18004f73c call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x3e, 0x18004f73e mov rax, rbx ; +0x43, 0x18004f743 add rsp, 20h ; +0x46, 0x18004f746 pop rbx ; +0x4a, 0x18004f74a retn ; +0x4b, 0x18004f74b mov rax, [rbx] ; +0x4c, 0x18004f74c mov edx, 1 ; +0x4f, 0x18004f74f call qword ptr [rax+8] ; +0x54, 0x18004f754 xor eax, eax ; +0x57, 0x18004f757 add rsp, 20h ; +0x59, 0x18004f759 pop rbx ; +0x5d, 0x18004f75d retn ; +0x5e, 0x18004f75e