{"type": "func", "start": 370508, "end": 370540, "name": "sub_5A74C", "pseudocode": "// \n// sub_5A74C from 0x5a74c to 0x5a76c (32 bytes)\n// \n// 2 xrefs:\n// > sub_59CF0 @ 0x59d60\n// > FMOD::Channel::getLoopCount @ 0xcefe4\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_5A74C(__int64 a1, __int64 a2)\n{\n  __int64 v2; // x0\n\n  if ( !a2 )\n    return 31;\n  v2 = *(_QWORD *)(a1 + 472);\n  if ( v2 )\n    return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);\n  else\n    return 30;\n}", "assembly": "; \n; sub_5A74C from 0x5a74c to 0x5a76c (32 bytes)\n; \n; 2 xrefs:\n; > sub_59CF0 @ 0x59d60\n; > FMOD::Channel::getLoopCount @ 0xcefe4\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_5A764                                          ; +0x0, 0x5a74c\nLDR             X0, [X0,#0x1D8]                                        ; +0x4, 0x5a750\nCBZ             X0, loc_5A768                                          ; +0x8, 0x5a754\nLDR             X8, [X0]                                               ; +0xc, 0x5a758\nLDR             X2, [X8,#0xA0]                                         ; +0x10, 0x5a75c\nBR              X2                                                     ; +0x14, 0x5a760\nB               loc_5C4E4                                              ; +0x18, 0x5a764\nB               loc_5C4EC                                              ; +0x1c, 0x5a768", "xrefs": ["sub_59CF0 @ 0x59d60", "FMOD::Channel::getLoopCount @ 0xcefe4"], "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"}