{"type": "func", "start": 583150, "end": 583188, "name": "sub_8E5EE", "pseudocode": "// \n// sub_8E5EE from 0x8e5ee to 0x8e614 (38 bytes)\n// \n// 1 xrefs:\n// > FMOD::DSPConnection::getType @ 0x8ac4c\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\nint __fastcall sub_8E5EE(int a1, int *a2)\n{\n  unsigned int v2; // r0\n  int v3; // r0\n\n  if ( !a2 )\n    return 31;\n  v2 = *(_DWORD *)(a1 + 72);\n  if ( (v2 & 5) == 5 )\n  {\n    v3 = 3;\n  }\n  else if ( v2 << 31 )\n  {\n    v3 = 1;\n  }\n  else\n  {\n    v3 = (v2 >> 1) & 2;\n  }\n  *a2 = v3;\n  return 0;\n}", "assembly": "; \n; sub_8E5EE from 0x8e5ee to 0x8e614 (38 bytes)\n; \n; 1 xrefs:\n; > FMOD::DSPConnection::getType @ 0x8ac4c\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\nCBZ             R1, loc_8E5FE                                          ; +0x0, 0x8e5ee\nLDR             R0, [R0,#0x48]                                         ; +0x2, 0x8e5f0\nAND.W           R2, R0, #5                                             ; +0x4, 0x8e5f2\nCMP             R2, #5                                                 ; +0x8, 0x8e5f6\nBNE             loc_8E602                                              ; +0xa, 0x8e5f8\nMOVS            R0, #3                                                 ; +0xc, 0x8e5fa\nB               loc_8E60E                                              ; +0xe, 0x8e5fc\nMOVS            R0, #0x1F                                              ; +0x10, 0x8e5fe\nBX              LR                                                     ; +0x12, 0x8e600\nLSLS            R2, R0, #0x1F                                          ; +0x14, 0x8e602\nITTE EQ                                                                ; +0x16, 0x8e604\nMOVEQ           R2, #2                                                 ; +0x18, 0x8e606\nANDEQ.W         R0, R2, R0,LSR#1                                       ; +0x1a, 0x8e608\nMOVNE           R0, #1                                                 ; +0x1e, 0x8e60c\nSTR             R0, [R1]                                               ; +0x20, 0x8e60e\nMOVS            R0, #0                                                 ; +0x22, 0x8e610\nBX              LR                                                     ; +0x24, 0x8e612", "xrefs": ["FMOD::DSPConnection::getType @ 0x8ac4c"], "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"}