{"type": "func", "start": 6442827072, "end": 6442827136, "name": "cocos2d::CCTMXLayer::setTileSet", "pseudocode": "// \n// cocos2d::CCTMXLayer::setTileSet from 0x18005bd40 to 0x18005bd80 (64 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1800f8fe0\n// > <???> @ 0x180105d58\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b2f88\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\n// Alternative name is '?setSubItems@CCMenuItemToggle@cocos2d@@UEAAXPEAVCCArray@2@@Z'\nvoid __fastcall cocos2d::CCTMXLayer::setTileSet(cocos2d::CCTMXLayer *this, struct cocos2d::CCTMXTilesetInfo *a2)\n{\n  cocos2d::CCObject *v4; // rcx\n\n  if ( a2 )\n    cocos2d::CCObject::retain(a2);\n  v4 = *((cocos2d::CCObject **)this + 48);\n  if ( v4 )\n    cocos2d::CCObject::release(v4);\n  *((_QWORD *)this + 48) = a2;\n}", "assembly": "; \n; cocos2d::CCTMXLayer::setTileSet from 0x18005bd40 to 0x18005bd80 (64 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1800f8fe0\n; > <???> @ 0x180105d58\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b2f88\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, 0x18005bd40\npush    rdi                                                            ; +0x5, 0x18005bd45\nsub     rsp, 20h                                                       ; +0x6, 0x18005bd46\nmov     rbx, rdx                                                       ; +0xa, 0x18005bd4a\nmov     rdi, rcx                                                       ; +0xd, 0x18005bd4d\ntest    rdx, rdx                                                       ; +0x10, 0x18005bd50\njz      short loc_18005BD5D                                            ; +0x13, 0x18005bd53\nmov     rcx, rdx; this                                                 ; +0x15, 0x18005bd55\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x18, 0x18005bd58\nmov     rcx, [rdi+180h]; this                                          ; +0x1d, 0x18005bd5d\ntest    rcx, rcx                                                       ; +0x24, 0x18005bd64\njz      short loc_18005BD6E                                            ; +0x27, 0x18005bd67\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x29, 0x18005bd69\nmov     [rdi+180h], rbx                                                ; +0x2e, 0x18005bd6e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x35, 0x18005bd75\nadd     rsp, 20h                                                       ; +0x3a, 0x18005bd7a\npop     rdi                                                            ; +0x3e, 0x18005bd7e\nretn                                                                   ; +0x3f, 0x18005bd7f", "xrefs": ["<???> @ 0x1800f8fe0", "<???> @ 0x180105d58", "<???> @ 0x1801438a8", "<???> @ 0x1801b2f88"], "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"}