{"type": "func", "start": 6443037664, "end": 6443037754, "name": "cocos2d::CCSprite::setBatchNode", "pseudocode": "// \n// cocos2d::CCSprite::setBatchNode from 0x18008f3e0 to 0x18008f43a (90 bytes)\n// \n// 6 xrefs:\n// > <???> @ 0x1800f1d38\n// > <???> @ 0x1800f2220\n// > <???> @ 0x1800f2dd0\n// > <???> @ 0x18010a210\n// > <???> @ 0x18010d228\n// > <???> @ 0x18014cf68\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:07 +0000\n// \n\nvoid __fastcall cocos2d::CCSprite::setBatchNode(cocos2d::CCSprite *this, struct cocos2d::CCSpriteBatchNode *a2)\n{\n  __int64 v2; // rax\n\n  *((_QWORD *)this + 46) = a2;\n  if ( a2 )\n  {\n    *(_OWORD *)((char *)this + 380) = cocos2d::CCAffineTransformIdentity;\n    *(_QWORD *)((char *)this + 396) = qword_1801ACB50;\n    *((_QWORD *)this + 44) = *((_QWORD *)a2 + 41);\n  }\n  else\n  {\n    v2 = *(_QWORD *)this;\n    *((_DWORD *)this + 90) = -1;\n    *((_QWORD *)this + 44) = 0;\n    *((_BYTE *)this + 377) = 0;\n    (*(void (**)(void))(v2 + 1048))();\n  }\n}", "assembly": "; \n; cocos2d::CCSprite::setBatchNode from 0x18008f3e0 to 0x18008f43a (90 bytes)\n; \n; 6 xrefs:\n; > <???> @ 0x1800f1d38\n; > <???> @ 0x1800f2220\n; > <???> @ 0x1800f2dd0\n; > <???> @ 0x18010a210\n; > <???> @ 0x18010d228\n; > <???> @ 0x18014cf68\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:07 +0000\n; \nmov     [rcx+170h], rdx                                                ; +0x0, 0x18008f3e0\ntest    rdx, rdx                                                       ; +0x7, 0x18008f3e7\njnz     short loc_18008F40D                                            ; +0xa, 0x18008f3ea\nmov     rax, [rcx]                                                     ; +0xc, 0x18008f3ec\nmov     dword ptr [rcx+168h], 0FFFFFFFFh                               ; +0xf, 0x18008f3ef\nmov     [rcx+160h], rdx                                                ; +0x19, 0x18008f3f9\nmov     [rcx+179h], dl                                                 ; +0x20, 0x18008f400\njmp     qword ptr [rax+418h]                                           ; +0x26, 0x18008f406\nmovups  xmm0, cs:?CCAffineTransformIdentity@cocos2d@@3UCCAffineTransform@1@B; cocos2d::CCAffineTransform const cocos2d::CCAffineTransformIdentity ; +0x2d, 0x18008f40d\nmovups  xmmword ptr [rcx+17Ch], xmm0                                   ; +0x34, 0x18008f414\nmovsd   xmm0, cs:qword_1801ACB50                                       ; +0x3b, 0x18008f41b\nmovsd   qword ptr [rcx+18Ch], xmm0                                     ; +0x43, 0x18008f423\nmov     rax, [rdx+148h]                                                ; +0x4b, 0x18008f42b\nmov     [rcx+160h], rax                                                ; +0x52, 0x18008f432\nretn                                                                   ; +0x59, 0x18008f439", "xrefs": ["<???> @ 0x1800f1d38", "<???> @ 0x1800f2220", "<???> @ 0x1800f2dd0", "<???> @ 0x18010a210", "<???> @ 0x18010d228", "<???> @ 0x18014cf68"], "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"}