{"type": "func", "start": 6442458896, "end": 6442458978, "name": "cocos2d::CCAtlasNode::setTexture", "pseudocode": "// \n// cocos2d::CCAtlasNode::setTexture from 0x180001f10 to 0x180001f62 (82 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x1800e5808\n// > <???> @ 0x1800eb808\n// > <???> @ 0x1801059c8\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ad120\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::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->m_uIndexInArray + 96LL))(\n    *(_QWORD *)&this->m_uIndexInArray,\n    a2);\n  v3 = (cocos2d::CCCamera *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)&this->m_uIndexInArray + 88LL))(*(_QWORD *)&this->m_uIndexInArray);\n  if ( !cocos2d::CCCamera::isDirty(v3) )\n  {\n    this->m_nZOrder = 770;\n    this->m_uOrderOfArrival = 771;\n  }\n  v4 = (cocos2d::CCCamera *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)&this->m_uIndexInArray + 88LL))(*(_QWORD *)&this->m_uIndexInArray);\n  LOBYTE(this->m_unknown2) = cocos2d::CCCamera::isDirty(v4);\n}", "assembly": "; \n; cocos2d::CCAtlasNode::setTexture from 0x180001f10 to 0x180001f62 (82 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x1800e5808\n; > <???> @ 0x1800eb808\n; > <???> @ 0x1801059c8\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ad120\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\npush    rbx                                                            ; +0x0, 0x180001f10\nsub     rsp, 20h                                                       ; +0x2, 0x180001f12\nmov     rbx, rcx                                                       ; +0x6, 0x180001f16\nmov     rcx, [rcx+20h]                                                 ; +0x9, 0x180001f19\nmov     rax, [rcx]                                                     ; +0xd, 0x180001f1d\ncall    qword ptr [rax+60h]                                            ; +0x10, 0x180001f20\nmov     rcx, [rbx+20h]                                                 ; +0x13, 0x180001f23\nmov     rax, [rcx]                                                     ; +0x17, 0x180001f27\ncall    qword ptr [rax+58h]                                            ; +0x1a, 0x180001f2a\nmov     rcx, rax; this                                                 ; +0x1d, 0x180001f2d\ncall    ?isDirty@CCCamera@cocos2d@@QEAA_NXZ; cocos2d::CCCamera::isDirty(void) ; +0x20, 0x180001f30\ntest    al, al                                                         ; +0x25, 0x180001f35\njnz     short loc_180001F47                                            ; +0x27, 0x180001f37\nmov     dword ptr [rbx+2Ch], 302h                                      ; +0x29, 0x180001f39\nmov     dword ptr [rbx+30h], 303h                                      ; +0x30, 0x180001f40\nmov     rcx, [rbx+20h]                                                 ; +0x37, 0x180001f47\nmov     rax, [rcx]                                                     ; +0x3b, 0x180001f4b\ncall    qword ptr [rax+58h]                                            ; +0x3e, 0x180001f4e\nmov     rcx, rax; this                                                 ; +0x41, 0x180001f51\ncall    ?isDirty@CCCamera@cocos2d@@QEAA_NXZ; cocos2d::CCCamera::isDirty(void) ; +0x44, 0x180001f54\nmov     [rbx+28h], al                                                  ; +0x49, 0x180001f59\nadd     rsp, 20h                                                       ; +0x4c, 0x180001f5c\npop     rbx                                                            ; +0x50, 0x180001f60\nretn                                                                   ; +0x51, 0x180001f61", "xrefs": ["<???> @ 0x1800e5808", "<???> @ 0x1800eb808", "<???> @ 0x1801059c8", "<???> @ 0x1801438a8", "<???> @ 0x1801ad120"], "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"}