{"type": "func", "start": 7399120, "end": 7399362, "name": "EditorUI::angleChanged", "pseudocode": "// \n// EditorUI::angleChanged from 0x70e6d0 to 0x70e7c2 (242 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'EditorUI::angleChanged @ 0x70e7cc\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:57:42 +0000\n// \n\nunsigned int __fastcall EditorUI::angleChanged(EditorUI *this, float a2, unsigned __int8 a3)\n{\n  int v6; // r0\n  float v7; // s17\n  float v8; // r0\n  int *v9; // r5\n  int v10; // r3\n  void (__fastcall *v11)(int *, _DWORD); // r7\n  float v12; // r0\n  int v13; // r4\n  int (__fastcall *v14)(int, _DWORD); // r5\n  float v15; // r0\n  unsigned int result; // r0\n  int (__fastcall *v17)(int *, _DWORD); // r4\n  float v18; // r0\n  cocos2d::CCArray *v19; // r7\n  _BYTE v20[8]; // [sp+Ch] [bp-Ch] BYREF\n\n  v6 = *((_DWORD *)this + 249);\n  if ( v6 )\n  {\n    v7 = COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)v6 + 192))(v6));\n    v8 = (*(float (__fastcall **)(_DWORD))(**((_DWORD **)this + 249) + 200))(*((_DWORD *)this + 249));\n    v9 = *((int **)this + 249);\n    v10 = *v9;\n    if ( v7 == v8 )\n    {\n      v17 = *(int (__fastcall **)(int *, _DWORD))(v10 + 180);\n      v18 = COERCE_FLOAT((*(int (__fastcall **)(int *))(v10 + 184))(v9));\n      return v17(v9, v18 + a2);\n    }\n    else\n    {\n      v11 = *(void (__fastcall **)(int *, _DWORD))(v10 + 188);\n      v12 = COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(v10 + 192))(*((_DWORD *)this + 249)));\n      v11(v9, v12 + a2);\n      v13 = *((_DWORD *)this + 249);\n      v14 = *(int (__fastcall **)(int, _DWORD))(*(_DWORD *)v13 + 196);\n      v15 = COERCE_FLOAT((*(int (__fastcall **)(int))(*(_DWORD *)v13 + 200))(v13));\n      return v14(v13, v15 + a2);\n    }\n  }\n  else\n  {\n    result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 167));\n    if ( result )\n    {\n      v19 = *((cocos2d::CCArray **)this + 167);\n      cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v20, (EditorUI *)((char *)this + 580));\n      return EditorUI::rotateObjects(this, v19, a2, (cocos2d::CCPoint *)v20, a3);\n    }\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::angleChanged from 0x70e6d0 to 0x70e7c2 (242 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'EditorUI::angleChanged @ 0x70e7cc\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:57:42 +0000\n; \nPUSH.W          {R4-R8,LR}                                             ; +0x0, 0x70e6d0\nMOV             R4, R0                                                 ; +0x4, 0x70e6d4\nVPUSH           {D8}                                                   ; +0x6, 0x70e6d6\nMOV             R8, R2                                                 ; +0xa, 0x70e6da\nLDR             R3, =(__stack_chk_guard_ptr - 0x70E6E2)                ; +0xc, 0x70e6dc\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0xe, 0x70e6de\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x10, 0x70e6e0\nVMOV            S16, R1                                                ; +0x12, 0x70e6e2\nLDR.W           R0, [R0,#0x3E4]                                        ; +0x16, 0x70e6e6\nSUB             SP, SP, #0x18                                          ; +0x1a, 0x70e6ea\nLDR             R2, [R3]                                               ; +0x1c, 0x70e6ec\nMOV             R6, R3                                                 ; +0x1e, 0x70e6ee\nSTR             R2, [SP,#0x18+var_4]                                   ; +0x20, 0x70e6f0\nCMP             R0, #0                                                 ; +0x22, 0x70e6f2\nBEQ             loc_70E780                                             ; +0x24, 0x70e6f4\nLDR             R3, [R0]                                               ; +0x26, 0x70e6f6\nLDR.W           R3, [R3,#0xC0]                                         ; +0x28, 0x70e6f8\nBLX             R3                                                     ; +0x2c, 0x70e6fc\nVMOV            S17, R0                                                ; +0x2e, 0x70e6fe\nLDR.W           R0, [R4,#0x3E4]                                        ; +0x32, 0x70e702\nLDR             R3, [R0]                                               ; +0x36, 0x70e706\nLDR.W           R3, [R3,#0xC8]                                         ; +0x38, 0x70e708\nBLX             R3                                                     ; +0x3c, 0x70e70c\nLDR.W           R5, [R4,#0x3E4]                                        ; +0x3e, 0x70e70e\nLDR             R3, [R5]                                               ; +0x42, 0x70e712\nVMOV            S15, R0                                                ; +0x44, 0x70e714\nVCMP.F32        S17, S15                                               ; +0x48, 0x70e718\nVMRS            APSR_nzcv, FPSCR                                       ; +0x4c, 0x70e71c\nBEQ             loc_70E762                                             ; +0x50, 0x70e720\nLDR.W           R7, [R3,#0xBC]                                         ; +0x52, 0x70e722\nMOV             R0, R5                                                 ; +0x56, 0x70e726\nLDR.W           R3, [R3,#0xC0]                                         ; +0x58, 0x70e728\nBLX             R3                                                     ; +0x5c, 0x70e72c\nVMOV            S15, R0                                                ; +0x5e, 0x70e72e\nMOV             R0, R5                                                 ; +0x62, 0x70e732\nVADD.F32        S15, S15, S16                                          ; +0x64, 0x70e734\nVMOV            R1, S15                                                ; +0x68, 0x70e738\nBLX             R7                                                     ; +0x6c, 0x70e73c\nLDR.W           R4, [R4,#0x3E4]                                        ; +0x6e, 0x70e73e\nLDR             R3, [R4]                                               ; +0x72, 0x70e742\nMOV             R0, R4                                                 ; +0x74, 0x70e744\nLDR.W           R5, [R3,#0xC4]                                         ; +0x76, 0x70e746\nLDR.W           R3, [R3,#0xC8]                                         ; +0x7a, 0x70e74a\nBLX             R3                                                     ; +0x7e, 0x70e74e\nVMOV            S15, R0                                                ; +0x80, 0x70e750\nMOV             R0, R4                                                 ; +0x84, 0x70e754\nVADD.F32        S16, S15, S16                                          ; +0x86, 0x70e756\nVMOV            R1, S16                                                ; +0x8a, 0x70e75a\nBLX             R5                                                     ; +0x8e, 0x70e75e\nB               loc_70E7AC                                             ; +0x90, 0x70e760\nLDR.W           R4, [R3,#0xB4]                                         ; +0x92, 0x70e762\nMOV             R0, R5                                                 ; +0x96, 0x70e766\nLDR.W           R3, [R3,#0xB8]                                         ; +0x98, 0x70e768\nBLX             R3                                                     ; +0x9c, 0x70e76c\nVMOV            S15, R0                                                ; +0x9e, 0x70e76e\nMOV             R0, R5                                                 ; +0xa2, 0x70e772\nVADD.F32        S16, S15, S16                                          ; +0xa4, 0x70e774\nVMOV            R1, S16                                                ; +0xa8, 0x70e778\nBLX             R4                                                     ; +0xac, 0x70e77c\nB               loc_70E7AC                                             ; +0xae, 0x70e77e\nLDR.W           R0, [R4,#0x29C]; this                                  ; +0xb0, 0x70e780\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xb4, 0x70e784\nCBZ             R0, loc_70E7AC                                         ; +0xb8, 0x70e788\nLDR.W           R7, [R4,#0x29C]                                        ; +0xba, 0x70e78a\nADD             R5, SP, #0x18+var_C                                    ; +0xbe, 0x70e78e\nADD.W           R1, R4, #0x244; cocos2d::CCPoint *                     ; +0xc0, 0x70e790\nMOV             R0, R5; this                                           ; +0xc4, 0x70e794\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0xc6, 0x70e796\nSTR.W           R8, [SP,#0x18+var_18]                                  ; +0xca, 0x70e79a\nMOV             R0, R4                                                 ; +0xce, 0x70e79e\nMOV             R1, R7                                                 ; +0xd0, 0x70e7a0\nVMOV            R2, S16                                                ; +0xd2, 0x70e7a2\nMOV             R3, R5                                                 ; +0xd6, 0x70e7a6\nBL              _ZN8EditorUI13rotateObjectsEPN7cocos2d7CCArrayEfNS0_7CCPointEb; EditorUI::rotateObjects(cocos2d::CCArray *,float,cocos2d::CCPoint,bool) ; +0xd8, 0x70e7a8\nLDR             R2, [SP,#0x18+var_4]                                   ; +0xdc, 0x70e7ac\nLDR             R3, [R6]                                               ; +0xde, 0x70e7ae\nCMP             R2, R3                                                 ; +0xe0, 0x70e7b0\nBEQ             loc_70E7B8                                             ; +0xe2, 0x70e7b2\nBLX             __stack_chk_fail                                       ; +0xe4, 0x70e7b4\nADD             SP, SP, #0x18                                          ; +0xe8, 0x70e7b8\nVPOP            {D8}                                                   ; +0xea, 0x70e7ba\nPOP.W           {R4-R8,PC}                                             ; +0xee, 0x70e7be", "xrefs": ["`non-virtual thunk to'EditorUI::angleChanged @ 0x70e7cc"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}