{"type": "func", "start": 7111720, "end": 7111828, "name": "CCSpritePlus::setPosition", "pseudocode": "// \n// CCSpritePlus::setPosition from 0x6c8428 to 0x6c8494 (108 bytes)\n// \n// 5 xrefs:\n// > GameObject::setPosition @ 0x76c854\n// > <???> @ 0xc47c8\n// > <???> @ 0x1417818\n// > <???> @ 0x1421818\n// > <???> @ 0x14918f8\n// \n// This function is hookable on this platform (idp: arm, 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:51:22 +0000\n// \n\n__int64 __fastcall CCSpritePlus::setPosition(cocos2d::CCArray **this, const cocos2d::CCPoint *a2)\n{\n  unsigned int v4; // w19\n  __int64 result; // x0\n  __int64 v6; // x0\n  bool v7; // cf\n  unsigned int v8; // w1\n\n  cocos2d::CCSprite::setPosition((cocos2d::CCSprite *)this, a2);\n  v4 = 0;\n  result = *((unsigned __int8 *)this + 616);\n  if ( *((_BYTE *)this + 616) )\n  {\n    while ( 1 )\n    {\n      result = cocos2d::CCArray::count(*(this + 75));\n      v7 = v4 >= (unsigned int)result;\n      v8 = v4++;\n      if ( v7 )\n        break;\n      v6 = cocos2d::CCArray::objectAtIndex(*(this + 75), v8);\n      (*(void (__fastcall **)(__int64, const cocos2d::CCPoint *))(*(_QWORD *)v6 + 184LL))(v6, a2);\n    }\n  }\n  return result;\n}", "assembly": "; \n; CCSpritePlus::setPosition from 0x6c8428 to 0x6c8494 (108 bytes)\n; \n; 5 xrefs:\n; > GameObject::setPosition @ 0x76c854\n; > <???> @ 0xc47c8\n; > <???> @ 0x1417818\n; > <???> @ 0x1421818\n; > <???> @ 0x14918f8\n; \n; This function is hookable on this platform (idp: arm, 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:51:22 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x6c8428\nMOV             X29, SP                                                ; +0x4, 0x6c842c\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x6c8430\nMOV             X20, X0                                                ; +0xc, 0x6c8434\nSTR             X21, [SP,#0x30+var_10]                                 ; +0x10, 0x6c8438\nMOV             X21, X1                                                ; +0x14, 0x6c843c\nBL              _ZN7cocos2d8CCSprite11setPositionERKNS_7CCPointE; cocos2d::CCSprite::setPosition(cocos2d::CCPoint const&) ; +0x18, 0x6c8440\nMOV             W19, #0                                                ; +0x1c, 0x6c8444\nLDRB            W0, [X20,#0x268]                                       ; +0x20, 0x6c8448\nCBNZ            W0, loc_6C846C                                         ; +0x24, 0x6c844c\nB               loc_6C8484                                             ; +0x28, 0x6c8450\nLDR             X0, [X20,#0x258]; this                                 ; +0x2c, 0x6c8454\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x30, 0x6c8458\nLDR             X2, [X0]                                               ; +0x34, 0x6c845c\nMOV             X1, X21                                                ; +0x38, 0x6c8460\nLDR             X2, [X2,#0xB8]                                         ; +0x3c, 0x6c8464\nBLR             X2                                                     ; +0x40, 0x6c8468\nLDR             X0, [X20,#0x258]; this                                 ; +0x44, 0x6c846c\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x48, 0x6c8470\nCMP             W19, W0                                                ; +0x4c, 0x6c8474\nMOV             W1, W19; unsigned int                                  ; +0x50, 0x6c8478\nADD             W19, W19, #1                                           ; +0x54, 0x6c847c\nB.CC            loc_6C8454                                             ; +0x58, 0x6c8480\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x5c, 0x6c8484\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x60, 0x6c8488\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x64, 0x6c848c\nRET                                                                    ; +0x68, 0x6c8490", "xrefs": ["GameObject::setPosition @ 0x76c854", "<???> @ 0xc47c8", "<???> @ 0x1417818", "<???> @ 0x1421818", "<???> @ 0x14918f8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}