{"type": "func", "start": 6443049584, "end": 6443049652, "name": "cocos2d::CCSpriteBatchNode::setTexture", "pseudocode": "// \n// cocos2d::CCSpriteBatchNode::setTexture from 0x180092270 to 0x1800922b4 (68 bytes)\n// \n// 5 xrefs:\n// > <???> @ 0x1800f2760\n// > <???> @ 0x18010a6e0\n// > <???> @ 0x18010c490\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c03c0\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:22:08 +0000\n// \n\nvoid __fastcall cocos2d::CCSpriteBatchNode::setTexture(\n        cocos2d::CCSpriteBatchNode *this,\n        struct cocos2d::CCTexture2D *a2)\n{\n  cocos2d::CCCamera *v3; // rax\n  char isDirty; // al\n  int v5; // ecx\n\n  (*(void (__fastcall **)(_QWORD, struct cocos2d::CCTexture2D *))(**((_QWORD **)this + 1) + 96LL))(\n    *((_QWORD *)this + 1),\n    a2);\n  v3 = (cocos2d::CCCamera *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 1) + 88LL))(*((_QWORD *)this + 1));\n  isDirty = cocos2d::CCCamera::isDirty(v3);\n  v5 = 770;\n  if ( isDirty )\n    v5 = 1;\n  *((_DWORD *)this + 4) = v5;\n  *((_DWORD *)this + 5) = 771;\n}", "assembly": "; \n; cocos2d::CCSpriteBatchNode::setTexture from 0x180092270 to 0x1800922b4 (68 bytes)\n; \n; 5 xrefs:\n; > <???> @ 0x1800f2760\n; > <???> @ 0x18010a6e0\n; > <???> @ 0x18010c490\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c03c0\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:22:08 +0000\n; \npush    rbx                                                            ; +0x0, 0x180092270\nsub     rsp, 20h                                                       ; +0x2, 0x180092272\nmov     rbx, rcx                                                       ; +0x6, 0x180092276\nmov     rcx, [rcx+8]                                                   ; +0x9, 0x180092279\nmov     rax, [rcx]                                                     ; +0xd, 0x18009227d\ncall    qword ptr [rax+60h]                                            ; +0x10, 0x180092280\nmov     rcx, [rbx+8]                                                   ; +0x13, 0x180092283\nmov     rax, [rcx]                                                     ; +0x17, 0x180092287\ncall    qword ptr [rax+58h]                                            ; +0x1a, 0x18009228a\nmov     rcx, rax; this                                                 ; +0x1d, 0x18009228d\ncall    ?isDirty@CCCamera@cocos2d@@QEAA_NXZ; cocos2d::CCCamera::isDirty(void) ; +0x20, 0x180092290\ntest    al, al                                                         ; +0x25, 0x180092295\nmov     ecx, 302h                                                      ; +0x27, 0x180092297\nmov     edx, 1                                                         ; +0x2c, 0x18009229c\ncmovnz  ecx, edx                                                       ; +0x31, 0x1800922a1\nmov     [rbx+10h], ecx                                                 ; +0x34, 0x1800922a4\nmov     dword ptr [rbx+14h], 303h                                      ; +0x37, 0x1800922a7\nadd     rsp, 20h                                                       ; +0x3e, 0x1800922ae\npop     rbx                                                            ; +0x42, 0x1800922b2\nretn                                                                   ; +0x43, 0x1800922b3", "xrefs": ["<???> @ 0x1800f2760", "<???> @ 0x18010a6e0", "<???> @ 0x18010c490", "<???> @ 0x18014cf68", "<???> @ 0x1801c03c0"], "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"}