{"type": "func", "start": 12590144, "end": 12590464, "name": "EditorUI::angleChanged", "pseudocode": "// \n// EditorUI::angleChanged from 0xc01c40 to 0xc01d80 (320 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'EditorUI::angleChanged @ 0xc01d84\n// > <???> @ 0xc9508\n// > <???> @ 0x14372b0\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 13:03:49 +0000\n// \n\n__int64 __fastcall EditorUI::angleChanged(EditorUI *this, float a2, unsigned __int8 a3)\n{\n  __int64 v5; // x0\n  float v7; // s9\n  __int64 v8; // x20\n  void (__fastcall *v9)(__int64, float); // x21\n  float v10; // s0\n  __int64 v12; // x21\n  void (__fastcall *v13)(__int64, float); // x22\n  float v14; // s0\n  __int64 v15; // x20\n  void (__fastcall *v16)(__int64, float); // x21\n  float v17; // s0\n  cocos2d::CCArray *v18; // x22\n  _BYTE v19[8]; // [xsp+50h] [xbp+50h] BYREF\n\n  v5 = *((_QWORD *)this + 187);\n  if ( v5 )\n  {\n    v7 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v5 + 384LL))(v5);\n    if ( v7 == (*(float (__fastcall **)(_QWORD))(**((_QWORD **)this + 187) + 400LL))(*((_QWORD *)this + 187)) )\n    {\n      v8 = *((_QWORD *)this + 187);\n      v9 = *(void (__fastcall **)(__int64, float))(*(_QWORD *)v8 + 360LL);\n      v10 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v8 + 368LL))(v8);\n      v9(v8, v10 + a2);\n    }\n    else\n    {\n      v12 = *((_QWORD *)this + 187);\n      v13 = *(void (__fastcall **)(__int64, float))(*(_QWORD *)v12 + 376LL);\n      v14 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v12 + 384LL))(v12);\n      v13(v12, a2 + v14);\n      v15 = *((_QWORD *)this + 187);\n      v16 = *(void (__fastcall **)(__int64, float))(*(_QWORD *)v15 + 392LL);\n      v17 = (*(float (__fastcall **)(__int64))(*(_QWORD *)v15 + 400LL))(v15);\n      v16(v15, a2 + v17);\n    }\n  }\n  else if ( (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 112)) )\n  {\n    v18 = *((cocos2d::CCArray **)this + 112);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, (EditorUI *)((char *)this + 768));\n    EditorUI::rotateObjects((__int64)this, v18, (cocos2d::CCPoint *)v19, a3, a2);\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; EditorUI::angleChanged from 0xc01c40 to 0xc01d80 (320 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'EditorUI::angleChanged @ 0xc01d84\n; > <???> @ 0xc9508\n; > <???> @ 0x14372b0\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 13:03:49 +0000\n; \nSTP             X29, X30, [SP,#var_60]!                                ; +0x0, 0xc01c40\nMOV             X29, SP                                                ; +0x4, 0xc01c44\nSTP             X19, X20, [SP,#0x60+var_50]                            ; +0x8, 0xc01c48\nSTP             D8, D9, [SP,#0x60+var_30]                              ; +0xc, 0xc01c4c\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0xc01c50\nMOV             X20, X0                                                ; +0x14, 0xc01c54\nSTP             X21, X22, [SP,#0x60+var_40]                            ; +0x18, 0xc01c58\nUXTB            W21, W1                                                ; +0x1c, 0xc01c5c\nLDR             X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0xc01c60\nLDR             X0, [X0,#0x5D8]                                        ; +0x24, 0xc01c64\nFMOV            S8, S0                                                 ; +0x28, 0xc01c68\nLDR             X1, [X1]                                               ; +0x2c, 0xc01c6c\nSTR             X1, [X29,#0x60+var_8]                                  ; +0x30, 0xc01c70\nCBZ             X0, loc_C01D3C                                         ; +0x34, 0xc01c74\nLDR             X1, [X0]                                               ; +0x38, 0xc01c78\nLDR             X1, [X1,#0x180]                                        ; +0x3c, 0xc01c7c\nBLR             X1                                                     ; +0x40, 0xc01c80\nLDR             X1, [X20,#0x5D8]                                       ; +0x44, 0xc01c84\nFMOV            S9, S0                                                 ; +0x48, 0xc01c88\nMOV             X0, X1                                                 ; +0x4c, 0xc01c8c\nLDR             X1, [X1]                                               ; +0x50, 0xc01c90\nLDR             X1, [X1,#0x190]                                        ; +0x54, 0xc01c94\nBLR             X1                                                     ; +0x58, 0xc01c98\nFCMP            S9, S0                                                 ; +0x5c, 0xc01c9c\nB.NE            loc_C01CF0                                             ; +0x60, 0xc01ca0\nLDR             X20, [X20,#0x5D8]                                      ; +0x64, 0xc01ca4\nMOV             X0, X20                                                ; +0x68, 0xc01ca8\nLDR             X1, [X20]                                              ; +0x6c, 0xc01cac\nLDR             X2, [X1,#0x170]                                        ; +0x70, 0xc01cb0\nLDR             X21, [X1,#0x168]                                       ; +0x74, 0xc01cb4\nBLR             X2                                                     ; +0x78, 0xc01cb8\nFADD            S0, S0, S8                                             ; +0x7c, 0xc01cbc\nMOV             X0, X20                                                ; +0x80, 0xc01cc0\nBLR             X21                                                    ; +0x84, 0xc01cc4\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x88, 0xc01cc8\nLDR             X1, [X29,#0x60+var_8]                                  ; +0x8c, 0xc01ccc\nLDR             X0, [X19]                                              ; +0x90, 0xc01cd0\nCMP             X1, X0                                                 ; +0x94, 0xc01cd4\nB.NE            loc_C01D7C                                             ; +0x98, 0xc01cd8\nLDP             X19, X20, [SP,#0x60+var_50]                            ; +0x9c, 0xc01cdc\nLDP             D8, D9, [SP,#0x60+var_30]                              ; +0xa0, 0xc01ce0\nLDP             X21, X22, [SP,#0x60+var_40]                            ; +0xa4, 0xc01ce4\nLDP             X29, X30, [SP+0x60+var_60],#0x60                       ; +0xa8, 0xc01ce8\nRET                                                                    ; +0xac, 0xc01cec\nLDR             X21, [X20,#0x5D8]                                      ; +0xb0, 0xc01cf0\nMOV             X0, X21                                                ; +0xb4, 0xc01cf4\nLDR             X1, [X21]                                              ; +0xb8, 0xc01cf8\nLDR             X2, [X1,#0x180]                                        ; +0xbc, 0xc01cfc\nLDR             X22, [X1,#0x178]                                       ; +0xc0, 0xc01d00\nBLR             X2                                                     ; +0xc4, 0xc01d04\nFADD            S0, S8, S0                                             ; +0xc8, 0xc01d08\nMOV             X0, X21                                                ; +0xcc, 0xc01d0c\nBLR             X22                                                    ; +0xd0, 0xc01d10\nLDR             X20, [X20,#0x5D8]                                      ; +0xd4, 0xc01d14\nMOV             X0, X20                                                ; +0xd8, 0xc01d18\nLDR             X1, [X20]                                              ; +0xdc, 0xc01d1c\nLDR             X2, [X1,#0x190]                                        ; +0xe0, 0xc01d20\nLDR             X21, [X1,#0x188]                                       ; +0xe4, 0xc01d24\nBLR             X2                                                     ; +0xe8, 0xc01d28\nFADD            S0, S8, S0                                             ; +0xec, 0xc01d2c\nMOV             X0, X20                                                ; +0xf0, 0xc01d30\nBLR             X21                                                    ; +0xf4, 0xc01d34\nB               loc_C01CC8                                             ; +0xf8, 0xc01d38\nLDR             X0, [X20,#0x380]; this                                 ; +0xfc, 0xc01d3c\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x100, 0xc01d40\nCBZ             W0, loc_C01CC8                                         ; +0x104, 0xc01d44\nADD             X2, X29, #0x60+var_10                                  ; +0x108, 0xc01d48\nADD             X1, X20, #0x300; cocos2d::CCPoint *                    ; +0x10c, 0xc01d4c\nMOV             X0, X2; this                                           ; +0x110, 0xc01d50\nLDR             X22, [X20,#0x380]                                      ; +0x114, 0xc01d54\nSTR             X2, [X29,#0x60+var_18]                                 ; +0x118, 0xc01d58\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x11c, 0xc01d5c\nFMOV            S0, S8                                                 ; +0x120, 0xc01d60\nLDR             X2, [X29,#0x60+var_18]                                 ; +0x124, 0xc01d64\nMOV             X0, X20                                                ; +0x128, 0xc01d68\nMOV             X1, X22                                                ; +0x12c, 0xc01d6c\nMOV             W3, W21                                                ; +0x130, 0xc01d70\nBL              _ZN8EditorUI13rotateObjectsEPN7cocos2d7CCArrayEfNS0_7CCPointEb; EditorUI::rotateObjects(cocos2d::CCArray *,float,cocos2d::CCPoint,bool) ; +0x134, 0xc01d74\nB               loc_C01CC8                                             ; +0x138, 0xc01d78\nBL              .__stack_chk_fail                                      ; +0x13c, 0xc01d7c", "xrefs": ["`non-virtual thunk to'EditorUI::angleChanged @ 0xc01d84", "<???> @ 0xc9508", "<???> @ 0x14372b0"], "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"}