{"type": "func", "start": 6442470048, "end": 6442470169, "name": "cocos2d::CCNode::setAnchorPoint", "pseudocode": "// \n// cocos2d::CCNode::setAnchorPoint from 0x180004aa0 to 0x180004b19 (121 bytes)\n// \n// 87 xrefs:\n// > cocos2d::CCLabelBMFont::setAnchorPoint @ 0x18004c406\n// > cocos2d::CCLayer::CCLayer @ 0x18004eaea\n// > cocos2d::CCScene::CCScene @ 0x180051a6f\n// > cocos2d::CCProgressTimer::initWithSprite @ 0x18005de87\n// > cocos2d::CCProgressTimer::setAnchorPoint @ 0x18005dfa0\n// > cocos2d::CCSprite::setAnchorPoint @ 0x18008c199\n// > <???> @ 0x1800e54f0\n// > <???> @ 0x1800e5b50\n// > <???> @ 0x1800e5ec0\n// > <???> @ 0x1800e6820\n// > <???> @ 0x1800e6d28\n// > <???> @ 0x1800eb4f0\n// > <???> @ 0x1800ed000\n// > <???> @ 0x1800ed4c0\n// > <???> @ 0x1800ed9f8\n// > <???> @ 0x1800edf60\n// > <???> @ 0x1800ee538\n// > <???> @ 0x1800ee9f8\n// > <???> @ 0x1800eed80\n// > <???> @ 0x1800ef100\n// > <???> @ 0x1800ef488\n// > <???> @ 0x1800ef808\n// > <???> @ 0x1800efb88\n// > <???> @ 0x1800eff28\n// > <???> @ 0x1800f02c8\n// > <???> @ 0x1800f0668\n// > <???> @ 0x1800f0a08\n// > <???> @ 0x1800f0da8\n// > <???> @ 0x1800f1148\n// > <???> @ 0x1800f14e8\n// > <???> @ 0x1800f1888\n// > <???> @ 0x1800f1c18\n// > <???> @ 0x1800f1fa0\n// > <???> @ 0x1800f2328\n// > <???> @ 0x1800f26b0\n// > <???> @ 0x1800f2a38\n// > <???> @ 0x1800f2dc0\n// > <???> @ 0x1800f3148\n// > <???> @ 0x1800f34d0\n// > <???> @ 0x1800f3850\n// > <???> @ 0x1800f3be0\n// > <???> @ 0x1800f3f78\n// > <???> @ 0x1800f4310\n// > <???> @ 0x1800f46a8\n// > <???> @ 0x1800f4a40\n// > <???> @ 0x1800f4dd8\n// > <???> @ 0x1800f5188\n// > <???> @ 0x1800f5510\n// > <???> @ 0x1800f58a0\n// > <???> @ 0x1800f5c30\n// > <???> @ 0x1800f5fc0\n// > <???> @ 0x1800f6350\n// > <???> @ 0x1800f66e0\n// > <???> @ 0x1800f6a70\n// > <???> @ 0x1800f6e08\n// > <???> @ 0x1800f7370\n// > <???> @ 0x1800f7798\n// > <???> @ 0x1800f7be0\n// > <???> @ 0x1800f8028\n// > <???> @ 0x1800f8470\n// > <???> @ 0x1800f88d0\n// > <???> @ 0x1800f8d30\n// > <???> @ 0x1800f9180\n// > <???> @ 0x1800f9548\n// > <???> @ 0x1800f9960\n// > <???> @ 0x1800f9d70\n// > <???> @ 0x1800fa1a0\n// > <???> @ 0x1800fa810\n// > <???> @ 0x1800fae80\n// > <???> @ 0x1800fb4f0\n// > <???> @ 0x1800fbb60\n// > <???> @ 0x1800fc1d0\n// > <???> @ 0x1800fc840\n// > <???> @ 0x1800fceb0\n// > <???> @ 0x1800fd520\n// > <???> @ 0x1800fdb90\n// > <???> @ 0x1800fe200\n// > <???> @ 0x1800fe870\n// > <???> @ 0x1800ff0b8\n// > <???> @ 0x1800ffb58\n// > <???> @ 0x180103d90\n// > <???> @ 0x1801052c8\n// > <???> @ 0x1801056a0\n// > <???> @ 0x180105af8\n// > <???> @ 0x180105f60\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ad588\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::CCNode::setAnchorPoint(cocos2d::CCNode *this, cocos2d::CCSize *a2)\n{\n  __int64 v4; // rax\n  char v5; // [rsp+30h] [rbp+8h] BYREF\n\n  if ( !cocos2d::CCSize::equals(a2, (const struct cocos2d::CCSize *)&this->m_obAnchorPoint) )\n  {\n    cocos2d::CCSize::operator=(&this->m_obAnchorPoint, a2);\n    v4 = kmVec2Fill(&v5);\n    cocos2d::CCSize::operator=(&this->m_obAnchorPointInPoints, v4);\n    this->m_bInverseDirty = 1;\n    this->m_bTransformDirty = 1;\n  }\n}", "assembly": "; \n; cocos2d::CCNode::setAnchorPoint from 0x180004aa0 to 0x180004b19 (121 bytes)\n; \n; 87 xrefs:\n; > cocos2d::CCLabelBMFont::setAnchorPoint @ 0x18004c406\n; > cocos2d::CCLayer::CCLayer @ 0x18004eaea\n; > cocos2d::CCScene::CCScene @ 0x180051a6f\n; > cocos2d::CCProgressTimer::initWithSprite @ 0x18005de87\n; > cocos2d::CCProgressTimer::setAnchorPoint @ 0x18005dfa0\n; > cocos2d::CCSprite::setAnchorPoint @ 0x18008c199\n; > <???> @ 0x1800e54f0\n; > <???> @ 0x1800e5b50\n; > <???> @ 0x1800e5ec0\n; > <???> @ 0x1800e6820\n; > <???> @ 0x1800e6d28\n; > <???> @ 0x1800eb4f0\n; > <???> @ 0x1800ed000\n; > <???> @ 0x1800ed4c0\n; > <???> @ 0x1800ed9f8\n; > <???> @ 0x1800edf60\n; > <???> @ 0x1800ee538\n; > <???> @ 0x1800ee9f8\n; > <???> @ 0x1800eed80\n; > <???> @ 0x1800ef100\n; > <???> @ 0x1800ef488\n; > <???> @ 0x1800ef808\n; > <???> @ 0x1800efb88\n; > <???> @ 0x1800eff28\n; > <???> @ 0x1800f02c8\n; > <???> @ 0x1800f0668\n; > <???> @ 0x1800f0a08\n; > <???> @ 0x1800f0da8\n; > <???> @ 0x1800f1148\n; > <???> @ 0x1800f14e8\n; > <???> @ 0x1800f1888\n; > <???> @ 0x1800f1c18\n; > <???> @ 0x1800f1fa0\n; > <???> @ 0x1800f2328\n; > <???> @ 0x1800f26b0\n; > <???> @ 0x1800f2a38\n; > <???> @ 0x1800f2dc0\n; > <???> @ 0x1800f3148\n; > <???> @ 0x1800f34d0\n; > <???> @ 0x1800f3850\n; > <???> @ 0x1800f3be0\n; > <???> @ 0x1800f3f78\n; > <???> @ 0x1800f4310\n; > <???> @ 0x1800f46a8\n; > <???> @ 0x1800f4a40\n; > <???> @ 0x1800f4dd8\n; > <???> @ 0x1800f5188\n; > <???> @ 0x1800f5510\n; > <???> @ 0x1800f58a0\n; > <???> @ 0x1800f5c30\n; > <???> @ 0x1800f5fc0\n; > <???> @ 0x1800f6350\n; > <???> @ 0x1800f66e0\n; > <???> @ 0x1800f6a70\n; > <???> @ 0x1800f6e08\n; > <???> @ 0x1800f7370\n; > <???> @ 0x1800f7798\n; > <???> @ 0x1800f7be0\n; > <???> @ 0x1800f8028\n; > <???> @ 0x1800f8470\n; > <???> @ 0x1800f88d0\n; > <???> @ 0x1800f8d30\n; > <???> @ 0x1800f9180\n; > <???> @ 0x1800f9548\n; > <???> @ 0x1800f9960\n; > <???> @ 0x1800f9d70\n; > <???> @ 0x1800fa1a0\n; > <???> @ 0x1800fa810\n; > <???> @ 0x1800fae80\n; > <???> @ 0x1800fb4f0\n; > <???> @ 0x1800fbb60\n; > <???> @ 0x1800fc1d0\n; > <???> @ 0x1800fc840\n; > <???> @ 0x1800fceb0\n; > <???> @ 0x1800fd520\n; > <???> @ 0x1800fdb90\n; > <???> @ 0x1800fe200\n; > <???> @ 0x1800fe870\n; > <???> @ 0x1800ff0b8\n; > <???> @ 0x1800ffb58\n; > <???> @ 0x180103d90\n; > <???> @ 0x1801052c8\n; > <???> @ 0x1801056a0\n; > <???> @ 0x180105af8\n; > <???> @ 0x180105f60\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ad588\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\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180004aa0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x180004aa5\npush    rdi                                                            ; +0xa, 0x180004aaa\nsub     rsp, 20h                                                       ; +0xb, 0x180004aab\nmov     rsi, rdx                                                       ; +0xf, 0x180004aaf\nmov     rbx, rcx                                                       ; +0x12, 0x180004ab2\nlea     rdx, [rcx+64h]; struct cocos2d::CCSize *                       ; +0x15, 0x180004ab5\nmov     rcx, rsi; this                                                 ; +0x19, 0x180004ab9\ncall    ?equals@CCSize@cocos2d@@QEBA_NAEBV12@@Z; cocos2d::CCSize::equals(cocos2d::CCSize const &) ; +0x1c, 0x180004abc\ntest    al, al                                                         ; +0x21, 0x180004ac1\njnz     short loc_180004B09                                            ; +0x23, 0x180004ac3\nmov     rdx, rsi                                                       ; +0x25, 0x180004ac5\nlea     rcx, [rbx+64h]                                                 ; +0x28, 0x180004ac8\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x2c, 0x180004acc\nmovss   xmm2, dword ptr [rbx+70h]                                      ; +0x31, 0x180004ad1\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x36, 0x180004ad6\nmovss   xmm1, dword ptr [rbx+6Ch]                                      ; +0x3b, 0x180004adb\nmulss   xmm2, dword ptr [rbx+68h]                                      ; +0x40, 0x180004ae0\nmulss   xmm1, dword ptr [rbx+64h]                                      ; +0x45, 0x180004ae5\ncall    kmVec2Fill                                                     ; +0x4a, 0x180004aea\nmov     rdx, rax                                                       ; +0x4f, 0x180004aef\nlea     rcx, [rbx+5Ch]                                                 ; +0x52, 0x180004af2\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x56, 0x180004af6\nmov     byte ptr [rbx+11Ch], 1                                         ; +0x5b, 0x180004afb\nmov     byte ptr [rbx+111h], 1                                         ; +0x62, 0x180004b02\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x69, 0x180004b09\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x6e, 0x180004b0e\nadd     rsp, 20h                                                       ; +0x73, 0x180004b13\npop     rdi                                                            ; +0x77, 0x180004b17\nretn                                                                   ; +0x78, 0x180004b18", "xrefs": ["cocos2d::CCLabelBMFont::setAnchorPoint @ 0x18004c406", "cocos2d::CCLayer::CCLayer @ 0x18004eaea", "cocos2d::CCScene::CCScene @ 0x180051a6f", "cocos2d::CCProgressTimer::initWithSprite @ 0x18005de87", "cocos2d::CCProgressTimer::setAnchorPoint @ 0x18005dfa0", "cocos2d::CCSprite::setAnchorPoint @ 0x18008c199", "<???> @ 0x1800e54f0", "<???> @ 0x1800e5b50", "<???> @ 0x1800e5ec0", "<???> @ 0x1800e6820", "<???> @ 0x1800e6d28", "<???> @ 0x1800eb4f0", "<???> @ 0x1800ed000", "<???> @ 0x1800ed4c0", "<???> @ 0x1800ed9f8", "<???> @ 0x1800edf60", "<???> @ 0x1800ee538", "<???> @ 0x1800ee9f8", "<???> @ 0x1800eed80", "<???> @ 0x1800ef100", "<???> @ 0x1800ef488", "<???> @ 0x1800ef808", "<???> @ 0x1800efb88", "<???> @ 0x1800eff28", "<???> @ 0x1800f02c8", "<???> @ 0x1800f0668", "<???> @ 0x1800f0a08", "<???> @ 0x1800f0da8", "<???> @ 0x1800f1148", "<???> @ 0x1800f14e8", "<???> @ 0x1800f1888", "<???> @ 0x1800f1c18", "<???> @ 0x1800f1fa0", "<???> @ 0x1800f2328", "<???> @ 0x1800f26b0", "<???> @ 0x1800f2a38", "<???> @ 0x1800f2dc0", "<???> @ 0x1800f3148", "<???> @ 0x1800f34d0", "<???> @ 0x1800f3850", "<???> @ 0x1800f3be0", "<???> @ 0x1800f3f78", "<???> @ 0x1800f4310", "<???> @ 0x1800f46a8", "<???> @ 0x1800f4a40", "<???> @ 0x1800f4dd8", "<???> @ 0x1800f5188", "<???> @ 0x1800f5510", "<???> @ 0x1800f58a0", "<???> @ 0x1800f5c30", "<???> @ 0x1800f5fc0", "<???> @ 0x1800f6350", "<???> @ 0x1800f66e0", "<???> @ 0x1800f6a70", "<???> @ 0x1800f6e08", "<???> @ 0x1800f7370", "<???> @ 0x1800f7798", "<???> @ 0x1800f7be0", "<???> @ 0x1800f8028", "<???> @ 0x1800f8470", "<???> @ 0x1800f88d0", "<???> @ 0x1800f8d30", "<???> @ 0x1800f9180", "<???> @ 0x1800f9548", "<???> @ 0x1800f9960", "<???> @ 0x1800f9d70", "<???> @ 0x1800fa1a0", "<???> @ 0x1800fa810", "<???> @ 0x1800fae80", "<???> @ 0x1800fb4f0", "<???> @ 0x1800fbb60", "<???> @ 0x1800fc1d0", "<???> @ 0x1800fc840", "<???> @ 0x1800fceb0", "<???> @ 0x1800fd520", "<???> @ 0x1800fdb90", "<???> @ 0x1800fe200", "<???> @ 0x1800fe870", "<???> @ 0x1800ff0b8", "<???> @ 0x1800ffb58", "<???> @ 0x180103d90", "<???> @ 0x1801052c8", "<???> @ 0x1801056a0", "<???> @ 0x180105af8", "<???> @ 0x180105f60", "<???> @ 0x1801438a8", "<???> @ 0x1801ad588"], "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"}