{"type": "func", "start": 6443026000, "end": 6443026114, "name": "cocos2d::CCSprite::setPosition", "pseudocode": "// \n// cocos2d::CCSprite::setPosition from 0x18008c650 to 0x18008c6c2 (114 bytes)\n// \n// 7 xrefs:\n// > <???> @ 0x1800eb938\n// > <???> @ 0x1800ebe10\n// > <???> @ 0x1800ec990\n// > <???> @ 0x180103848\n// > <???> @ 0x180106840\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b5d9c\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::CCSprite::setPosition(cocos2d::CCSprite *this, const struct cocos2d::CCPoint *a2)\n{\n  __int64 v3; // rdx\n  cocos2d::CCSprite_vtbl *v4; // rax\n  __int64 v5; // rdx\n\n  if ( this->m_obPosition.x != a2->x || this->m_obPosition.y != a2->y )\n  {\n    cocos2d::CCNode::setPosition(this, a2);\n    if ( this->m_pobBatchNode && !this->m_bRecursiveDirty )\n    {\n      v4 = this->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n      LOBYTE(v3) = 1;\n      this->m_bRecursiveDirty = 1;\n      ((void (__fastcall *)(cocos2d::CCSprite *, __int64))v4->setDirty)(this, v3);\n      if ( this->m_bHasChildren )\n      {\n        LOBYTE(v5) = 1;\n        ((void (__fastcall *)(cocos2d::CCSprite *, __int64))this->setDirtyRecursively)(this, v5);\n      }\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCSprite::setPosition from 0x18008c650 to 0x18008c6c2 (114 bytes)\n; \n; 7 xrefs:\n; > <???> @ 0x1800eb938\n; > <???> @ 0x1800ebe10\n; > <???> @ 0x1800ec990\n; > <???> @ 0x180103848\n; > <???> @ 0x180106840\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b5d9c\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, 0x18008c650\nsub     rsp, 20h                                                       ; +0x2, 0x18008c652\nmovss   xmm0, dword ptr [rcx+4Ch]                                      ; +0x6, 0x18008c656\nmov     rbx, rcx                                                       ; +0xb, 0x18008c65b\nucomiss xmm0, dword ptr [rdx]                                          ; +0xe, 0x18008c65e\njp      short loc_18008C672                                            ; +0x11, 0x18008c661\njnz     short loc_18008C672                                            ; +0x13, 0x18008c663\nmovss   xmm0, dword ptr [rcx+50h]                                      ; +0x15, 0x18008c665\nucomiss xmm0, dword ptr [rdx+4]                                        ; +0x1a, 0x18008c66a\njp      short loc_18008C672                                            ; +0x1e, 0x18008c66e\njz      short loc_18008C6BC                                            ; +0x20, 0x18008c670\ncall    ?setPosition@CCNode@cocos2d@@UEAAXAEBVCCPoint@2@@Z; cocos2d::CCNode::setPosition(cocos2d::CCPoint const &) ; +0x22, 0x18008c672\ncmp     qword ptr [rbx+170h], 0                                        ; +0x27, 0x18008c677\njz      short loc_18008C6BC                                            ; +0x2f, 0x18008c67f\ncmp     byte ptr [rbx+179h], 0                                         ; +0x31, 0x18008c681\njnz     short loc_18008C6BC                                            ; +0x38, 0x18008c688\nmov     rax, [rbx]                                                     ; +0x3a, 0x18008c68a\nmov     dl, 1                                                          ; +0x3d, 0x18008c68d\nmov     rcx, rbx                                                       ; +0x3f, 0x18008c68f\nmov     byte ptr [rbx+179h], 1                                         ; +0x42, 0x18008c692\ncall    qword ptr [rax+408h]                                           ; +0x49, 0x18008c699\ncmp     byte ptr [rbx+17Ah], 0                                         ; +0x4f, 0x18008c69f\njz      short loc_18008C6BC                                            ; +0x56, 0x18008c6a6\nmov     rax, [rbx]                                                     ; +0x58, 0x18008c6a8\nmov     dl, 1                                                          ; +0x5b, 0x18008c6ab\nmov     rcx, rbx                                                       ; +0x5d, 0x18008c6ad\nadd     rsp, 20h                                                       ; +0x60, 0x18008c6b0\npop     rbx                                                            ; +0x64, 0x18008c6b4\njmp     qword ptr [rax+428h]                                           ; +0x65, 0x18008c6b5\nadd     rsp, 20h                                                       ; +0x6c, 0x18008c6bc\npop     rbx                                                            ; +0x70, 0x18008c6c0\nretn                                                                   ; +0x71, 0x18008c6c1", "xrefs": ["<???> @ 0x1800eb938", "<???> @ 0x1800ebe10", "<???> @ 0x1800ec990", "<???> @ 0x180103848", "<???> @ 0x180106840", "<???> @ 0x1801438a8", "<???> @ 0x1801b5d9c"], "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"}