{"type": "func", "start": 5370816416, "end": 5370816699, "name": "EditorUI::angleChanged", "pseudocode": "// \n// EditorUI::angleChanged from 0x1402027a0 to 0x1402028bb (283 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x140751790\n// > <???> @ 0x1408a3efc\n// > <???> @ 0x1408a3f0c\n// > <???> @ 0x14091af18\n// \n// This function is hookable on this platform (idp: pc, 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:28:13 +0000\n// \n\nunsigned int __fastcall EditorUI::angleChanged(__int64 a1, float a2, char a3)\n{\n  __int64 v4; // rcx\n  double v6; // xmm0_8\n  float v7; // xmm6_4\n  __int64 *v8; // rdi\n  __int64 v9; // rsi\n  unsigned int result; // eax\n  cocos2d::CCPoint *v11; // rax\n  char v12; // [rsp+60h] [rbp+8h] BYREF\n\n  v4 = *(_QWORD *)(a1 + 1144);\n  if ( v4 )\n  {\n    v6 = (*(double (**)(void))(*(_QWORD *)v4 + 392LL))();\n    v7 = *(float *)&v6;\n    *(float *)&v6 = (*(float (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1144) + 376LL))(*(_QWORD *)(a1 + 1144));\n    v8 = *(__int64 **)(a1 + 1144);\n    v9 = *v8;\n    if ( *(float *)&v6 == v7 )\n    {\n      (*(void (__fastcall **)(_QWORD))(v9 + 360))(*(_QWORD *)(a1 + 1144));\n      return (*(__int64 (__fastcall **)(__int64 *))(v9 + 352))(v8);\n    }\n    else\n    {\n      (*(void (__fastcall **)(_QWORD))(v9 + 376))(*(_QWORD *)(a1 + 1144));\n      (*(void (__fastcall **)(__int64 *))(v9 + 368))(v8);\n      (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1144) + 392LL))(*(_QWORD *)(a1 + 1144));\n      return (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 1144) + 384LL))(*(_QWORD *)(a1 + 1144));\n    }\n  }\n  else\n  {\n    result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 520));\n    if ( result )\n    {\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v12, (const struct cocos2d::CCPoint *)(a1 + 392));\n      return EditorUI::rotateObjects(a1 - 424, *(cocos2d::CCArray **)(a1 + 520), a2, v11, a3);\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::angleChanged from 0x1402027a0 to 0x1402028bb (283 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x140751790\n; > <???> @ 0x1408a3efc\n; > <???> @ 0x1408a3f0c\n; > <???> @ 0x14091af18\n; \n; This function is hookable on this platform (idp: pc, 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:28:13 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1402027a0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1402027a5\npush    rdi                                                            ; +0xa, 0x1402027aa\nsub     rsp, 50h                                                       ; +0xb, 0x1402027ab\nmov     rbx, rcx                                                       ; +0xf, 0x1402027af\nmovaps  [rsp+58h+var_28], xmm7                                         ; +0x12, 0x1402027b2\nmov     rcx, [rcx+478h]                                                ; +0x17, 0x1402027b7\nmovzx   esi, r8b                                                       ; +0x1e, 0x1402027be\nmovaps  xmm7, xmm1                                                     ; +0x22, 0x1402027c2\ntest    rcx, rcx                                                       ; +0x25, 0x1402027c5\njz      loc_140202865                                                  ; +0x28, 0x1402027c8\nmov     rax, [rcx]                                                     ; +0x2e, 0x1402027ce\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0x31, 0x1402027d1\ncall    qword ptr [rax+188h]                                           ; +0x36, 0x1402027d6\nmov     rcx, [rbx+478h]                                                ; +0x3c, 0x1402027dc\nmovaps  xmm6, xmm0                                                     ; +0x43, 0x1402027e3\nmov     rax, [rcx]                                                     ; +0x46, 0x1402027e6\ncall    qword ptr [rax+178h]                                           ; +0x49, 0x1402027e9\nmov     rdi, [rbx+478h]                                                ; +0x4f, 0x1402027ef\nucomiss xmm0, xmm6                                                     ; +0x56, 0x1402027f6\nmov     rsi, [rdi]                                                     ; +0x59, 0x1402027f9\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0x5c, 0x1402027fc\njp      short loc_140202823                                            ; +0x61, 0x140202801\njnz     short loc_140202823                                            ; +0x63, 0x140202803\nmov     rcx, rdi                                                       ; +0x65, 0x140202805\ncall    qword ptr [rsi+168h]                                           ; +0x68, 0x140202808\naddss   xmm0, xmm7                                                     ; +0x6e, 0x14020280e\nmov     rcx, rdi                                                       ; +0x72, 0x140202812\nmovaps  xmm1, xmm0                                                     ; +0x75, 0x140202815\ncall    qword ptr [rsi+160h]                                           ; +0x78, 0x140202818\njmp     loc_1402028A6                                                  ; +0x7e, 0x14020281e\nmov     rcx, rdi                                                       ; +0x83, 0x140202823\ncall    qword ptr [rsi+178h]                                           ; +0x86, 0x140202826\naddss   xmm0, xmm7                                                     ; +0x8c, 0x14020282c\nmov     rcx, rdi                                                       ; +0x90, 0x140202830\nmovaps  xmm1, xmm0                                                     ; +0x93, 0x140202833\ncall    qword ptr [rsi+170h]                                           ; +0x96, 0x140202836\nmov     rcx, [rbx+478h]                                                ; +0x9c, 0x14020283c\nmov     rax, [rcx]                                                     ; +0xa3, 0x140202843\ncall    qword ptr [rax+188h]                                           ; +0xa6, 0x140202846\nmov     rcx, [rbx+478h]                                                ; +0xac, 0x14020284c\naddss   xmm0, xmm7                                                     ; +0xb3, 0x140202853\nmov     rax, [rcx]                                                     ; +0xb7, 0x140202857\nmovaps  xmm1, xmm0                                                     ; +0xba, 0x14020285a\ncall    qword ptr [rax+180h]                                           ; +0xbd, 0x14020285d\njmp     short loc_1402028A6                                            ; +0xc3, 0x140202863\nmov     rcx, [rbx+208h]                                                ; +0xc5, 0x140202865\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xcc, 0x14020286c\ntest    eax, eax                                                       ; +0xd2, 0x140202872\njz      short loc_1402028A6                                            ; +0xd4, 0x140202874\nlea     rdx, [rbx+188h]                                                ; +0xd6, 0x140202876\nlea     rcx, [rsp+58h+arg_0]                                           ; +0xdd, 0x14020287d\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xe2, 0x140202882\nmov     rdx, [rbx+208h]                                                ; +0xe8, 0x140202888\nlea     rcx, [rbx-1A8h]                                                ; +0xef, 0x14020288f\nmov     r9, rax                                                        ; +0xf6, 0x140202896\nmov     [rsp+58h+var_38], sil                                          ; +0xf9, 0x140202899\nmovaps  xmm2, xmm7                                                     ; +0xfe, 0x14020289e\ncall    EditorUI__rotateObjects                                        ; +0x101, 0x1402028a1\nmov     rbx, [rsp+58h+arg_8]                                           ; +0x106, 0x1402028a6\nmov     rsi, [rsp+58h+arg_10]                                          ; +0x10b, 0x1402028ab\nmovaps  xmm7, [rsp+58h+var_28]                                         ; +0x110, 0x1402028b0\nadd     rsp, 50h                                                       ; +0x115, 0x1402028b5\npop     rdi                                                            ; +0x119, 0x1402028b9\nretn                                                                   ; +0x11a, 0x1402028ba", "xrefs": ["<???> @ 0x140751790", "<???> @ 0x1408a3efc", "<???> @ 0x1408a3f0c", "<???> @ 0x14091af18"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}