; ; cocos2d::CCParticleBatchNode::initWithTexture from 0x1800616f0 to 0x1800617c3 (211 bytes) ; ; 5 xrefs: ; > cocos2d::CCParticleBatchNode::create @ 0x18006137b ; > cocos2d::CCParticleBatchNode::createWithTexture @ 0x180061458 ; > cocos2d::CCParticleBatchNode::initWithFile @ 0x1800616e3 ; > @ 0x1801438a8 ; > @ 0x1801b3654 ; ; 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 ; mov [rsp+arg_8], rbx ; +0x0, 0x1800616f0 mov [rsp+arg_10], rbp ; +0x5, 0x1800616f5 mov [rsp+arg_18], rsi ; +0xa, 0x1800616fa push rdi ; +0xf, 0x1800616ff sub rsp, 20h ; +0x10, 0x180061700 mov esi, r8d ; +0x14, 0x180061704 mov rbp, rdx ; +0x17, 0x180061707 mov rdi, rcx ; +0x1a, 0x18006170a mov ecx, 70h ; 'p'; Size ; +0x1d, 0x18006170d call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x22, 0x180061712 mov [rsp+28h+arg_0], rax ; +0x27, 0x180061717 xor ebx, ebx ; +0x2c, 0x18006171c test rax, rax ; +0x2e, 0x18006171e jz short loc_18006172D ; +0x31, 0x180061721 mov rcx, rax; this ; +0x33, 0x180061723 call ??0CCTextureAtlas@cocos2d@@QEAA@XZ; cocos2d::CCTextureAtlas::CCTextureAtlas(void) ; +0x36, 0x180061726 jmp short loc_180061730 ; +0x3b, 0x18006172b mov rax, rbx ; +0x3d, 0x18006172d mov [rdi+148h], rax ; +0x40, 0x180061730 mov r8d, esi; unsigned int ; +0x47, 0x180061737 mov rdx, rbp; struct cocos2d::CCTexture2D * ; +0x4a, 0x18006173a mov rcx, rax; this ; +0x4d, 0x18006173d call ?initWithTexture@CCTextureAtlas@cocos2d@@QEAA_NPEAVCCTexture2D@2@I@Z; cocos2d::CCTextureAtlas::initWithTexture(cocos2d::CCTexture2D *,uint) ; +0x50, 0x180061740 mov ecx, 40h ; '@'; Size ; +0x55, 0x180061745 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x5a, 0x18006174a mov [rsp+28h+arg_0], rax ; +0x5f, 0x18006174f test rax, rax ; +0x64, 0x180061754 jz short loc_180061764 ; +0x67, 0x180061757 mov rcx, rax; this ; +0x69, 0x180061759 call ??0CCArray@cocos2d@@QEAA@XZ; cocos2d::CCArray::CCArray(void) ; +0x6c, 0x18006175c mov rbx, rax ; +0x71, 0x180061761 mov [rdi+0D0h], rbx ; +0x74, 0x180061764 mov edx, esi; unsigned int ; +0x7b, 0x18006176b mov rcx, rbx; this ; +0x7d, 0x18006176d call ?initWithCapacity@CCArray@cocos2d@@QEAA_NI@Z; cocos2d::CCArray::initWithCapacity(uint) ; +0x80, 0x180061770 mov dword ptr [rdi+150h], 1 ; +0x85, 0x180061775 mov dword ptr [rdi+154h], 303h ; +0x8f, 0x18006177f mov rbx, [rdi] ; +0x99, 0x180061789 call ?sharedShaderCache@CCShaderCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCShaderCache::sharedShaderCache(void) ; +0x9c, 0x18006178c mov rcx, rax; this ; +0xa1, 0x180061791 lea rdx, aShaderposition_3; "ShaderPositionTextureColor" ; +0xa4, 0x180061794 call ?programForKey@CCShaderCache@cocos2d@@QEAAPEAVCCGLProgram@2@PEBD@Z; cocos2d::CCShaderCache::programForKey(char const *) ; +0xab, 0x18006179b mov rdx, rax ; +0xb0, 0x1800617a0 mov rcx, rdi ; +0xb3, 0x1800617a3 call qword ptr [rbx+280h] ; +0xb6, 0x1800617a6 mov al, 1 ; +0xbc, 0x1800617ac mov rbx, [rsp+28h+arg_8] ; +0xbe, 0x1800617ae mov rbp, [rsp+28h+arg_10] ; +0xc3, 0x1800617b3 mov rsi, [rsp+28h+arg_18] ; +0xc8, 0x1800617b8 add rsp, 20h ; +0xcd, 0x1800617bd pop rdi ; +0xd1, 0x1800617c1 retn ; +0xd2, 0x1800617c2