{"type": "func", "start": 3133326, "end": 3133382, "name": "CCSpritePlus::setPosition", "pseudocode": "// \n// CCSpritePlus::setPosition from 0x2fcf8e to 0x2fcfc6 (56 bytes)\n// \n// 1 xrefs:\n// > GameObject::setPosition @ 0x352fa0\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; // r4\n  int v5; // r0\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      (*(void (__fastcall **)(int, const cocos2d::CCPoint *))(*(_DWORD *)v5 + 92))(v5, a2);\n    }\n  }\n}", "assembly": "; \n; CCSpritePlus::setPosition from 0x2fcf8e to 0x2fcfc6 (56 bytes)\n; \n; 1 xrefs:\n; > GameObject::setPosition @ 0x352fa0\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\nPUSH            {R4-R6,LR}                                             ; +0x0, 0x2fcf8e\nMOV             R5, R0                                                 ; +0x2, 0x2fcf90\nMOV             R6, R1                                                 ; +0x4, 0x2fcf92\nBL              _ZN7cocos2d8CCSprite11setPositionERKNS_7CCPointE; cocos2d::CCSprite::setPosition(cocos2d::CCPoint const&) ; +0x6, 0x2fcf94\nLDRB.W          R3, [R5,#0x204]                                        ; +0xa, 0x2fcf98\nCBNZ            R3, loc_2FCFA0                                         ; +0xe, 0x2fcf9c\nPOP             {R4-R6,PC}                                             ; +0x10, 0x2fcf9e\nMOVS            R4, #0                                                 ; +0x12, 0x2fcfa0\nLDR.W           R0, [R5,#0x1FC]; this                                  ; +0x14, 0x2fcfa2\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x18, 0x2fcfa6\nCMP             R4, R0                                                 ; +0x1c, 0x2fcfaa\nBCS             locret_2FCFC4                                          ; +0x1e, 0x2fcfac\nMOV             R1, R4; unsigned int                                   ; +0x20, 0x2fcfae\nLDR.W           R0, [R5,#0x1FC]; this                                  ; +0x22, 0x2fcfb0\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x26, 0x2fcfb4\nMOV             R1, R6                                                 ; +0x2a, 0x2fcfb8\nADDS            R4, #1                                                 ; +0x2c, 0x2fcfba\nLDR             R3, [R0]                                               ; +0x2e, 0x2fcfbc\nLDR             R3, [R3,#0x5C]                                         ; +0x30, 0x2fcfbe\nBLX             R3                                                     ; +0x32, 0x2fcfc0\nB               loc_2FCFA2                                             ; +0x34, 0x2fcfc2\nPOP             {R4-R6,PC}                                             ; +0x36, 0x2fcfc4", "xrefs": ["GameObject::setPosition @ 0x352fa0"], "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"}