; ; CustomSongWidget::deleteSong from 0x4e3eb4 to 0x4e3f8c (216 bytes) ; ; 1 xrefs: ; > CustomSongWidget::FLAlert_Clicked @ 0x4e5cd2 ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:51:03 +0000 ; LDR R3, =(__stack_chk_guard_ptr - 0x4E3EBC) ; +0x0, 0x4e3eb4 PUSH {R4-R7,LR} ; +0x2, 0x4e3eb6 ADD R3, PC; __stack_chk_guard_ptr ; +0x4, 0x4e3eb8 LDR R3, [R3]; __stack_chk_guard ; +0x6, 0x4e3eba SUB SP, SP, #0x1C ; +0x8, 0x4e3ebc MOV R4, R0 ; +0xa, 0x4e3ebe LDR R2, [R3] ; +0xc, 0x4e3ec0 MOV R6, R3 ; +0xe, 0x4e3ec2 STR R2, [SP,#0x1C+var_8] ; +0x10, 0x4e3ec4 LDR.W R2, [R0,#0x110] ; +0x12, 0x4e3ec6 CMP R2, #0 ; +0x16, 0x4e3eca BEQ loc_4E3F7C ; +0x18, 0x4e3ecc BL _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x1a, 0x4e3ece ADD R5, SP, #0x1C+var_17+3 ; +0x1e, 0x4e3ed2 MOV R7, R0 ; +0x20, 0x4e3ed4 BL _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x22, 0x4e3ed6 LDR.W R3, [R4,#0x110] ; +0x26, 0x4e3eda LDR.W R2, [R3,#0x108] ; +0x2a, 0x4e3ede MOV R1, R0; int ; +0x2e, 0x4e3ee2 MOV R0, R5; this ; +0x30, 0x4e3ee4 BL _ZN20MusicDownloadManager11pathForSongEi; MusicDownloadManager::pathForSong(int) ; +0x32, 0x4e3ee6 MOV R0, R7; int ; +0x36, 0x4e3eea MOV R1, R5 ; +0x38, 0x4e3eec MOVS R2, #0 ; +0x3a, 0x4e3eee BL _ZN15FMODAudioEngine14isMusicPlayingENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEi; FMODAudioEngine::isMusicPlaying(std::string,int) ; +0x3c, 0x4e3ef0 MOV R7, R0 ; +0x40, 0x4e3ef4 MOV R0, R5 ; +0x42, 0x4e3ef6 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x44, 0x4e3ef8 CBZ R7, loc_4E3F08 ; +0x48, 0x4e3efc BL _ZN15FMODAudioEngine12sharedEngineEv; FMODAudioEngine::sharedEngine(void) ; +0x4a, 0x4e3efe MOVS R1, #1; bool ; +0x4e, 0x4e3f02 BL _ZN15FMODAudioEngine12stopAllMusicEb; FMODAudioEngine::stopAllMusic(bool) ; +0x50, 0x4e3f04 BL _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x54, 0x4e3f08 LDR.W R3, [R4,#0x110] ; +0x58, 0x4e3f0c LDR.W R1, [R3,#0x108]; int ; +0x5c, 0x4e3f10 BL _ZN20MusicDownloadManager10deleteSongEi; MusicDownloadManager::deleteSong(int) ; +0x60, 0x4e3f14 MOV R0, R4; this ; +0x64, 0x4e3f18 BL _ZN16CustomSongWidget14updateSongInfoEv; CustomSongWidget::updateSongInfo(void) ; +0x66, 0x4e3f1a LDR.W R0, [R4,#0x124] ; +0x6a, 0x4e3f1e MOVS R2, #0xFF ; +0x6e, 0x4e3f22 ADD R1, SP, #0x1C+var_18 ; +0x70, 0x4e3f24 LDR R3, [R0] ; +0x72, 0x4e3f26 STRB.W R2, [SP,#0x1C+var_18] ; +0x74, 0x4e3f28 MOVS R2, #0x64 ; 'd' ; +0x78, 0x4e3f2c STRB.W R2, [SP,#0x1C+var_17] ; +0x7a, 0x4e3f2e MOVS R2, #0 ; +0x7e, 0x4e3f32 LDR.W R3, [R3,#0x218] ; +0x80, 0x4e3f34 STRB.W R2, [SP,#0x1C+var_17+1] ; +0x84, 0x4e3f38 BLX R3 ; +0x88, 0x4e3f3c LDR.W R0, [R4,#0x124] ; +0x8a, 0x4e3f3e LDR R1, =(aSongDeleted - 0x4E3F4A); "Song Deleted" ; +0x8e, 0x4e3f42 LDR R3, [R0] ; +0x90, 0x4e3f44 ADD R1, PC; "Song Deleted" ; +0x92, 0x4e3f46 LDR.W R3, [R3,#0x1D0] ; +0x94, 0x4e3f48 BLX R3 ; +0x98, 0x4e3f4c LDRB.W R3, [R4,#0x165] ; +0x9a, 0x4e3f4e LDR.W R0, [R4,#0x124]; this ; +0x9e, 0x4e3f52 CBZ R3, loc_4E3F5E ; +0xa2, 0x4e3f56 LDR R1, =0x430C0000 ; +0xa4, 0x4e3f58 LDR R2, =0x3EB33333 ; +0xa6, 0x4e3f5a B loc_4E3F62 ; +0xa8, 0x4e3f5c LDR R1, flt_4E3F94; float ; +0xaa, 0x4e3f5e LDR R2, flt_4E3F98; float ; +0xac, 0x4e3f60 MOVS R3, #0; float ; +0xae, 0x4e3f62 BL _ZN7cocos2d13CCLabelBMFont15limitLabelWidthEfff; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0xb0, 0x4e3f64 MOV R0, R4; this ; +0xb4, 0x4e3f68 MOVS R1, #1; bool ; +0xb6, 0x4e3f6a BL _ZN16CustomSongWidget9showErrorEb; CustomSongWidget::showError(bool) ; +0xb8, 0x4e3f6c B loc_4E3F7C ; +0xbc, 0x4e3f70 MOV R0, R5 ; +0xbe, 0x4e3f72 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xc0, 0x4e3f74 BL __cxa_end_cleanup ; +0xc4, 0x4e3f78 LDR R2, [SP,#0x1C+var_8] ; +0xc8, 0x4e3f7c LDR R3, [R6] ; +0xca, 0x4e3f7e CMP R2, R3 ; +0xcc, 0x4e3f80 BEQ loc_4E3F88 ; +0xce, 0x4e3f82 BLX __stack_chk_fail ; +0xd0, 0x4e3f84 ADD SP, SP, #0x1C ; +0xd4, 0x4e3f88 POP {R4-R7,PC} ; +0xd6, 0x4e3f8a