; ; sub_680B8 from 0x680b8 to 0x68164 (172 bytes) ; ; 2 xrefs: ; > sub_66340 @ 0x66358 ; > sub_68164 @ 0x6820c ; ; 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 ; STP X20, X19, [SP,#-0x10+var_10]! ; +0x0, 0x680b8 STP X29, X30, [SP,#0x10+var_s0] ; +0x4, 0x680bc LDR X8, [X0,#0x108] ; +0x8, 0x680c0 ADD X29, SP, #0x10 ; +0xc, 0x680c4 CBZ X8, loc_68154 ; +0x10, 0x680c8 MOV X19, X0 ; +0x14, 0x680cc BL sub_6808C ; +0x18, 0x680d0 TBNZ W0, #0, loc_68154 ; +0x1c, 0x680d4 LDR X8, [X19,#0x108] ; +0x20, 0x680d8 LDR X8, [X8,#0x10] ; +0x24, 0x680dc LDR X0, [X8,#0x168] ; +0x28, 0x680e0 BL .FMOD_OS_CriticalSection_Enter ; +0x2c, 0x680e4 LDR X8, [X19,#0x108] ; +0x30, 0x680e8 MOV X9, X8 ; +0x34, 0x680ec LDR X10, [X9,#0x18]! ; +0x38, 0x680f0 CMP X10, X9 ; +0x3c, 0x680f4 B.EQ loc_68104 ; +0x40, 0x680f8 LDR X11, [X8,#0x20] ; +0x44, 0x680fc B loc_68110 ; +0x48, 0x68100 LDR X11, [X8,#0x20] ; +0x4c, 0x68104 CMP X11, X9 ; +0x50, 0x68108 B.EQ loc_6815C ; +0x54, 0x6810c MOV W20, WZR ; +0x58, 0x68110 STR X10, [X11] ; +0x5c, 0x68114 LDR X10, [X8,#0x18] ; +0x60, 0x68118 STR X11, [X10,#8] ; +0x64, 0x6811c LDR X10, [X8,#0x10] ; +0x68, 0x68120 STP X9, X9, [X8,#0x18] ; +0x6c, 0x68124 LDR X0, [X10,#0x168] ; +0x70, 0x68128 BL .FMOD_OS_CriticalSection_Leave ; +0x74, 0x6812c CBZ W20, loc_6814C ; +0x78, 0x68130 MOV X0, X19 ; +0x7c, 0x68134 BL sub_6808C ; +0x80, 0x68138 TBNZ W0, #0, loc_68154 ; +0x84, 0x6813c MOV W0, #2 ; +0x88, 0x68140 BL .FMOD_OS_Time_Sleep ; +0x8c, 0x68144 B loc_68134 ; +0x90, 0x68148 ADD X8, X19, #0x110 ; +0x94, 0x6814c STLR WZR, [X8] ; +0x98, 0x68150 LDP X29, X30, [SP,#0x10+var_s0] ; +0x9c, 0x68154 B loc_69E80 ; +0xa0, 0x68158 MOV W20, #1 ; +0xa4, 0x6815c B loc_68114 ; +0xa8, 0x68160