{"type": "func", "start": 4297382288, "end": 4297382408, "name": "CCSpritePlus::setRotation", "pseudocode": "// \n// CCSpritePlus::setRotation from 0x10024d990 to 0x10024da08 (120 bytes)\n// \n// 4 xrefs:\n// > GameObject::setRotation @ 0x1002f8544\n// > <???> @ 0x1008c8008\n// > <???> @ 0x10090a878\n// > <???> @ 0x100947af0\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 11:01:30 +0000\n// \n\n__int64 __fastcall CCSpritePlus::setRotation(__int64 a1, float a2)\n{\n  __int64 result; // x0\n  __int64 v5; // x20\n  __int64 v6; // x0\n\n  result = cocos2d::CCSprite::setRotation();\n  if ( *(_BYTE *)(a1 + 616) == 1 )\n  {\n    result = sub_1002E757C(*(_QWORD *)(a1 + 600));\n    if ( (_DWORD)result )\n    {\n      v5 = 0;\n      do\n      {\n        v6 = sub_1002E75A0(*(_QWORD *)(a1 + 600), v5);\n        (*(void (__fastcall **)(__int64, float))(*(_QWORD *)v6 + 360LL))(v6, a2);\n        v5 = (unsigned int)(v5 + 1);\n        result = sub_1002E757C(*(_QWORD *)(a1 + 600));\n      }\n      while ( (unsigned int)v5 < (unsigned int)result );\n    }\n  }\n  return result;\n}", "assembly": "; \n; CCSpritePlus::setRotation from 0x10024d990 to 0x10024da08 (120 bytes)\n; \n; 4 xrefs:\n; > GameObject::setRotation @ 0x1002f8544\n; > <???> @ 0x1008c8008\n; > <???> @ 0x10090a878\n; > <???> @ 0x100947af0\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 11:01:30 +0000\n; \nSTP             D9, D8, [SP,#-0x10+var_20]!                            ; +0x0, 0x10024d990\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10024d994\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10024d998\nADD             X29, SP, #0x20                                         ; +0xc, 0x10024d99c\nFMOV            S8, S0                                                 ; +0x10, 0x10024d9a0\nMOV             X19, X0                                                ; +0x14, 0x10024d9a4\nBL              cocos2d__CCSprite__setRotation                         ; +0x18, 0x10024d9a8\nLDRB            W8, [X19,#0x268]                                       ; +0x1c, 0x10024d9ac\nCMP             W8, #1                                                 ; +0x20, 0x10024d9b0\nB.NE            loc_10024D9F8                                          ; +0x24, 0x10024d9b4\nLDR             X0, [X19,#0x258]                                       ; +0x28, 0x10024d9b8\nBL              sub_1002E757C                                          ; +0x2c, 0x10024d9bc\nCBZ             W0, loc_10024D9F8                                      ; +0x30, 0x10024d9c0\nMOV             W20, #0                                                ; +0x34, 0x10024d9c4\nLDR             X0, [X19,#0x258]                                       ; +0x38, 0x10024d9c8\nMOV             X1, X20                                                ; +0x3c, 0x10024d9cc\nBL              sub_1002E75A0                                          ; +0x40, 0x10024d9d0\nLDR             X8, [X0]                                               ; +0x44, 0x10024d9d4\nLDR             X8, [X8,#0x168]                                        ; +0x48, 0x10024d9d8\nFMOV            S0, S8                                                 ; +0x4c, 0x10024d9dc\nBLR             X8                                                     ; +0x50, 0x10024d9e0\nADD             W20, W20, #1                                           ; +0x54, 0x10024d9e4\nLDR             X0, [X19,#0x258]                                       ; +0x58, 0x10024d9e8\nBL              sub_1002E757C                                          ; +0x5c, 0x10024d9ec\nCMP             W20, W0                                                ; +0x60, 0x10024d9f0\nB.CC            loc_10024D9C8                                          ; +0x64, 0x10024d9f4\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x68, 0x10024d9f8\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x6c, 0x10024d9fc\nLDP             D9, D8, [SP+0x20+var_20],#0x30                         ; +0x70, 0x10024da00\nRET                                                                    ; +0x74, 0x10024da04", "xrefs": ["GameObject::setRotation @ 0x1002f8544", "<???> @ 0x1008c8008", "<???> @ 0x10090a878", "<???> @ 0x100947af0"], "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"}