; ; CustomSFXWidget::onPlayback from 0x56dc30 to 0x56dcc0 (144 bytes) ; ; 1 xrefs: ; > CustomSFXWidget::downloadSFXFinished @ 0x56f114 ; ; 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 ; LDR R3, =(__stack_chk_guard_ptr - 0x56DC38) ; +0x0, 0x56dc30 PUSH {R4-R7,LR} ; +0x2, 0x56dc32 ADD R3, PC; __stack_chk_guard_ptr ; +0x4, 0x56dc34 LDR R3, [R3]; __stack_chk_guard ; +0x6, 0x56dc36 SUB SP, SP, #0x14 ; +0x8, 0x56dc38 MOV R4, R0 ; +0xa, 0x56dc3a LDR R2, [R3] ; +0xc, 0x56dc3c MOV R5, R3 ; +0xe, 0x56dc3e STR R2, [SP,#0x14+var_8] ; +0x10, 0x56dc40 LDR.W R2, [R0,#0x110] ; +0x12, 0x56dc42 CBZ R2, loc_56DCB0 ; +0x16, 0x56dc46 BL _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x18, 0x56dc48 BL _ZN15FMODAudioEngine14stopAllEffectsEv; FMODAudioEngine::stopAllEffects(void) ; +0x1c, 0x56dc4c LDR.W R0, [R4,#0x144] ; +0x20, 0x56dc50 CBZ R0, loc_56DC62 ; +0x24, 0x56dc54 LDR R3, [R0] ; +0x26, 0x56dc56 LDR.W R1, [R4,#0x110] ; +0x28, 0x56dc58 LDR R3, [R3,#8] ; +0x2c, 0x56dc5c BLX R3 ; +0x2e, 0x56dc5e CBNZ R0, loc_56DCB0 ; +0x30, 0x56dc60 BL _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x32, 0x56dc62 ADD R6, SP, #0x14+var_10 ; +0x36, 0x56dc66 MOV R7, R0 ; +0x38, 0x56dc68 BL _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x3a, 0x56dc6a LDR.W R3, [R4,#0x110] ; +0x3e, 0x56dc6e ADD R4, SP, #0x14+var_C ; +0x42, 0x56dc72 LDR R2, [R3,#0x34] ; +0x44, 0x56dc74 MOV R1, R0; int ; +0x46, 0x56dc76 MOV R0, R6; this ; +0x48, 0x56dc78 BL _ZN20MusicDownloadManager10pathForSFXEi; MusicDownloadManager::pathForSFX(int) ; +0x4a, 0x56dc7a MOV R0, R4; int ; +0x4e, 0x56dc7e LDR R1, [SP,#0x14+var_10]; char * ; +0x50, 0x56dc80 MOV R2, SP ; +0x52, 0x56dc82 BL sub_776584 ; +0x54, 0x56dc84 MOV R0, R7 ; +0x58, 0x56dc88 MOV R1, R4 ; +0x5a, 0x56dc8a BL _ZN15FMODAudioEngine15playEffectAsyncESs; FMODAudioEngine::playEffectAsync(std::string) ; +0x5c, 0x56dc8c MOV R0, R4 ; +0x60, 0x56dc90 BL sub_774008 ; +0x62, 0x56dc92 MOV R0, R6 ; +0x66, 0x56dc96 BL sub_774008 ; +0x68, 0x56dc98 B loc_56DCB0 ; +0x6c, 0x56dc9c MOV R0, R4 ; +0x6e, 0x56dc9e BL sub_774008 ; +0x70, 0x56dca0 B loc_56DCA6 ; +0x74, 0x56dca4 MOV R0, R6 ; +0x76, 0x56dca6 BL sub_774008 ; +0x78, 0x56dca8 BL __cxa_end_cleanup ; +0x7c, 0x56dcac LDR R2, [SP,#0x14+var_8] ; +0x80, 0x56dcb0 LDR R3, [R5] ; +0x82, 0x56dcb2 CMP R2, R3 ; +0x84, 0x56dcb4 BEQ loc_56DCBC ; +0x86, 0x56dcb6 BLX __stack_chk_fail ; +0x88, 0x56dcb8 ADD SP, SP, #0x14 ; +0x8c, 0x56dcbc POP {R4-R7,PC} ; +0x8e, 0x56dcbe