{"type": "func", "start": 4296768684, "end": 4296768804, "name": "CCSpritePlus::setPosition", "pseudocode": "// \n// CCSpritePlus::setPosition from 0x1001b7cac to 0x1001b7d24 (120 bytes)\n// \n// 4 xrefs:\n// > GameObject::setPosition @ 0x10025b10c\n// > <???> @ 0x10077b838\n// > <???> @ 0x1007b3040\n// > <???> @ 0x1007ef6c0\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 __fastcall CCSpritePlus::setPosition(CCSpritePlus *a1, const cocos2d::CCPoint *a2)\n{\n  __int64 v4; // x21\n  __int64 v5; // x0\n\n  cocos2d::CCSprite::setPosition(a1, a2);\n  if ( a1->m_hasFollower && (unsigned int)sub_10024A36C(a1->m_followers) )\n  {\n    v4 = 0;\n    do\n    {\n      v5 = sub_10024A388(a1->m_followers, v4);\n      (*(void (__fastcall **)(__int64, const cocos2d::CCPoint *))(*(_QWORD *)v5 + 184LL))(v5, a2);\n      v4 = (unsigned int)(v4 + 1);\n    }\n    while ( (unsigned int)v4 < (unsigned int)sub_10024A36C(a1->m_followers) );\n  }\n}", "assembly": "; \n; CCSpritePlus::setPosition from 0x1001b7cac to 0x1001b7d24 (120 bytes)\n; \n; 4 xrefs:\n; > GameObject::setPosition @ 0x10025b10c\n; > <???> @ 0x10077b838\n; > <???> @ 0x1007b3040\n; > <???> @ 0x1007ef6c0\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\nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1001b7cac\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1001b7cb0\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1001b7cb4\nADD             X29, SP, #0x20                                         ; +0xc, 0x1001b7cb8\nMOV             X19, X1                                                ; +0x10, 0x1001b7cbc\nMOV             X20, X0                                                ; +0x14, 0x1001b7cc0\nBL              cocos2d__CCSprite__setPosition                         ; +0x18, 0x1001b7cc4\nLDRB            W8, [X20,#0x268]                                       ; +0x1c, 0x1001b7cc8\nCMP             W8, #1                                                 ; +0x20, 0x1001b7ccc\nB.NE            loc_1001B7D14                                          ; +0x24, 0x1001b7cd0\nLDR             X0, [X20,#0x258]                                       ; +0x28, 0x1001b7cd4\nBL              sub_10024A36C                                          ; +0x2c, 0x1001b7cd8\nCBZ             W0, loc_1001B7D14                                      ; +0x30, 0x1001b7cdc\nMOV             W21, #0                                                ; +0x34, 0x1001b7ce0\nLDR             X0, [X20,#0x258]                                       ; +0x38, 0x1001b7ce4\nMOV             X1, X21                                                ; +0x3c, 0x1001b7ce8\nBL              sub_10024A388                                          ; +0x40, 0x1001b7cec\nLDR             X8, [X0]                                               ; +0x44, 0x1001b7cf0\nLDR             X8, [X8,#0xB8]                                         ; +0x48, 0x1001b7cf4\nMOV             X1, X19                                                ; +0x4c, 0x1001b7cf8\nBLR             X8                                                     ; +0x50, 0x1001b7cfc\nADD             W21, W21, #1                                           ; +0x54, 0x1001b7d00\nLDR             X0, [X20,#0x258]                                       ; +0x58, 0x1001b7d04\nBL              sub_10024A36C                                          ; +0x5c, 0x1001b7d08\nCMP             W21, W0                                                ; +0x60, 0x1001b7d0c\nB.CC            loc_1001B7CE4                                          ; +0x64, 0x1001b7d10\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x68, 0x1001b7d14\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x6c, 0x1001b7d18\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x70, 0x1001b7d1c\nRET                                                                    ; +0x74, 0x1001b7d20", "xrefs": ["GameObject::setPosition @ 0x10025b10c", "<???> @ 0x10077b838", "<???> @ 0x1007b3040", "<???> @ 0x1007ef6c0"], "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"}