{"type": "func", "start": 4299646240, "end": 4299646365, "name": "CCSpritePlus::setPosition", "pseudocode": "// \n// CCSpritePlus::setPosition from 0x100476520 to 0x10047659d (125 bytes)\n// \n// 4 xrefs:\n// > GameObject::setPosition @ 0x10068d435\n// > <???> @ 0x100b26000\n// > <???> @ 0x100b46898\n// > <???> @ 0x100ba6df8\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 12:30:35 +0000\n// \n\nvoid __fastcall CCSpritePlus::setPosition(__int64 a1, __int64 a2)\n{\n  unsigned int v2; // r15d\n  __int64 v3; // rax\n\n  cocos2d::CCSprite::setPosition(a1, a2);\n  if ( *(_BYTE *)(a1 + 616) == 1 && (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 600)) )\n  {\n    v2 = 0;\n    do\n    {\n      v3 = sub_1007FEFE0(*(_QWORD *)(a1 + 600), v2);\n      (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 184LL))(v3, a2);\n      ++v2;\n    }\n    while ( v2 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 600)) );\n  }\n}", "assembly": "; \n; CCSpritePlus::setPosition from 0x100476520 to 0x10047659d (125 bytes)\n; \n; 4 xrefs:\n; > GameObject::setPosition @ 0x10068d435\n; > <???> @ 0x100b26000\n; > <???> @ 0x100b46898\n; > <???> @ 0x100ba6df8\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 12:30:35 +0000\n; \npush    rbp                                                            ; +0x0, 0x100476520\nmov     rbp, rsp                                                       ; +0x1, 0x100476521\npush    r15                                                            ; +0x4, 0x100476524\npush    r14                                                            ; +0x6, 0x100476526\npush    rbx                                                            ; +0x8, 0x100476528\npush    rax                                                            ; +0x9, 0x100476529\nmov     rbx, rsi                                                       ; +0xa, 0x10047652a\nmov     r14, rdi                                                       ; +0xd, 0x10047652d\ncall    cocos2d__CCSprite__setPosition                                 ; +0x10, 0x100476530\ncmp     byte ptr [r14+268h], 1                                         ; +0x15, 0x100476535\njnz     short loc_100476592                                            ; +0x1d, 0x10047653d\nmov     rdi, [r14+258h]                                                ; +0x1f, 0x10047653f\ncall    sub_1007FEF90                                                  ; +0x26, 0x100476546\ntest    eax, eax                                                       ; +0x2b, 0x10047654b\njz      short loc_100476592                                            ; +0x2d, 0x10047654d\nxor     r15d, r15d                                                     ; +0x2f, 0x10047654f\nnop     word ptr [rax+rax+00000000h]                                   ; +0x32, 0x100476552\nmov     rdi, [r14+258h]                                                ; +0x40, 0x100476560\nmov     esi, r15d                                                      ; +0x47, 0x100476567\ncall    sub_1007FEFE0                                                  ; +0x4a, 0x10047656a\nmov     rcx, [rax]                                                     ; +0x4f, 0x10047656f\nmov     rdi, rax                                                       ; +0x52, 0x100476572\nmov     rsi, rbx                                                       ; +0x55, 0x100476575\ncall    qword ptr [rcx+0B8h]                                           ; +0x58, 0x100476578\ninc     r15d                                                           ; +0x5e, 0x10047657e\nmov     rdi, [r14+258h]                                                ; +0x61, 0x100476581\ncall    sub_1007FEF90                                                  ; +0x68, 0x100476588\ncmp     r15d, eax                                                      ; +0x6d, 0x10047658d\njb      short loc_100476560                                            ; +0x70, 0x100476590\nadd     rsp, 8                                                         ; +0x72, 0x100476592\npop     rbx                                                            ; +0x76, 0x100476596\npop     r14                                                            ; +0x77, 0x100476597\npop     r15                                                            ; +0x79, 0x100476599\npop     rbp                                                            ; +0x7b, 0x10047659b\nretn                                                                   ; +0x7c, 0x10047659c", "xrefs": ["GameObject::setPosition @ 0x10068d435", "<???> @ 0x100b26000", "<???> @ 0x100b46898", "<???> @ 0x100ba6df8"], "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"}