{"type": "func", "start": 362948, "end": 363004, "name": "sub_589C4", "pseudocode": "// \n// sub_589C4 from 0x589c4 to 0x589fc (56 bytes)\n// \n// 1 xrefs:\n// > FMOD::ChannelGroup::getNumGroups @ 0xd21a8\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_589C4(__int64 a1, _DWORD *a2)\n{\n  if ( !a2 )\n    return 31;\n  *a2 = sub_59188(a1 + 400);\n  return 0;\n}", "assembly": "; \n; sub_589C4 from 0x589c4 to 0x589fc (56 bytes)\n; \n; 1 xrefs:\n; > FMOD::ChannelGroup::getNumGroups @ 0xd21a8\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_589F8                                          ; +0x0, 0x589c4\nSTR             X19, [SP,#-0x10+var_10]!                               ; +0x4, 0x589c8\nADD             X0, X0, #0x190                                         ; +0x8, 0x589cc\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0xc, 0x589d0\nADD             X29, SP, #0x10                                         ; +0x10, 0x589d4\nMOV             X19, X1                                                ; +0x14, 0x589d8\nBL              sub_59188                                              ; +0x18, 0x589dc\nMOV             W8, W0                                                 ; +0x1c, 0x589e0\nSTR             W8, [X19]                                              ; +0x20, 0x589e4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x24, 0x589e8\nMOV             W0, WZR                                                ; +0x28, 0x589ec\nLDR             X19, [SP+0x10+var_10],#0x20                            ; +0x2c, 0x589f0\nRET                                                                    ; +0x30, 0x589f4\nB               loc_59348                                              ; +0x34, 0x589f8", "xrefs": ["FMOD::ChannelGroup::getNumGroups @ 0xd21a8"], "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"}