{"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 (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:51 +0000\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 (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:51 +0000\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_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"}