{"type": "func", "start": 6443312336, "end": 6443312409, "name": "cocos2d::CCSpriteBatchNode::setTextureAtlas", "pseudocode": "// \n// cocos2d::CCSpriteBatchNode::setTextureAtlas from 0x1800d24d0 to 0x1800d2519 (73 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ba494\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::CCSpriteBatchNode::setTextureAtlas(\n        cocos2d::CCSpriteBatchNode *this,\n        struct cocos2d::CCTextureAtlas *a2)\n{\n  cocos2d::CCTextureAtlas *m_pobTextureAtlas; // rcx\n\n  if ( a2 != this->m_pobTextureAtlas )\n  {\n    if ( a2 )\n      cocos2d::CCObject::retain(a2);\n    m_pobTextureAtlas = this->m_pobTextureAtlas;\n    if ( m_pobTextureAtlas )\n      cocos2d::CCObject::release(m_pobTextureAtlas);\n    this->m_pobTextureAtlas = a2;\n  }\n}", "assembly": "; \n; cocos2d::CCSpriteBatchNode::setTextureAtlas from 0x1800d24d0 to 0x1800d2519 (73 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ba494\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, 0x1800d24d0\npush    rdi                                                            ; +0x5, 0x1800d24d5\nsub     rsp, 20h                                                       ; +0x6, 0x1800d24d6\nmov     rbx, rdx                                                       ; +0xa, 0x1800d24da\nmov     rdi, rcx                                                       ; +0xd, 0x1800d24dd\ncmp     rdx, [rcx+148h]                                                ; +0x10, 0x1800d24e0\njz      short loc_1800D250E                                            ; +0x17, 0x1800d24e7\ntest    rdx, rdx                                                       ; +0x19, 0x1800d24e9\njz      short loc_1800D24F6                                            ; +0x1c, 0x1800d24ec\nmov     rcx, rdx; this                                                 ; +0x1e, 0x1800d24ee\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x21, 0x1800d24f1\nmov     rcx, [rdi+148h]; this                                          ; +0x26, 0x1800d24f6\ntest    rcx, rcx                                                       ; +0x2d, 0x1800d24fd\njz      short loc_1800D2507                                            ; +0x30, 0x1800d2500\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x32, 0x1800d2502\nmov     [rdi+148h], rbx                                                ; +0x37, 0x1800d2507\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3e, 0x1800d250e\nadd     rsp, 20h                                                       ; +0x43, 0x1800d2513\npop     rdi                                                            ; +0x47, 0x1800d2517\nretn                                                                   ; +0x48, 0x1800d2518", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801ba494"], "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"}