{"type": "func", "start": 6443038800, "end": 6443038914, "name": "cocos2d::CCSprite::setPosition", "pseudocode": "// \n// cocos2d::CCSprite::setPosition from 0x18008f850 to 0x18008f8c2 (114 bytes)\n// \n// 7 xrefs:\n// > <???> @ 0x1800f1a28\n// > <???> @ 0x1800f1f10\n// > <???> @ 0x1800f2ac0\n// > <???> @ 0x180109f00\n// > <???> @ 0x18010cf18\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c0054\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::setPosition(cocos2d::CCSprite *this, const struct cocos2d::CCPoint *a2)\n{\n  __int64 v3; // rdx\n  __int64 v4; // rax\n  __int64 v5; // rdx\n\n  if ( *((float *)this + 19) != *(float *)a2 || *((float *)this + 20) != *((float *)a2 + 1) )\n  {\n    cocos2d::CCNode::setPosition(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  }\n}", "assembly": "; \n; cocos2d::CCSprite::setPosition from 0x18008f850 to 0x18008f8c2 (114 bytes)\n; \n; 7 xrefs:\n; > <???> @ 0x1800f1a28\n; > <???> @ 0x1800f1f10\n; > <???> @ 0x1800f2ac0\n; > <???> @ 0x180109f00\n; > <???> @ 0x18010cf18\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c0054\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, 0x18008f850\nsub     rsp, 20h                                                       ; +0x2, 0x18008f852\nmovss   xmm0, dword ptr [rcx+4Ch]                                      ; +0x6, 0x18008f856\nmov     rbx, rcx                                                       ; +0xb, 0x18008f85b\nucomiss xmm0, dword ptr [rdx]                                          ; +0xe, 0x18008f85e\njp      short loc_18008F872                                            ; +0x11, 0x18008f861\njnz     short loc_18008F872                                            ; +0x13, 0x18008f863\nmovss   xmm0, dword ptr [rcx+50h]                                      ; +0x15, 0x18008f865\nucomiss xmm0, dword ptr [rdx+4]                                        ; +0x1a, 0x18008f86a\njp      short loc_18008F872                                            ; +0x1e, 0x18008f86e\njz      short loc_18008F8BC                                            ; +0x20, 0x18008f870\ncall    ?setPosition@CCNode@cocos2d@@UEAAXAEBVCCPoint@2@@Z; cocos2d::CCNode::setPosition(cocos2d::CCPoint const &) ; +0x22, 0x18008f872\ncmp     qword ptr [rbx+170h], 0                                        ; +0x27, 0x18008f877\njz      short loc_18008F8BC                                            ; +0x2f, 0x18008f87f\ncmp     byte ptr [rbx+179h], 0                                         ; +0x31, 0x18008f881\njnz     short loc_18008F8BC                                            ; +0x38, 0x18008f888\nmov     rax, [rbx]                                                     ; +0x3a, 0x18008f88a\nmov     dl, 1                                                          ; +0x3d, 0x18008f88d\nmov     rcx, rbx                                                       ; +0x3f, 0x18008f88f\nmov     byte ptr [rbx+179h], 1                                         ; +0x42, 0x18008f892\ncall    qword ptr [rax+418h]                                           ; +0x49, 0x18008f899\ncmp     byte ptr [rbx+17Ah], 0                                         ; +0x4f, 0x18008f89f\njz      short loc_18008F8BC                                            ; +0x56, 0x18008f8a6\nmov     rax, [rbx]                                                     ; +0x58, 0x18008f8a8\nmov     dl, 1                                                          ; +0x5b, 0x18008f8ab\nmov     rcx, rbx                                                       ; +0x5d, 0x18008f8ad\nadd     rsp, 20h                                                       ; +0x60, 0x18008f8b0\npop     rbx                                                            ; +0x64, 0x18008f8b4\njmp     qword ptr [rax+438h]                                           ; +0x65, 0x18008f8b5\nadd     rsp, 20h                                                       ; +0x6c, 0x18008f8bc\npop     rbx                                                            ; +0x70, 0x18008f8c0\nretn                                                                   ; +0x71, 0x18008f8c1", "xrefs": ["<???> @ 0x1800f1a28", "<???> @ 0x1800f1f10", "<???> @ 0x1800f2ac0", "<???> @ 0x180109f00", "<???> @ 0x18010cf18", "<???> @ 0x18014cf68", "<???> @ 0x1801c0054"], "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"}