; ; cocos2d::CCParticleBatchNode::createWithTexture from 0x180063800 to 0x1800638d0 (208 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801bd96c ; ; 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:51 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x180063800 mov [rsp+arg_8], rsi ; +0x5, 0x180063805 push rdi ; +0xa, 0x18006380a sub rsp, 20h ; +0xb, 0x18006380b mov edi, edx ; +0xf, 0x18006380f mov rsi, rcx ; +0x11, 0x180063811 mov ecx, 158h; Size ; +0x14, 0x180063814 call sub_1800E4AC0 ; +0x19, 0x180063819 mov rbx, rax ; +0x1e, 0x18006381e mov [rsp+28h+arg_10], rax ; +0x21, 0x180063821 test rax, rax ; +0x26, 0x180063826 jz short loc_180063858 ; +0x29, 0x180063829 mov rcx, rax; this ; +0x2b, 0x18006382b call ??0CCNode@cocos2d@@QEAA@XZ; cocos2d::CCNode::CCNode(void) ; +0x2e, 0x18006382e lea rax, ??_7CCParticleBatchNode@cocos2d@@6BCCNode@1@@; const cocos2d::CCParticleBatchNode::`vftable'{for `cocos2d::CCNode'} ; +0x33, 0x180063833 mov [rbx], rax ; +0x3a, 0x18006383a lea rax, ??_7CCParticleBatchNode@cocos2d@@6BCCTextureProtocol@1@@; const cocos2d::CCParticleBatchNode::`vftable'{for `cocos2d::CCTextureProtocol'} ; +0x3d, 0x18006383d mov [rbx+140h], rax ; +0x44, 0x180063844 mov qword ptr [rbx+148h], 0 ; +0x4b, 0x18006384b jmp short loc_18006385A ; +0x56, 0x180063856 xor ebx, ebx ; +0x58, 0x180063858 test rbx, rbx ; +0x5a, 0x18006385a jz short loc_1800638BE ; +0x5d, 0x18006385d mov r8d, edi; unsigned int ; +0x5f, 0x18006385f mov rdx, rsi; struct cocos2d::CCTexture2D * ; +0x62, 0x180063862 mov rcx, rbx; this ; +0x65, 0x180063865 call ?initWithTexture@CCParticleBatchNode@cocos2d@@QEAA_NPEAVCCTexture2D@2@I@Z; cocos2d::CCParticleBatchNode::initWithTexture(cocos2d::CCTexture2D *,uint) ; +0x68, 0x180063868 mov rcx, rbx; this ; +0x6d, 0x18006386d test al, al ; +0x70, 0x180063870 jz short loc_18006388C ; +0x72, 0x180063872 call ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x74, 0x180063874 mov rax, rbx ; +0x79, 0x180063879 mov rbx, [rsp+28h+arg_0] ; +0x7c, 0x18006387c mov rsi, [rsp+28h+arg_8] ; +0x81, 0x180063881 add rsp, 20h ; +0x86, 0x180063886 pop rdi ; +0x8a, 0x18006388a retn ; +0x8b, 0x18006388b mov rax, [rbx] ; +0x8c, 0x18006388c mov r8, [rax+8] ; +0x8f, 0x18006388f lea rax, sub_180063410 ; +0x93, 0x180063893 mov edx, 1 ; +0x9a, 0x18006389a cmp r8, rax ; +0x9f, 0x18006389f jnz short loc_1800638BB ; +0xa2, 0x1800638a2 call sub_180063410 ; +0xa4, 0x1800638a4 xor eax, eax ; +0xa9, 0x1800638a9 mov rbx, [rsp+28h+arg_0] ; +0xab, 0x1800638ab mov rsi, [rsp+28h+arg_8] ; +0xb0, 0x1800638b0 add rsp, 20h ; +0xb5, 0x1800638b5 pop rdi ; +0xb9, 0x1800638b9 retn ; +0xba, 0x1800638ba call r8 ; +0xbb, 0x1800638bb xor eax, eax ; +0xbe, 0x1800638be mov rbx, [rsp+28h+arg_0] ; +0xc0, 0x1800638c0 mov rsi, [rsp+28h+arg_8] ; +0xc5, 0x1800638c5 add rsp, 20h ; +0xca, 0x1800638ca pop rdi ; +0xce, 0x1800638ce retn ; +0xcf, 0x1800638cf