{"type": "func", "start": 7394504, "end": 7394526, "name": "EditorUI::rotationforCommand", "pseudocode": "// \n// EditorUI::rotationforCommand from 0x70d4c8 to 0x70d4de (22 bytes)\n// \n// 3 xrefs:\n// > EditorUI::transformObject @ 0x70df00\n// > EditorUI::transformObjectCall @ 0x70e46a\n// > EditorUI::transformObjectCall @ 0x70e538\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\nint __fastcall EditorUI::rotationforCommand(int a1, int a2)\n{\n  unsigned int v2; // r1\n\n  v2 = a2 - 39;\n  if ( v2 > 3 )\n    return 0;\n  else\n    return dword_BF0310[v2];\n}", "assembly": "; \n; EditorUI::rotationforCommand from 0x70d4c8 to 0x70d4de (22 bytes)\n; \n; 3 xrefs:\n; > EditorUI::transformObject @ 0x70df00\n; > EditorUI::transformObjectCall @ 0x70e46a\n; > EditorUI::transformObjectCall @ 0x70e538\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; \nSUBS            R1, #0x27 ; '''                                        ; +0x0, 0x70d4c8\nCMP             R1, #3                                                 ; +0x2, 0x70d4ca\nBHI             loc_70D4DA                                             ; +0x4, 0x70d4cc\nLDR             R3, =(dword_BF0310 - 0x70D4D4)                         ; +0x6, 0x70d4ce\nADD             R3, PC; dword_BF0310                                   ; +0x8, 0x70d4d0\nADD.W           R1, R3, R1,LSL#2                                       ; +0xa, 0x70d4d2\nLDR             R0, [R1]                                               ; +0xe, 0x70d4d6\nBX              LR                                                     ; +0x10, 0x70d4d8\nMOVS            R0, #0                                                 ; +0x12, 0x70d4da\nBX              LR                                                     ; +0x14, 0x70d4dc", "xrefs": ["EditorUI::transformObject @ 0x70df00", "EditorUI::transformObjectCall @ 0x70e46a", "EditorUI::transformObjectCall @ 0x70e538"], "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"}