{"type": "func", "start": 377264, "end": 377292, "name": "sub_5C1B0", "pseudocode": "// \n// sub_5C1B0 from 0x5c1b0 to 0x5c1cc (28 bytes)\n// \n// 5 xrefs:\n// > sub_674BC @ 0x6754c\n// > sub_7A768 @ 0x7a8fc\n// > sub_7C19C @ 0x7c404\n// > sub_7C19C @ 0x7c50c\n// > FMOD::Channel::getCurrentSound @ 0xceec4\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_5C1B0(__int64 a1, _QWORD *a2)\n{\n  __int64 v2; // x8\n\n  if ( !a2 )\n    return 31;\n  v2 = *(_QWORD *)(a1 + 472);\n  if ( v2 )\n  {\n    *a2 = *(_QWORD *)(v2 + 40);\n    return 0;\n  }\n  else\n  {\n    *a2 = 0;\n    return 30;\n  }\n}", "assembly": "; \n; sub_5C1B0 from 0x5c1b0 to 0x5c1cc (28 bytes)\n; \n; 5 xrefs:\n; > sub_674BC @ 0x6754c\n; > sub_7A768 @ 0x7a8fc\n; > sub_7C19C @ 0x7c404\n; > sub_7C19C @ 0x7c50c\n; > FMOD::Channel::getCurrentSound @ 0xceec4\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_5C1C4                                          ; +0x0, 0x5c1b0\nLDR             X8, [X0,#0x1D8]                                        ; +0x4, 0x5c1b4\nCBZ             X8, loc_5C1C8                                          ; +0x8, 0x5c1b8\nLDR             X8, [X8,#0x28]                                         ; +0xc, 0x5c1bc\nB               loc_5C5B0                                              ; +0x10, 0x5c1c0\nB               loc_5C4E4                                              ; +0x14, 0x5c1c4\nB               loc_5C734                                              ; +0x18, 0x5c1c8", "xrefs": ["sub_674BC @ 0x6754c", "sub_7A768 @ 0x7a8fc", "sub_7C19C @ 0x7c404", "sub_7C19C @ 0x7c50c", "FMOD::Channel::getCurrentSound @ 0xceec4"], "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"}