; ; CustomSongWidget::updatePlaybackBtn from 0x1000fcbac to 0x1000fcc68 (188 bytes) ; ; 3 xrefs: ; > CustomSongWidget::init @ 0x1000fa858 ; > CustomSongWidget::songStateChanged @ 0x1000fd514 ; > sub_1000FD518 @ 0x1000fd53c ; ; 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 ; SUB SP, SP, #0x50 ; +0x0, 0x1000fcbac STP X22, X21, [SP,#0x40+var_20] ; +0x4, 0x1000fcbb0 STP X20, X19, [SP,#0x40+var_10] ; +0x8, 0x1000fcbb4 STP X29, X30, [SP,#0x40+var_s0] ; +0xc, 0x1000fcbb8 ADD X29, SP, #0x40 ; +0x10, 0x1000fcbbc LDR X8, [X0,#0x150] ; +0x14, 0x1000fcbc0 CBZ X8, loc_1000FCC54 ; +0x18, 0x1000fcbc4 MOV X20, X0 ; +0x1c, 0x1000fcbc8 LDR X0, [X0,#0x1A0] ; +0x20, 0x1000fcbcc LDR X8, [X0] ; +0x24, 0x1000fcbd0 LDR X8, [X8,#0x420] ; +0x28, 0x1000fcbd4 BLR X8 ; +0x2c, 0x1000fcbd8 MOV X19, X0 ; +0x30, 0x1000fcbdc BL FMODAudioEngine__sharedEngine ; +0x34, 0x1000fcbe0 MOV X21, X0 ; +0x38, 0x1000fcbe4 BL MusicDownloadManager__sharedState ; +0x3c, 0x1000fcbe8 LDR X8, [X20,#0x150] ; +0x40, 0x1000fcbec LDR W1, [X8,#0x13C] ; +0x44, 0x1000fcbf0 ADD X8, SP, #0x40+__p ; +0x48, 0x1000fcbf4 BL MusicDownloadManager__pathForSong ; +0x4c, 0x1000fcbf8 ADD X1, SP, #0x40+__p ; +0x50, 0x1000fcbfc MOV X0, X21 ; +0x54, 0x1000fcc00 MOV W2, #0 ; +0x58, 0x1000fcc04 BL FMODAudioEngine__isMusicPlaying ; +0x5c, 0x1000fcc08 MOV X20, X0 ; +0x60, 0x1000fcc0c LDRSB W8, [SP,#0x40+var_21] ; +0x64, 0x1000fcc10 TBZ W8, #0x1F, loc_1000FCC20 ; +0x68, 0x1000fcc14 LDR X0, [SP,#0x40+__p]; __p ; +0x6c, 0x1000fcc18 BL __ZdlPv; operator delete(void *) ; +0x70, 0x1000fcc1c BL cocos2d__CCSpriteFrameCache__sharedSpriteFrameCache ; +0x74, 0x1000fcc20 ADRL X8, aGjPlaymusicbtn; "GJ_playMusicBtn_001.png" ; +0x78, 0x1000fcc24 ADRL X9, aGjStopmusicbtn; "GJ_stopMusicBtn_001.png" ; +0x80, 0x1000fcc2c CMP W20, #0 ; +0x88, 0x1000fcc34 CSEL X1, X9, X8, NE ; +0x8c, 0x1000fcc38 BL cocos2d__CCSpriteFrameCache__spriteFrameByName ; +0x90, 0x1000fcc3c MOV X1, X0 ; +0x94, 0x1000fcc40 LDR X8, [X19] ; +0x98, 0x1000fcc44 LDR X8, [X8,#0x478] ; +0x9c, 0x1000fcc48 MOV X0, X19 ; +0xa0, 0x1000fcc4c BLR X8 ; +0xa4, 0x1000fcc50 LDP X29, X30, [SP,#0x40+var_s0] ; +0xa8, 0x1000fcc54 LDP X20, X19, [SP,#0x40+var_10] ; +0xac, 0x1000fcc58 LDP X22, X21, [SP,#0x40+var_20] ; +0xb0, 0x1000fcc5c ADD SP, SP, #0x50 ; 'P' ; +0xb4, 0x1000fcc60 RET ; +0xb8, 0x1000fcc64