; ; cocos2d::CCDrawNode::create from 0x1800121e0 to 0x180012245 (101 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801b8434 ; ; 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 11:21:22 +0000 ; push rbx ; +0x0, 0x1800121e0 sub rsp, 20h ; +0x2, 0x1800121e2 mov ecx, 1A0h; Size ; +0x6, 0x1800121e6 call sub_1800E4AC0 ; +0xb, 0x1800121eb mov [rsp+28h+arg_0], rax ; +0x10, 0x1800121f0 test rax, rax ; +0x15, 0x1800121f5 jz short loc_180012207 ; +0x18, 0x1800121f8 mov rcx, rax; this ; +0x1a, 0x1800121fa call ??0CCDrawNode@cocos2d@@QEAA@XZ; cocos2d::CCDrawNode::CCDrawNode(void) ; +0x1d, 0x1800121fd mov rbx, rax ; +0x22, 0x180012202 jmp short loc_180012209 ; +0x25, 0x180012205 xor ebx, ebx ; +0x27, 0x180012207 test rbx, rbx ; +0x29, 0x180012209 jz short loc_18001223C ; +0x2c, 0x18001220c mov rcx, [rbx] ; +0x2e, 0x18001220e mov rdx, [rcx+48h] ; +0x31, 0x180012211 mov rcx, rbx ; +0x35, 0x180012215 call rdx ; +0x38, 0x180012218 mov rcx, rbx; this ; +0x3a, 0x18001221a test al, al ; +0x3d, 0x18001221d jz short loc_18001222F ; +0x3f, 0x18001221f call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x41, 0x180012221 mov rax, rbx ; +0x46, 0x180012226 add rsp, 20h ; +0x49, 0x180012229 pop rbx ; +0x4d, 0x18001222d retn ; +0x4e, 0x18001222e mov rax, [rbx] ; +0x4f, 0x18001222f mov edx, 1 ; +0x52, 0x180012232 call qword ptr [rax+8] ; +0x57, 0x180012237 xor ebx, ebx ; +0x5a, 0x18001223a mov rax, rbx ; +0x5c, 0x18001223c add rsp, 20h ; +0x5f, 0x18001223f pop rbx ; +0x63, 0x180012243 retn ; +0x64, 0x180012244