{"type": "func", "start": 4296768804, "end": 4296768924, "name": "CCSpritePlus::setRotation", "pseudocode": "// \n// CCSpritePlus::setRotation from 0x1001b7d24 to 0x1001b7d9c (120 bytes)\n// \n// 4 xrefs:\n// > GameObject::setRotation @ 0x10025b340\n// > <???> @ 0x10077b8d8\n// > <???> @ 0x1007b30e0\n// > <???> @ 0x1007ef760\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::setRotation(CCSpritePlus *a1, float a2)\n{\n  __int64 v4; // x20\n  __int64 v5; // x0\n\n  cocos2d::CCSprite::setRotation(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, float))(*(_QWORD *)v5 + 344LL))(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::setRotation from 0x1001b7d24 to 0x1001b7d9c (120 bytes)\n; \n; 4 xrefs:\n; > GameObject::setRotation @ 0x10025b340\n; > <???> @ 0x10077b8d8\n; > <???> @ 0x1007b30e0\n; > <???> @ 0x1007ef760\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             D9, D8, [SP,#-0x10+var_20]!                            ; +0x0, 0x1001b7d24\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1001b7d28\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1001b7d2c\nADD             X29, SP, #0x20                                         ; +0xc, 0x1001b7d30\nFMOV            S8, S0                                                 ; +0x10, 0x1001b7d34\nMOV             X19, X0                                                ; +0x14, 0x1001b7d38\nBL              cocos2d__CCSprite__setRotation                         ; +0x18, 0x1001b7d3c\nLDRB            W8, [X19,#0x268]                                       ; +0x1c, 0x1001b7d40\nCMP             W8, #1                                                 ; +0x20, 0x1001b7d44\nB.NE            loc_1001B7D8C                                          ; +0x24, 0x1001b7d48\nLDR             X0, [X19,#0x258]                                       ; +0x28, 0x1001b7d4c\nBL              sub_10024A36C                                          ; +0x2c, 0x1001b7d50\nCBZ             W0, loc_1001B7D8C                                      ; +0x30, 0x1001b7d54\nMOV             W20, #0                                                ; +0x34, 0x1001b7d58\nLDR             X0, [X19,#0x258]                                       ; +0x38, 0x1001b7d5c\nMOV             X1, X20                                                ; +0x3c, 0x1001b7d60\nBL              sub_10024A388                                          ; +0x40, 0x1001b7d64\nLDR             X8, [X0]                                               ; +0x44, 0x1001b7d68\nLDR             X8, [X8,#0x158]                                        ; +0x48, 0x1001b7d6c\nFMOV            S0, S8                                                 ; +0x4c, 0x1001b7d70\nBLR             X8                                                     ; +0x50, 0x1001b7d74\nADD             W20, W20, #1                                           ; +0x54, 0x1001b7d78\nLDR             X0, [X19,#0x258]                                       ; +0x58, 0x1001b7d7c\nBL              sub_10024A36C                                          ; +0x5c, 0x1001b7d80\nCMP             W20, W0                                                ; +0x60, 0x1001b7d84\nB.CC            loc_1001B7D5C                                          ; +0x64, 0x1001b7d88\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x68, 0x1001b7d8c\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x6c, 0x1001b7d90\nLDP             D9, D8, [SP+0x20+var_20],#0x30                         ; +0x70, 0x1001b7d94\nRET                                                                    ; +0x74, 0x1001b7d98", "xrefs": ["GameObject::setRotation @ 0x10025b340", "<???> @ 0x10077b8d8", "<???> @ 0x1007b30e0", "<???> @ 0x1007ef760"], "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"}