{"type": "func", "start": 5369003584, "end": 5369003714, "name": "CCSpritePlus::setPosition", "pseudocode": "// \n// CCSpritePlus::setPosition from 0x140047e40 to 0x140047ec2 (130 bytes)\n// \n// 6 xrefs:\n// > <???> @ 0x14052f2d8\n// > <???> @ 0x14052f720\n// > <???> @ 0x140543cb8\n// > <???> @ 0x140662f6c\n// > <???> @ 0x140662f7c\n// > <???> @ 0x1406c4a10\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 CCSpritePlus::setPosition(CCSpritePlus *a1, const cocos2d::CCPoint *a2)\n{\n  unsigned int i; // edi\n  struct cocos2d::CCObject *v5; // rax\n\n  cocos2d::CCSprite::setPosition(a1, a2);\n  if ( a1->m_hasFollower )\n  {\n    for ( i = 0; i < cocos2d::CCArray::count(a1->m_followers); ++i )\n    {\n      v5 = cocos2d::CCArray::objectAtIndex(a1->m_followers, i);\n      v5->__vftable[2].encodeWithCoder(v5, (DS_Dictionary *)a2);\n    }\n  }\n}", "assembly": "; \n; CCSpritePlus::setPosition from 0x140047e40 to 0x140047ec2 (130 bytes)\n; \n; 6 xrefs:\n; > <???> @ 0x14052f2d8\n; > <???> @ 0x14052f720\n; > <???> @ 0x140543cb8\n; > <???> @ 0x140662f6c\n; > <???> @ 0x140662f7c\n; > <???> @ 0x1406c4a10\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\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140047e40\npush    rsi                                                            ; +0x5, 0x140047e45\nsub     rsp, 20h                                                       ; +0x6, 0x140047e46\nmov     rsi, rdx                                                       ; +0xa, 0x140047e4a\nmov     rbx, rcx                                                       ; +0xd, 0x140047e4d\ncall    cs:__imp_?setPosition@CCSprite@cocos2d@@UEAAXAEBVCCPoint@2@@Z; cocos2d::CCSprite::setPosition(cocos2d::CCPoint const &) ; +0x10, 0x140047e50\ncmp     byte ptr [rbx+268h], 0                                         ; +0x16, 0x140047e56\njz      short loc_140047EB7                                            ; +0x1d, 0x140047e5d\nmov     rcx, [rbx+258h]                                                ; +0x1f, 0x140047e5f\nmov     [rsp+28h+arg_0], rdi                                           ; +0x26, 0x140047e66\nxor     edi, edi                                                       ; +0x2b, 0x140047e6b\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2d, 0x140047e6d\ntest    eax, eax                                                       ; +0x33, 0x140047e73\njz      short loc_140047EB2                                            ; +0x35, 0x140047e75\nnop     word ptr [rax+rax+00000000h]                                   ; +0x37, 0x140047e77\nmov     rcx, [rbx+258h]                                                ; +0x40, 0x140047e80\nmov     edx, edi                                                       ; +0x47, 0x140047e87\ncall    cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x49, 0x140047e89\nmov     rdx, rsi                                                       ; +0x4f, 0x140047e8f\nmov     rcx, rax                                                       ; +0x52, 0x140047e92\nmov     r8, [rax]                                                      ; +0x55, 0x140047e95\ncall    qword ptr [r8+0B8h]                                            ; +0x58, 0x140047e98\nmov     rcx, [rbx+258h]                                                ; +0x5f, 0x140047e9f\ninc     edi                                                            ; +0x66, 0x140047ea6\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x68, 0x140047ea8\ncmp     edi, eax                                                       ; +0x6e, 0x140047eae\njb      short loc_140047E80                                            ; +0x70, 0x140047eb0\nmov     rdi, [rsp+28h+arg_0]                                           ; +0x72, 0x140047eb2\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x77, 0x140047eb7\nadd     rsp, 20h                                                       ; +0x7c, 0x140047ebc\npop     rsi                                                            ; +0x80, 0x140047ec0\nretn                                                                   ; +0x81, 0x140047ec1", "xrefs": ["<???> @ 0x14052f2d8", "<???> @ 0x14052f720", "<???> @ 0x140543cb8", "<???> @ 0x140662f6c", "<???> @ 0x140662f7c", "<???> @ 0x1406c4a10"], "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"}