; ; CustomSFXWidget::deleteSFX from 0x56e390 to 0x56e446 (182 bytes) ; ; 1 xrefs: ; > CustomSFXWidget::FLAlert_Clicked @ 0x56e496 ; ; 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 ; PUSH {R0-R6,LR} ; +0x0, 0x56e390 MOV R4, R0 ; +0x2, 0x56e392 LDR R3, =(__stack_chk_guard_ptr - 0x56E39A) ; +0x4, 0x56e394 ADD R3, PC; __stack_chk_guard_ptr ; +0x6, 0x56e396 LDR R3, [R3]; __stack_chk_guard ; +0x8, 0x56e398 LDR R2, [R3] ; +0xa, 0x56e39a MOV R5, R3 ; +0xc, 0x56e39c STR R2, [SP,#0x10+var_4] ; +0xe, 0x56e39e LDR.W R2, [R0,#0x110] ; +0x10, 0x56e3a0 CMP R2, #0 ; +0x14, 0x56e3a4 BEQ loc_56E436 ; +0x16, 0x56e3a6 BL _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x18, 0x56e3a8 LDR.W R3, [R4,#0x110] ; +0x1c, 0x56e3ac ADD R6, SP, #0x10+var_B+3 ; +0x20, 0x56e3b0 LDR R2, [R3,#0x34] ; +0x22, 0x56e3b2 MOV R1, R0; int ; +0x24, 0x56e3b4 MOV R0, R6; this ; +0x26, 0x56e3b6 BL _ZN20MusicDownloadManager10pathForSFXEi; MusicDownloadManager::pathForSFX(int) ; +0x28, 0x56e3b8 BL _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x2c, 0x56e3bc BL _ZN15FMODAudioEngine14stopAllEffectsEv; FMODAudioEngine::stopAllEffects(void) ; +0x30, 0x56e3c0 BL _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x34, 0x56e3c4 LDR.W R3, [R4,#0x110] ; +0x38, 0x56e3c8 LDR R1, [R3,#0x34]; int ; +0x3c, 0x56e3cc BL _ZN20MusicDownloadManager9deleteSFXEi; MusicDownloadManager::deleteSFX(int) ; +0x3e, 0x56e3ce MOV R0, R4; this ; +0x42, 0x56e3d2 BL _ZN15CustomSFXWidget13updateSFXInfoEv; CustomSFXWidget::updateSFXInfo(void) ; +0x44, 0x56e3d4 LDR.W R0, [R4,#0x120] ; +0x48, 0x56e3d8 MOVS R1, #1 ; +0x4c, 0x56e3dc LDR R3, [R0] ; +0x4e, 0x56e3de LDR.W R3, [R3,#0xA4] ; +0x50, 0x56e3e0 BLX R3 ; +0x54, 0x56e3e4 LDR.W R0, [R4,#0x120] ; +0x56, 0x56e3e6 MOVS R2, #0xFF ; +0x5a, 0x56e3ea ADD R1, SP, #0x10+var_C ; +0x5c, 0x56e3ec LDR R3, [R0] ; +0x5e, 0x56e3ee STRB.W R2, [SP,#0x10+var_C] ; +0x60, 0x56e3f0 MOVS R2, #0x64 ; 'd' ; +0x64, 0x56e3f4 STRB.W R2, [SP,#0x10+var_B] ; +0x66, 0x56e3f6 MOVS R2, #0 ; +0x6a, 0x56e3fa LDR.W R3, [R3,#0x210] ; +0x6c, 0x56e3fc STRB.W R2, [SP,#0x10+var_B+1] ; +0x70, 0x56e400 BLX R3 ; +0x74, 0x56e404 LDR.W R0, [R4,#0x120] ; +0x76, 0x56e406 LDR R1, =(aSfxDeleted - 0x56E412); "SFX Deleted" ; +0x7a, 0x56e40a LDR R3, [R0] ; +0x7c, 0x56e40c ADD R1, PC; "SFX Deleted" ; +0x7e, 0x56e40e LDR.W R3, [R3,#0x1C8] ; +0x80, 0x56e410 BLX R3 ; +0x84, 0x56e414 LDR.W R0, [R4,#0x120]; this ; +0x86, 0x56e416 MOVS R3, #0; float ; +0x8a, 0x56e41a LDR R1, flt_56E448; float ; +0x8c, 0x56e41c LDR R2, flt_56E44C; float ; +0x8e, 0x56e41e BL _ZN7cocos2d13CCLabelBMFont15limitLabelWidthEfff; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0x90, 0x56e420 MOV R0, R6 ; +0x94, 0x56e424 BL sub_774008 ; +0x96, 0x56e426 B loc_56E436 ; +0x9a, 0x56e42a MOV R0, R6 ; +0x9c, 0x56e42c BL sub_774008 ; +0x9e, 0x56e42e BL __cxa_end_cleanup ; +0xa2, 0x56e432 LDR R2, [SP,#0x10+var_4] ; +0xa6, 0x56e436 LDR R3, [R5] ; +0xa8, 0x56e438 CMP R2, R3 ; +0xaa, 0x56e43a BEQ loc_56E442 ; +0xac, 0x56e43c BLX __stack_chk_fail ; +0xae, 0x56e43e ADD SP, SP, #0x10 ; +0xb2, 0x56e442 POP {R4-R6,PC} ; +0xb4, 0x56e444