{"type": "func", "start": 6442458832, "end": 6442458914, "name": "cocos2d::CCAtlasNode::setTexture", "pseudocode": "// \n// cocos2d::CCAtlasNode::setTexture from 0x180001ed0 to 0x180001f22 (82 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x1800eb848\n// > <???> @ 0x1800f18b8\n// > <???> @ 0x18010c0b8\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b712c\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:21:15 +0000\n// \n\nvoid __fastcall cocos2d::CCAtlasNode::setTexture(cocos2d::CCAtlasNode *this, struct cocos2d::CCTexture2D *a2)\n{\n  cocos2d::CCCamera *v3; // rax\n  cocos2d::CCCamera *v4; // rax\n\n  (*(void (__fastcall **)(_QWORD, struct cocos2d::CCTexture2D *))(**((_QWORD **)this + 4) + 96LL))(\n    *((_QWORD *)this + 4),\n    a2);\n  v3 = (cocos2d::CCCamera *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 4) + 88LL))(*((_QWORD *)this + 4));\n  if ( !cocos2d::CCCamera::isDirty(v3) )\n  {\n    *((_DWORD *)this + 11) = 770;\n    *((_DWORD *)this + 12) = 771;\n  }\n  v4 = (cocos2d::CCCamera *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 4) + 88LL))(*((_QWORD *)this + 4));\n  *((_BYTE *)this + 40) = cocos2d::CCCamera::isDirty(v4);\n}", "assembly": "; \n; cocos2d::CCAtlasNode::setTexture from 0x180001ed0 to 0x180001f22 (82 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x1800eb848\n; > <???> @ 0x1800f18b8\n; > <???> @ 0x18010c0b8\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b712c\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:21:15 +0000\n; \npush    rbx                                                            ; +0x0, 0x180001ed0\nsub     rsp, 20h                                                       ; +0x2, 0x180001ed2\nmov     rbx, rcx                                                       ; +0x6, 0x180001ed6\nmov     rcx, [rcx+20h]                                                 ; +0x9, 0x180001ed9\nmov     rax, [rcx]                                                     ; +0xd, 0x180001edd\ncall    qword ptr [rax+60h]                                            ; +0x10, 0x180001ee0\nmov     rcx, [rbx+20h]                                                 ; +0x13, 0x180001ee3\nmov     rax, [rcx]                                                     ; +0x17, 0x180001ee7\ncall    qword ptr [rax+58h]                                            ; +0x1a, 0x180001eea\nmov     rcx, rax; this                                                 ; +0x1d, 0x180001eed\ncall    ?isDirty@CCCamera@cocos2d@@QEAA_NXZ; cocos2d::CCCamera::isDirty(void) ; +0x20, 0x180001ef0\ntest    al, al                                                         ; +0x25, 0x180001ef5\njnz     short loc_180001F07                                            ; +0x27, 0x180001ef7\nmov     dword ptr [rbx+2Ch], 302h                                      ; +0x29, 0x180001ef9\nmov     dword ptr [rbx+30h], 303h                                      ; +0x30, 0x180001f00\nmov     rcx, [rbx+20h]                                                 ; +0x37, 0x180001f07\nmov     rax, [rcx]                                                     ; +0x3b, 0x180001f0b\ncall    qword ptr [rax+58h]                                            ; +0x3e, 0x180001f0e\nmov     rcx, rax; this                                                 ; +0x41, 0x180001f11\ncall    ?isDirty@CCCamera@cocos2d@@QEAA_NXZ; cocos2d::CCCamera::isDirty(void) ; +0x44, 0x180001f14\nmov     [rbx+28h], al                                                  ; +0x49, 0x180001f19\nadd     rsp, 20h                                                       ; +0x4c, 0x180001f1c\npop     rbx                                                            ; +0x50, 0x180001f20\nretn                                                                   ; +0x51, 0x180001f21", "xrefs": ["<???> @ 0x1800eb848", "<???> @ 0x1800f18b8", "<???> @ 0x18010c0b8", "<???> @ 0x18014cf68", "<???> @ 0x1801b712c"], "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"}