{"type": "func", "start": 6442896864, "end": 6442896952, "name": "cocos2d::CCParticleSystemQuad::setDisplayFrame", "pseudocode": "// \n// cocos2d::CCParticleSystemQuad::setDisplayFrame from 0x18006cde0 to 0x18006ce38 (88 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180143448\n// > <???> @ 0x180143458\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801be074\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::setDisplayFrame(\n        cocos2d::CCParticleSystemQuad *this,\n        struct cocos2d::CCSpriteFrame *a2)\n{\n  cocos2d::CCSize *OffsetInPixels; // rax\n  struct cocos2d::CCTexture2D *Texture; // rax\n\n  if ( a2 )\n  {\n    OffsetInPixels = cocos2d::CCSpriteFrame::getOffsetInPixels(a2);\n    cocos2d::CCSize::equals(OffsetInPixels, (const struct cocos2d::CCSize *)&unk_1801B2460);\n    Texture = cocos2d::CCSpriteFrame::getTexture(a2);\n    cocos2d::CCParticleSystemQuad::setTextureWithRect(this, Texture, (struct cocos2d::CCSpriteFrame *)((char *)a2 + 92));\n  }\n}", "assembly": "; \n; cocos2d::CCParticleSystemQuad::setDisplayFrame from 0x18006cde0 to 0x18006ce38 (88 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180143448\n; > <???> @ 0x180143458\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801be074\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; \ntest    rdx, rdx                                                       ; +0x0, 0x18006cde0\njz      short locret_18006CE37                                         ; +0x3, 0x18006cde3\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18006cde5\npush    rdi                                                            ; +0xa, 0x18006cdea\nsub     rsp, 20h                                                       ; +0xb, 0x18006cdeb\nmov     rsi, rcx                                                       ; +0xf, 0x18006cdef\nmov     [rsp+28h+arg_0], rbx                                           ; +0x12, 0x18006cdf2\nmov     rcx, rdx; this                                                 ; +0x17, 0x18006cdf7\nmov     rdi, rdx                                                       ; +0x1a, 0x18006cdfa\ncall    ?getOffsetInPixels@CCSpriteFrame@cocos2d@@QEAAAEBVCCPoint@2@XZ; cocos2d::CCSpriteFrame::getOffsetInPixels(void) ; +0x1d, 0x18006cdfd\nmov     rcx, rax; this                                                 ; +0x22, 0x18006ce02\nlea     rdx, unk_1801B2460; struct cocos2d::CCSize *                   ; +0x25, 0x18006ce05\ncall    ?equals@CCSize@cocos2d@@QEBA_NAEBV12@@Z; cocos2d::CCSize::equals(cocos2d::CCSize const &) ; +0x2c, 0x18006ce0c\nmov     rcx, rdi; this                                                 ; +0x31, 0x18006ce11\ncall    ?getTexture@CCSpriteFrame@cocos2d@@QEAAPEAVCCTexture2D@2@XZ; cocos2d::CCSpriteFrame::getTexture(void) ; +0x34, 0x18006ce14\nmov     rdx, rax; struct cocos2d::CCTexture2D *                        ; +0x39, 0x18006ce19\nlea     r8, [rdi+5Ch]; struct cocos2d::CCRect *                        ; +0x3c, 0x18006ce1c\nmov     rcx, rsi; this                                                 ; +0x40, 0x18006ce20\ncall    ?setTextureWithRect@CCParticleSystemQuad@cocos2d@@QEAAXPEAVCCTexture2D@2@AEBVCCRect@2@@Z; cocos2d::CCParticleSystemQuad::setTextureWithRect(cocos2d::CCTexture2D *,cocos2d::CCRect const &) ; +0x43, 0x18006ce23\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x48, 0x18006ce28\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x4d, 0x18006ce2d\nadd     rsp, 20h                                                       ; +0x52, 0x18006ce32\npop     rdi                                                            ; +0x56, 0x18006ce36\nretn                                                                   ; +0x57, 0x18006ce37", "xrefs": ["<???> @ 0x180143448", "<???> @ 0x180143458", "<???> @ 0x18014cf68", "<???> @ 0x1801be074"], "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"}