{"type": "func", "start": 5369020128, "end": 5369020261, "name": "CCSpritePlus::setPosition", "pseudocode": "// \n// CCSpritePlus::setPosition from 0x14004bee0 to 0x14004bf65 (133 bytes)\n// \n// 6 xrefs:\n// > <???> @ 0x140709f00\n// > <???> @ 0x14070a358\n// > <???> @ 0x140738600\n// > <???> @ 0x140885ff8\n// > <???> @ 0x140886008\n// > <???> @ 0x14090fefc\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:25:33 +0000\n// \n\nvoid __fastcall CCSpritePlus::setPosition(__int64 a1, const struct cocos2d::CCPoint *a2)\n{\n  unsigned int i; // edi\n  struct cocos2d::CCObject *v5; // rax\n\n  cocos2d::CCSprite::setPosition((cocos2d::CCSprite *)a1, a2);\n  if ( *(_BYTE *)(a1 + 616) )\n  {\n    for ( i = 0; i < cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 600)); ++i )\n    {\n      v5 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 600), i);\n      (*(void (__fastcall **)(struct cocos2d::CCObject *, const struct cocos2d::CCPoint *))(*(_QWORD *)v5 + 184LL))(\n        v5,\n        a2);\n    }\n  }\n}", "assembly": "; \n; CCSpritePlus::setPosition from 0x14004bee0 to 0x14004bf65 (133 bytes)\n; \n; 6 xrefs:\n; > <???> @ 0x140709f00\n; > <???> @ 0x14070a358\n; > <???> @ 0x140738600\n; > <???> @ 0x140885ff8\n; > <???> @ 0x140886008\n; > <???> @ 0x14090fefc\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:25:33 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x14004bee0\npush    rsi                                                            ; +0x5, 0x14004bee5\nsub     rsp, 20h                                                       ; +0x6, 0x14004bee6\nmov     rsi, rdx                                                       ; +0xa, 0x14004beea\nmov     rbx, rcx                                                       ; +0xd, 0x14004beed\ncall    cs:__imp_?setPosition@CCSprite@cocos2d@@UEAAXAEBVCCPoint@2@@Z; cocos2d::CCSprite::setPosition(cocos2d::CCPoint const &) ; +0x10, 0x14004bef0\ncmp     byte ptr [rbx+268h], 0                                         ; +0x16, 0x14004bef6\njz      short loc_14004BF5A                                            ; +0x1d, 0x14004befd\nmov     rcx, [rbx+258h]                                                ; +0x1f, 0x14004beff\nmov     [rsp+28h+arg_0], rdi                                           ; +0x26, 0x14004bf06\nxor     edi, edi                                                       ; +0x2b, 0x14004bf0b\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2d, 0x14004bf0d\ntest    eax, eax                                                       ; +0x33, 0x14004bf13\njz      short loc_14004BF55                                            ; +0x35, 0x14004bf15\nnop     word ptr [rax+rax+00000000h]                                   ; +0x37, 0x14004bf17\nmov     rcx, [rbx+258h]                                                ; +0x40, 0x14004bf20\nmov     edx, edi                                                       ; +0x47, 0x14004bf27\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x49, 0x14004bf29\nmov     rdx, rsi                                                       ; +0x4f, 0x14004bf2f\nmov     rcx, [rax]                                                     ; +0x52, 0x14004bf32\nmov     r8, [rcx+0B8h]                                                 ; +0x55, 0x14004bf35\nmov     rcx, rax                                                       ; +0x5c, 0x14004bf3c\ncall    r8                                                             ; +0x5f, 0x14004bf3f\nmov     rcx, [rbx+258h]                                                ; +0x62, 0x14004bf42\ninc     edi                                                            ; +0x69, 0x14004bf49\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x6b, 0x14004bf4b\ncmp     edi, eax                                                       ; +0x71, 0x14004bf51\njb      short loc_14004BF20                                            ; +0x73, 0x14004bf53\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x75, 0x14004bf55\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x7a, 0x14004bf5a\nadd     rsp, 20h                                                       ; +0x7f, 0x14004bf5f\npop     rsi                                                            ; +0x83, 0x14004bf63\nretn                                                                   ; +0x84, 0x14004bf64", "xrefs": ["<???> @ 0x140709f00", "<???> @ 0x14070a358", "<???> @ 0x140738600", "<???> @ 0x140885ff8", "<???> @ 0x140886008", "<???> @ 0x14090fefc"], "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"}