{"type": "func", "start": 6442896960, "end": 6442897056, "name": "cocos2d::CCParticleSystemQuad::setTexture", "pseudocode": "// \n// cocos2d::CCParticleSystemQuad::setTexture from 0x18006ce40 to 0x18006cea0 (96 bytes)\n// \n// 14 xrefs:\n// > <???> @ 0x1801012a0\n// > <???> @ 0x180101920\n// > <???> @ 0x180101fa0\n// > <???> @ 0x180102620\n// > <???> @ 0x180102ca0\n// > <???> @ 0x180103320\n// > <???> @ 0x1801039a0\n// > <???> @ 0x180104020\n// > <???> @ 0x1801046a0\n// > <???> @ 0x180104d20\n// > <???> @ 0x1801053a0\n// > <???> @ 0x1801066f0\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801be098\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:55 +0000\n// \n\nvoid __fastcall cocos2d::CCParticleSystemQuad::setTexture(\n        cocos2d::CCParticleSystemQuad *this,\n        struct cocos2d::CCTexture2D *a2)\n{\n  cocos2d::CCRect *v4; // rax\n  _BYTE v5[24]; // [rsp+30h] [rbp-18h] BYREF\n  float v6; // [rsp+50h] [rbp+8h] BYREF\n  float v7; // [rsp+54h] [rbp+Ch]\n\n  (*(void (__fastcall **)(struct cocos2d::CCTexture2D *, float *))(*(_QWORD *)a2 + 136LL))(a2, &v6);\n  v4 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v5, 0.0, 0.0, v6, v7);\n  cocos2d::CCParticleSystemQuad::setTextureWithRect((cocos2d::CCParticleSystemQuad *)((char *)this - 320), a2, v4);\n}", "assembly": "; \n; cocos2d::CCParticleSystemQuad::setTexture from 0x18006ce40 to 0x18006cea0 (96 bytes)\n; \n; 14 xrefs:\n; > <???> @ 0x1801012a0\n; > <???> @ 0x180101920\n; > <???> @ 0x180101fa0\n; > <???> @ 0x180102620\n; > <???> @ 0x180102ca0\n; > <???> @ 0x180103320\n; > <???> @ 0x1801039a0\n; > <???> @ 0x180104020\n; > <???> @ 0x1801046a0\n; > <???> @ 0x180104d20\n; > <???> @ 0x1801053a0\n; > <???> @ 0x1801066f0\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801be098\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:55 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x18006ce40\npush    rdi                                                            ; +0x5, 0x18006ce45\nsub     rsp, 40h                                                       ; +0x6, 0x18006ce46\nmov     rax, [rdx]                                                     ; +0xa, 0x18006ce4a\nmov     rdi, rdx                                                       ; +0xd, 0x18006ce4d\nmov     rbx, rcx                                                       ; +0x10, 0x18006ce50\nlea     rdx, [rsp+48h+arg_0]                                           ; +0x13, 0x18006ce53\nmov     rcx, rdi                                                       ; +0x18, 0x18006ce58\ncall    qword ptr [rax+88h]                                            ; +0x1b, 0x18006ce5b\nmovss   xmm0, [rsp+48h+arg_4]                                          ; +0x21, 0x18006ce61\nlea     rcx, [rsp+48h+var_18]; this                                    ; +0x27, 0x18006ce67\nmovss   xmm3, [rsp+48h+arg_0]; float                                   ; +0x2c, 0x18006ce6c\nxorps   xmm2, xmm2; float                                              ; +0x32, 0x18006ce72\nxorps   xmm1, xmm1; float                                              ; +0x35, 0x18006ce75\nmovss   [rsp+48h+var_28], xmm0; float                                  ; +0x38, 0x18006ce78\ncall    ??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x3e, 0x18006ce7e\nmov     r8, rax; struct cocos2d::CCRect *                              ; +0x43, 0x18006ce83\nlea     rcx, [rbx-140h]; this                                          ; +0x46, 0x18006ce86\nmov     rdx, rdi; struct cocos2d::CCTexture2D *                        ; +0x4d, 0x18006ce8d\ncall    ?setTextureWithRect@CCParticleSystemQuad@cocos2d@@QEAAXPEAVCCTexture2D@2@AEBVCCRect@2@@Z; cocos2d::CCParticleSystemQuad::setTextureWithRect(cocos2d::CCTexture2D *,cocos2d::CCRect const &) ; +0x50, 0x18006ce90\nmov     rbx, [rsp+48h+arg_8]                                           ; +0x55, 0x18006ce95\nadd     rsp, 40h                                                       ; +0x5a, 0x18006ce9a\npop     rdi                                                            ; +0x5e, 0x18006ce9e\nretn                                                                   ; +0x5f, 0x18006ce9f", "xrefs": ["<???> @ 0x1801012a0", "<???> @ 0x180101920", "<???> @ 0x180101fa0", "<???> @ 0x180102620", "<???> @ 0x180102ca0", "<???> @ 0x180103320", "<???> @ 0x1801039a0", "<???> @ 0x180104020", "<???> @ 0x1801046a0", "<???> @ 0x180104d20", "<???> @ 0x1801053a0", "<???> @ 0x1801066f0", "<???> @ 0x18014cf68", "<???> @ 0x1801be098"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}