{"type": "func", "start": 3673976, "end": 3673998, "name": "EditorUI::rotationforCommand", "pseudocode": "// \n// EditorUI::rotationforCommand from 0x380f78 to 0x380f8e (22 bytes)\n// \n// 3 xrefs:\n// > EditorUI::transformObject @ 0x385830\n// > EditorUI::transformObjectCall @ 0x39fe9c\n// > EditorUI::transformObjectCall @ 0x3a003c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nfloat EditorUI::rotationforCommand(EditorUI *a1, EditCommand a2)\n{\n  unsigned __int32 v2; // r1\n\n  v2 = a2 - 23;\n  if ( v2 > 3 )\n    return 0.0;\n  else\n    return *(float *)&word_9AA83C[2 * v2 + 6];\n}", "assembly": "; \n; EditorUI::rotationforCommand from 0x380f78 to 0x380f8e (22 bytes)\n; \n; 3 xrefs:\n; > EditorUI::transformObject @ 0x385830\n; > EditorUI::transformObjectCall @ 0x39fe9c\n; > EditorUI::transformObjectCall @ 0x3a003c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSUBS            R1, #0x17                                              ; +0x0, 0x380f78\nCMP             R1, #3                                                 ; +0x2, 0x380f7a\nBHI             loc_380F8A                                             ; +0x4, 0x380f7c\nLDR             R3, =(word_9AA83C - 0x380F84)                          ; +0x6, 0x380f7e\nADD             R3, PC; word_9AA83C                                    ; +0x8, 0x380f80\nADD.W           R1, R3, R1,LSL#2                                       ; +0xa, 0x380f82\nLDR             R0, [R1,#0xC]                                          ; +0xe, 0x380f86\nBX              LR                                                     ; +0x10, 0x380f88\nMOVS            R0, #0                                                 ; +0x12, 0x380f8a\nBX              LR                                                     ; +0x14, 0x380f8c", "xrefs": ["EditorUI::transformObject @ 0x385830", "EditorUI::transformObjectCall @ 0x39fe9c", "EditorUI::transformObjectCall @ 0x3a003c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}