{"type": "func", "start": 6443149840, "end": 6443149898, "name": "cocos2d::CCTextureAtlas::setTexture", "pseudocode": "// \n// cocos2d::CCTextureAtlas::setTexture from 0x1800aaa10 to 0x1800aaa4a (58 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x18010b5d0\n// > <???> @ 0x18010c9d8\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c2064\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:17 +0000\n// \n\n// Alternative name is '?setLayers@CCTMXMapInfo@cocos2d@@UEAAXPEAVCCArray@2@@Z'\nvoid __fastcall cocos2d::CCTextureAtlas::setTexture(cocos2d::CCTextureAtlas *this, struct cocos2d::CCTexture2D *a2)\n{\n  cocos2d::CCObject *v4; // rcx\n\n  if ( a2 )\n    cocos2d::CCObject::retain(a2);\n  v4 = *((cocos2d::CCObject **)this + 11);\n  if ( v4 )\n    cocos2d::CCObject::release(v4);\n  *((_QWORD *)this + 11) = a2;\n}", "assembly": "; \n; cocos2d::CCTextureAtlas::setTexture from 0x1800aaa10 to 0x1800aaa4a (58 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x18010b5d0\n; > <???> @ 0x18010c9d8\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c2064\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:17 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800aaa10\npush    rdi                                                            ; +0x5, 0x1800aaa15\nsub     rsp, 20h                                                       ; +0x6, 0x1800aaa16\nmov     rbx, rdx                                                       ; +0xa, 0x1800aaa1a\nmov     rdi, rcx                                                       ; +0xd, 0x1800aaa1d\ntest    rdx, rdx                                                       ; +0x10, 0x1800aaa20\njz      short loc_1800AAA2D                                            ; +0x13, 0x1800aaa23\nmov     rcx, rdx; this                                                 ; +0x15, 0x1800aaa25\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x18, 0x1800aaa28\nmov     rcx, [rdi+58h]; this                                           ; +0x1d, 0x1800aaa2d\ntest    rcx, rcx                                                       ; +0x21, 0x1800aaa31\njz      short loc_1800AAA3B                                            ; +0x24, 0x1800aaa34\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x26, 0x1800aaa36\nmov     [rdi+58h], rbx                                                 ; +0x2b, 0x1800aaa3b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x2f, 0x1800aaa3f\nadd     rsp, 20h                                                       ; +0x34, 0x1800aaa44\npop     rdi                                                            ; +0x38, 0x1800aaa48\nretn                                                                   ; +0x39, 0x1800aaa49", "xrefs": ["<???> @ 0x18010b5d0", "<???> @ 0x18010c9d8", "<???> @ 0x18014cf68", "<???> @ 0x1801c2064"], "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"}