{"type": "func", "start": 6443054656, "end": 6443054725, "name": "cocos2d::CCSpriteFrame::setTexture", "pseudocode": "// \n// cocos2d::CCSpriteFrame::setTexture from 0x180093640 to 0x180093685 (69 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c0570\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:22:09 +0000\n// \n\nvoid __fastcall cocos2d::CCSpriteFrame::setTexture(cocos2d::CCSpriteFrame *this, struct cocos2d::CCTexture2D *a2)\n{\n  cocos2d::CCObject *v4; // rcx\n\n  v4 = *((cocos2d::CCObject **)this + 16);\n  if ( v4 != a2 )\n  {\n    if ( v4 )\n      cocos2d::CCObject::release(v4);\n    if ( a2 )\n      cocos2d::CCObject::retain(a2);\n    *((_QWORD *)this + 16) = a2;\n  }\n}", "assembly": "; \n; cocos2d::CCSpriteFrame::setTexture from 0x180093640 to 0x180093685 (69 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c0570\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:22:09 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180093640\npush    rdi                                                            ; +0x5, 0x180093645\nsub     rsp, 20h                                                       ; +0x6, 0x180093646\nmov     rdi, rcx                                                       ; +0xa, 0x18009364a\nmov     rbx, rdx                                                       ; +0xd, 0x18009364d\nmov     rcx, [rcx+80h]; this                                           ; +0x10, 0x180093650\ncmp     rcx, rdx                                                       ; +0x17, 0x180093657\njz      short loc_18009367A                                            ; +0x1a, 0x18009365a\ntest    rcx, rcx                                                       ; +0x1c, 0x18009365c\njz      short loc_180093666                                            ; +0x1f, 0x18009365f\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x21, 0x180093661\ntest    rbx, rbx                                                       ; +0x26, 0x180093666\njz      short loc_180093673                                            ; +0x29, 0x180093669\nmov     rcx, rbx; this                                                 ; +0x2b, 0x18009366b\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x2e, 0x18009366e\nmov     [rdi+80h], rbx                                                 ; +0x33, 0x180093673\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3a, 0x18009367a\nadd     rsp, 20h                                                       ; +0x3f, 0x18009367f\npop     rdi                                                            ; +0x43, 0x180093683\nretn                                                                   ; +0x44, 0x180093684", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c0570"], "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"}