{"type": "func", "start": 6442888320, "end": 6442888416, "name": "cocos2d::CCParticleSystemQuad::setTexture", "pseudocode": "// \n// cocos2d::CCParticleSystemQuad::setTexture from 0x18006ac80 to 0x18006ace0 (96 bytes)\n// \n// 14 xrefs:\n// > <???> @ 0x1800fad60\n// > <???> @ 0x1800fb3d0\n// > <???> @ 0x1800fba40\n// > <???> @ 0x1800fc0b0\n// > <???> @ 0x1800fc720\n// > <???> @ 0x1800fcd90\n// > <???> @ 0x1800fd400\n// > <???> @ 0x1800fda70\n// > <???> @ 0x1800fe0e0\n// > <???> @ 0x1800fe750\n// > <???> @ 0x1800fedc0\n// > <???> @ 0x1801000a0\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b3d50\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCParticleSystemQuad::setTexture(\n        cocos2d::CCParticleSystemQuad *this,\n        struct cocos2d::CCTexture2D *a2)\n{\n  cocos2d::CCRect *v4; // rax\n  cocos2d::CCRect v5; // [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 *))a2->getContentSize)(a2, &v6);\n  v4 = cocos2d::CCRect::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 0x18006ac80 to 0x18006ace0 (96 bytes)\n; \n; 14 xrefs:\n; > <???> @ 0x1800fad60\n; > <???> @ 0x1800fb3d0\n; > <???> @ 0x1800fba40\n; > <???> @ 0x1800fc0b0\n; > <???> @ 0x1800fc720\n; > <???> @ 0x1800fcd90\n; > <???> @ 0x1800fd400\n; > <???> @ 0x1800fda70\n; > <???> @ 0x1800fe0e0\n; > <???> @ 0x1800fe750\n; > <???> @ 0x1800fedc0\n; > <???> @ 0x1801000a0\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b3d50\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x18006ac80\npush    rdi                                                            ; +0x5, 0x18006ac85\nsub     rsp, 40h                                                       ; +0x6, 0x18006ac86\nmov     rax, [rdx]                                                     ; +0xa, 0x18006ac8a\nmov     rdi, rdx                                                       ; +0xd, 0x18006ac8d\nmov     rbx, rcx                                                       ; +0x10, 0x18006ac90\nlea     rdx, [rsp+48h+arg_0]                                           ; +0x13, 0x18006ac93\nmov     rcx, rdi                                                       ; +0x18, 0x18006ac98\ncall    qword ptr [rax+88h]                                            ; +0x1b, 0x18006ac9b\nmovss   xmm0, [rsp+48h+arg_4]                                          ; +0x21, 0x18006aca1\nlea     rcx, [rsp+48h+var_18]; this                                    ; +0x27, 0x18006aca7\nmovss   xmm3, [rsp+48h+arg_0]; float                                   ; +0x2c, 0x18006acac\nxorps   xmm2, xmm2; float                                              ; +0x32, 0x18006acb2\nxorps   xmm1, xmm1; float                                              ; +0x35, 0x18006acb5\nmovss   [rsp+48h+var_28], xmm0; float                                  ; +0x38, 0x18006acb8\ncall    ??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x3e, 0x18006acbe\nmov     r8, rax; struct cocos2d::CCRect *                              ; +0x43, 0x18006acc3\nlea     rcx, [rbx-140h]; this                                          ; +0x46, 0x18006acc6\nmov     rdx, rdi; struct cocos2d::CCTexture2D *                        ; +0x4d, 0x18006accd\ncall    ?setTextureWithRect@CCParticleSystemQuad@cocos2d@@QEAAXPEAVCCTexture2D@2@AEBVCCRect@2@@Z; cocos2d::CCParticleSystemQuad::setTextureWithRect(cocos2d::CCTexture2D *,cocos2d::CCRect const &) ; +0x50, 0x18006acd0\nmov     rbx, [rsp+48h+arg_8]                                           ; +0x55, 0x18006acd5\nadd     rsp, 40h                                                       ; +0x5a, 0x18006acda\npop     rdi                                                            ; +0x5e, 0x18006acde\nretn                                                                   ; +0x5f, 0x18006acdf", "xrefs": ["<???> @ 0x1800fad60", "<???> @ 0x1800fb3d0", "<???> @ 0x1800fba40", "<???> @ 0x1800fc0b0", "<???> @ 0x1800fc720", "<???> @ 0x1800fcd90", "<???> @ 0x1800fd400", "<???> @ 0x1800fda70", "<???> @ 0x1800fe0e0", "<???> @ 0x1800fe750", "<???> @ 0x1800fedc0", "<???> @ 0x1801000a0", "<???> @ 0x1801438a8", "<???> @ 0x1801b3d50"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}