{"type": "func", "start": 451688, "end": 451756, "name": "sub_6E468", "pseudocode": "// \n// sub_6E468 from 0x6e468 to 0x6e4ac (68 bytes)\n// \n// 1 xrefs:\n// > FMOD::System::getChannel @ 0xdde1c\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:13:58 +0000\n// \n\n__int64 __fastcall sub_6E468(__int64 a1, int a2, _QWORD *a3)\n{\n  __int64 result; // x0\n\n  result = 31;\n  if ( (a2 & 0x80000000) == 0 && a3 )\n  {\n    if ( *(_DWORD *)(a1 + 480) <= a2 )\n    {\n      return 31;\n    }\n    else\n    {\n      result = 0;\n      *a3 = (*(_DWORD *)(a1 + 69816) << 29) | ((a2 & 0xFFF) << 17) | 0x1FFFFu;\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_6E468 from 0x6e468 to 0x6e4ac (68 bytes)\n; \n; 1 xrefs:\n; > FMOD::System::getChannel @ 0xdde1c\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:13:58 +0000\n; \nMOV             X8, X0                                                 ; +0x0, 0x6e468\nMOV             W0, #0x1F                                              ; +0x4, 0x6e46c\nTBNZ            W1, #0x1F, locret_6E4A4                                ; +0x8, 0x6e470\nCBZ             X2, locret_6E4A4                                       ; +0xc, 0x6e474\nLDR             W9, [X8,#0x1E0]                                        ; +0x10, 0x6e478\nCMP             W9, W1                                                 ; +0x14, 0x6e47c\nB.LE            loc_6E4A8                                              ; +0x18, 0x6e480\nMOV             W9, #0x110B8                                           ; +0x1c, 0x6e484\nLDR             W8, [X8,X9]                                            ; +0x24, 0x6e48c\nMOV             W0, WZR                                                ; +0x28, 0x6e490\nLSL             W8, W8, #0x1D                                          ; +0x2c, 0x6e494\nBFI             W8, W1, #0x11, #0xC                                    ; +0x30, 0x6e498\nORR             W8, W8, #0x1FFFF                                       ; +0x34, 0x6e49c\nSTR             X8, [X2]                                               ; +0x38, 0x6e4a0\nRET                                                                    ; +0x3c, 0x6e4a4\nB               loc_70100                                              ; +0x40, 0x6e4a8", "xrefs": ["FMOD::System::getChannel @ 0xdde1c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}