; ; sub_58984 from 0x58984 to 0x589c4 (64 bytes) ; ; 2 xrefs: ; > sub_588B4 @ 0x588f0 ; > FMOD::ChannelGroup::getChannel @ 0xd2470 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; CBZ X2, loc_589C0 ; +0x0, 0x58984 ADD X8, X0, #0x1A8 ; +0x4, 0x58988 ADD W9, W1, #1 ; +0x8, 0x5898c MOV X10, X8 ; +0xc, 0x58990 STR XZR, [X2] ; +0x10, 0x58994 LDR X10, [X10] ; +0x14, 0x58998 CMP X10, X8 ; +0x18, 0x5899c B.EQ loc_589C0 ; +0x1c, 0x589a0 SUBS W9, W9, #1 ; +0x20, 0x589a4 B.NE loc_58998 ; +0x24, 0x589a8 LDR X8, [X10,#0x10] ; +0x28, 0x589ac MOV W0, WZR ; +0x2c, 0x589b0 LDR X8, [X8,#0x50] ; +0x30, 0x589b4 STR X8, [X2] ; +0x34, 0x589b8 RET ; +0x38, 0x589bc B loc_59348 ; +0x3c, 0x589c0