{"type": "func", "start": 6443037568, "end": 6443037657, "name": "cocos2d::CCSprite::setAnchorPoint", "pseudocode": "// \n// cocos2d::CCSprite::setAnchorPoint from 0x18008f380 to 0x18008f3d9 (89 bytes)\n// \n// 7 xrefs:\n// > <???> @ 0x1800f1a90\n// > <???> @ 0x1800f1f78\n// > <???> @ 0x1800f2b28\n// > <???> @ 0x180109f68\n// > <???> @ 0x18010cf80\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bff4c\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::setAnchorPoint(cocos2d::CCSprite *this, const struct cocos2d::CCPoint *a2)\n{\n  __int64 v3; // rdx\n  __int64 v4; // rax\n  __int64 v5; // rdx\n\n  cocos2d::CCNode::setAnchorPoint(this, a2);\n  if ( *((_QWORD *)this + 46) && !*((_BYTE *)this + 377) )\n  {\n    v4 = *(_QWORD *)this;\n    LOBYTE(v3) = 1;\n    *((_BYTE *)this + 377) = 1;\n    (*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(v4 + 1048))(this, v3);\n    if ( *((_BYTE *)this + 378) )\n    {\n      LOBYTE(v5) = 1;\n      (*(void (__fastcall **)(cocos2d::CCSprite *, __int64))(*(_QWORD *)this + 1080LL))(this, v5);\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCSprite::setAnchorPoint from 0x18008f380 to 0x18008f3d9 (89 bytes)\n; \n; 7 xrefs:\n; > <???> @ 0x1800f1a90\n; > <???> @ 0x1800f1f78\n; > <???> @ 0x1800f2b28\n; > <???> @ 0x180109f68\n; > <???> @ 0x18010cf80\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bff4c\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; \npush    rbx                                                            ; +0x0, 0x18008f380\nsub     rsp, 20h                                                       ; +0x2, 0x18008f382\nmov     rbx, rcx                                                       ; +0x6, 0x18008f386\ncall    ?setAnchorPoint@CCNode@cocos2d@@UEAAXAEBVCCPoint@2@@Z; cocos2d::CCNode::setAnchorPoint(cocos2d::CCPoint const &) ; +0x9, 0x18008f389\ncmp     qword ptr [rbx+170h], 0                                        ; +0xe, 0x18008f38e\njz      short loc_18008F3D3                                            ; +0x16, 0x18008f396\ncmp     byte ptr [rbx+179h], 0                                         ; +0x18, 0x18008f398\njnz     short loc_18008F3D3                                            ; +0x1f, 0x18008f39f\nmov     rax, [rbx]                                                     ; +0x21, 0x18008f3a1\nmov     dl, 1                                                          ; +0x24, 0x18008f3a4\nmov     rcx, rbx                                                       ; +0x26, 0x18008f3a6\nmov     byte ptr [rbx+179h], 1                                         ; +0x29, 0x18008f3a9\ncall    qword ptr [rax+418h]                                           ; +0x30, 0x18008f3b0\ncmp     byte ptr [rbx+17Ah], 0                                         ; +0x36, 0x18008f3b6\njz      short loc_18008F3D3                                            ; +0x3d, 0x18008f3bd\nmov     rax, [rbx]                                                     ; +0x3f, 0x18008f3bf\nmov     dl, 1                                                          ; +0x42, 0x18008f3c2\nmov     rcx, rbx                                                       ; +0x44, 0x18008f3c4\nadd     rsp, 20h                                                       ; +0x47, 0x18008f3c7\npop     rbx                                                            ; +0x4b, 0x18008f3cb\njmp     qword ptr [rax+438h]                                           ; +0x4c, 0x18008f3cc\nadd     rsp, 20h                                                       ; +0x53, 0x18008f3d3\npop     rbx                                                            ; +0x57, 0x18008f3d7\nretn                                                                   ; +0x58, 0x18008f3d8", "xrefs": ["<???> @ 0x1800f1a90", "<???> @ 0x1800f1f78", "<???> @ 0x1800f2b28", "<???> @ 0x180109f68", "<???> @ 0x18010cf80", "<???> @ 0x18014cf68", "<???> @ 0x1801bff4c"], "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"}