{"type": "func", "start": 705896, "end": 705952, "name": "sub_AC568", "pseudocode": "// \n// sub_AC568 from 0xac568 to 0xac5a0 (56 bytes)\n// \n// 1 xrefs:\n// > FMOD::DSPConnection::getType @ 0xa8d9c\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\n__int64 __fastcall sub_AC568(__int64 a1, int *a2)\n{\n  unsigned int v2; // w8\n  int v3; // w8\n\n  if ( !a2 )\n    return 31;\n  v2 = *(_DWORD *)(a1 + 124);\n  if ( (~v2 & 5) != 0 )\n  {\n    if ( (v2 & 1) != 0 )\n      v3 = 1;\n    else\n      v3 = (v2 >> 1) & 2;\n  }\n  else\n  {\n    v3 = 3;\n  }\n  *a2 = v3;\n  return 0;\n}", "assembly": "; \n; sub_AC568 from 0xac568 to 0xac5a0 (56 bytes)\n; \n; 1 xrefs:\n; > FMOD::DSPConnection::getType @ 0xa8d9c\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             X1, loc_AC584                                          ; +0x0, 0xac568\nLDR             W8, [X0,#0x7C]                                         ; +0x4, 0xac56c\nMOV             W9, #5                                                 ; +0x8, 0xac570\nBICS            WZR, W9, W8                                            ; +0xc, 0xac574\nB.NE            loc_AC588                                              ; +0x10, 0xac578\nMOV             W8, #3                                                 ; +0x14, 0xac57c\nB               loc_AC59C                                              ; +0x18, 0xac580\nB               loc_AC7EC                                              ; +0x1c, 0xac584\nTBNZ            W8, #0, loc_AC598                                      ; +0x20, 0xac588\nLSR             W8, W8, #1                                             ; +0x24, 0xac58c\nAND             W8, W8, #2                                             ; +0x28, 0xac590\nB               loc_AC59C                                              ; +0x2c, 0xac594\nMOV             W8, #1                                                 ; +0x30, 0xac598\nB               loc_AC87C                                              ; +0x34, 0xac59c", "xrefs": ["FMOD::DSPConnection::getType @ 0xa8d9c"], "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"}