{"type": "func", "start": 6442458992, "end": 6442459056, "name": "cocos2d::CCAtlasNode::setTextureAtlas", "pseudocode": "// \n// cocos2d::CCAtlasNode::setTextureAtlas from 0x180001f70 to 0x180001fb0 (64 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x1800e5750\n// > <???> @ 0x1800eb750\n// > <???> @ 0x180105900\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ad12c\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::CCAtlasNode::setTextureAtlas(cocos2d::CCAtlasNode *this, struct cocos2d::CCTextureAtlas *a2)\n{\n  cocos2d::CCTextureAtlas *m_pTextureAtlas; // rcx\n\n  if ( a2 )\n    cocos2d::CCObject::retain(a2);\n  m_pTextureAtlas = this->m_pTextureAtlas;\n  if ( m_pTextureAtlas )\n    cocos2d::CCObject::release(m_pTextureAtlas);\n  this->m_pTextureAtlas = a2;\n}", "assembly": "; \n; cocos2d::CCAtlasNode::setTextureAtlas from 0x180001f70 to 0x180001fb0 (64 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x1800e5750\n; > <???> @ 0x1800eb750\n; > <???> @ 0x180105900\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ad12c\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_0], rbx                                               ; +0x0, 0x180001f70\npush    rdi                                                            ; +0x5, 0x180001f75\nsub     rsp, 20h                                                       ; +0x6, 0x180001f76\nmov     rbx, rdx                                                       ; +0xa, 0x180001f7a\nmov     rdi, rcx                                                       ; +0xd, 0x180001f7d\ntest    rdx, rdx                                                       ; +0x10, 0x180001f80\njz      short loc_180001F8D                                            ; +0x13, 0x180001f83\nmov     rcx, rdx; this                                                 ; +0x15, 0x180001f85\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x18, 0x180001f88\nmov     rcx, [rdi+178h]; this                                          ; +0x1d, 0x180001f8d\ntest    rcx, rcx                                                       ; +0x24, 0x180001f94\njz      short loc_180001F9E                                            ; +0x27, 0x180001f97\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x29, 0x180001f99\nmov     [rdi+178h], rbx                                                ; +0x2e, 0x180001f9e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x35, 0x180001fa5\nadd     rsp, 20h                                                       ; +0x3a, 0x180001faa\npop     rdi                                                            ; +0x3e, 0x180001fae\nretn                                                                   ; +0x3f, 0x180001faf", "xrefs": ["<???> @ 0x1800e5750", "<???> @ 0x1800eb750", "<???> @ 0x180105900", "<???> @ 0x1801438a8", "<???> @ 0x1801ad12c"], "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"}