{"type": "func", "start": 374808, "end": 374840, "name": "sub_5B818", "pseudocode": "// \n// sub_5B818 from 0x5b818 to 0x5b838 (32 bytes)\n// \n// 2 xrefs:\n// > sub_58828 @ 0x58894\n// > FMOD::Channel::getFrequency @ 0xcedc8\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_5B818(__int64 a1, _DWORD *a2)\n{\n  if ( !a2 )\n    return 31;\n  if ( !*(_QWORD *)(a1 + 472) )\n    return 30;\n  *a2 = *(_DWORD *)(a1 + 556);\n  return 0;\n}", "assembly": "; \n; sub_5B818 from 0x5b818 to 0x5b838 (32 bytes)\n; \n; 2 xrefs:\n; > sub_58828 @ 0x58894\n; > FMOD::Channel::getFrequency @ 0xcedc8\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_5B830                                          ; +0x0, 0x5b818\nLDR             X9, [X0,#0x1D8]                                        ; +0x4, 0x5b81c\nMOV             X8, X0                                                 ; +0x8, 0x5b820\nCBZ             X9, loc_5B834                                          ; +0xc, 0x5b824\nLDR             W8, [X8,#0x22C]                                        ; +0x10, 0x5b828\nB               loc_5C4F4                                              ; +0x14, 0x5b82c\nB               loc_5C4E4                                              ; +0x18, 0x5b830\nB               loc_5C4EC                                              ; +0x1c, 0x5b834", "xrefs": ["sub_58828 @ 0x58894", "FMOD::Channel::getFrequency @ 0xcedc8"], "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"}