{"type": "func", "start": 6443024784, "end": 6443024873, "name": "cocos2d::CCSprite::setAnchorPoint", "pseudocode": "// \n// cocos2d::CCSprite::setAnchorPoint from 0x18008c190 to 0x18008c1e9 (89 bytes)\n// \n// 7 xrefs:\n// > <???> @ 0x1800eb990\n// > <???> @ 0x1800ebe68\n// > <???> @ 0x1800ec9e8\n// > <???> @ 0x1801038a0\n// > <???> @ 0x180106898\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b5c7c\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::setAnchorPoint(cocos2d::CCSprite *this, cocos2d::CCSize *a2)\n{\n  __int64 v3; // rdx\n  cocos2d::CCSprite_vtbl *v4; // rax\n  __int64 v5; // rdx\n\n  cocos2d::CCNode::setAnchorPoint(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}", "assembly": "; \n; cocos2d::CCSprite::setAnchorPoint from 0x18008c190 to 0x18008c1e9 (89 bytes)\n; \n; 7 xrefs:\n; > <???> @ 0x1800eb990\n; > <???> @ 0x1800ebe68\n; > <???> @ 0x1800ec9e8\n; > <???> @ 0x1801038a0\n; > <???> @ 0x180106898\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b5c7c\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, 0x18008c190\nsub     rsp, 20h                                                       ; +0x2, 0x18008c192\nmov     rbx, rcx                                                       ; +0x6, 0x18008c196\ncall    ?setAnchorPoint@CCNode@cocos2d@@UEAAXAEBVCCPoint@2@@Z; cocos2d::CCNode::setAnchorPoint(cocos2d::CCPoint const &) ; +0x9, 0x18008c199\ncmp     qword ptr [rbx+170h], 0                                        ; +0xe, 0x18008c19e\njz      short loc_18008C1E3                                            ; +0x16, 0x18008c1a6\ncmp     byte ptr [rbx+179h], 0                                         ; +0x18, 0x18008c1a8\njnz     short loc_18008C1E3                                            ; +0x1f, 0x18008c1af\nmov     rax, [rbx]                                                     ; +0x21, 0x18008c1b1\nmov     dl, 1                                                          ; +0x24, 0x18008c1b4\nmov     rcx, rbx                                                       ; +0x26, 0x18008c1b6\nmov     byte ptr [rbx+179h], 1                                         ; +0x29, 0x18008c1b9\ncall    qword ptr [rax+408h]                                           ; +0x30, 0x18008c1c0\ncmp     byte ptr [rbx+17Ah], 0                                         ; +0x36, 0x18008c1c6\njz      short loc_18008C1E3                                            ; +0x3d, 0x18008c1cd\nmov     rax, [rbx]                                                     ; +0x3f, 0x18008c1cf\nmov     dl, 1                                                          ; +0x42, 0x18008c1d2\nmov     rcx, rbx                                                       ; +0x44, 0x18008c1d4\nadd     rsp, 20h                                                       ; +0x47, 0x18008c1d7\npop     rbx                                                            ; +0x4b, 0x18008c1db\njmp     qword ptr [rax+428h]                                           ; +0x4c, 0x18008c1dc\nadd     rsp, 20h                                                       ; +0x53, 0x18008c1e3\npop     rbx                                                            ; +0x57, 0x18008c1e7\nretn                                                                   ; +0x58, 0x18008c1e8", "xrefs": ["<???> @ 0x1800eb990", "<???> @ 0x1800ebe68", "<???> @ 0x1800ec9e8", "<???> @ 0x1801038a0", "<???> @ 0x180106898", "<???> @ 0x1801438a8", "<???> @ 0x1801b5c7c"], "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"}