{"type": "func", "start": 365296, "end": 365368, "name": "sub_592F0", "pseudocode": "// \n// sub_592F0 from 0x592f0 to 0x59338 (72 bytes)\n// \n// 1 xrefs:\n// > FMOD::ChannelGroup::getName @ 0xd2340\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_592F0(__int64 a1, __int64 a2, __int64 a3)\n{\n  const char *v3; // x8\n\n  if ( !a2 )\n    return 31;\n  v3 = *(const char **)(a1 + 480);\n  if ( (int)a3 >= 256 )\n    a3 = 256;\n  else\n    a3 = (unsigned int)a3;\n  if ( !v3 )\n    v3 = \"(null)\";\n  sub_E3C94(a2, v3, a3);\n  return 0;\n}", "assembly": "; \n; sub_592F0 from 0x592f0 to 0x59338 (72 bytes)\n; \n; 1 xrefs:\n; > FMOD::ChannelGroup::getName @ 0xd2340\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\nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x592f0\nMOV             X29, SP                                                ; +0x4, 0x592f4\nCBZ             X1, loc_5932C                                          ; +0x8, 0x592f8\nLDR             X8, [X0,#0x1E0]                                        ; +0xc, 0x592fc\nCMP             W2, #0x100                                             ; +0x10, 0x59300\nMOV             W9, #0x100                                             ; +0x14, 0x59304\nCSEL            W2, W2, W9, LT                                         ; +0x18, 0x59308\nCBNZ            X8, loc_59318                                          ; +0x1c, 0x5930c\nADRL            X8, aNull; \"(null)\"                                    ; +0x20, 0x59310\nMOV             X0, X1                                                 ; +0x28, 0x59318\nMOV             X1, X8                                                 ; +0x2c, 0x5931c\nBL              sub_E3C94                                              ; +0x30, 0x59320\nMOV             W0, WZR                                                ; +0x34, 0x59324\nB               loc_59330                                              ; +0x38, 0x59328\nMOV             W0, #0x1F                                              ; +0x3c, 0x5932c\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x40, 0x59330\nRET                                                                    ; +0x44, 0x59334", "xrefs": ["FMOD::ChannelGroup::getName @ 0xd2340"], "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"}