; ; CustomSongWidget::onDownload from 0x3e01b0 to 0x3e02c2 (274 bytes) ; ; 2 xrefs: ; > CustomSongWidget::musicActionFinished @ 0x3e02dc ; > CustomSongWidget::FLAlert_Clicked @ 0x3e031e ; ; 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 {R3-R5,LR} ; +0x0, 0x3e01b0 MOV R4, R0 ; +0x2, 0x3e01b2 LDR.W R0, [R0,#0x124] ; +0x4, 0x3e01b4 MOVS R1, #0 ; +0x8, 0x3e01b8 LDR R3, [R0] ; +0xa, 0x3e01ba LDR.W R3, [R3,#0xA4] ; +0xc, 0x3e01bc BLX R3 ; +0x10, 0x3e01c0 LDR.W R0, [R4,#0x154] ; +0x12, 0x3e01c2 CBZ R0, loc_3E01D2 ; +0x16, 0x3e01c6 LDR R3, [R0] ; +0x18, 0x3e01c8 MOVS R1, #0 ; +0x1a, 0x3e01ca LDR.W R3, [R3,#0xA4] ; +0x1c, 0x3e01cc BLX R3 ; +0x20, 0x3e01d0 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x22, 0x3e01d2 LDR R1, =(a0016 - 0x3E01DC); "0016" ; +0x26, 0x3e01d6 ADD R1, PC; "0016" ; +0x28, 0x3e01d8 BL _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x2a, 0x3e01da CBNZ R0, loc_3E01F0 ; +0x2e, 0x3e01de BL _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x30, 0x3e01e0 ADD.W R1, R4, #0x10C ; +0x34, 0x3e01e4 POP.W {R3-R5,LR} ; +0x38, 0x3e01e8 B.W _ZN20MusicDownloadManager7showTOSEP20FLAlertLayerProtocol; MusicDownloadManager::showTOS(FLAlertLayerProtocol *) ; +0x3c, 0x3e01ec LDRB.W R5, [R4,#0x175] ; +0x40, 0x3e01f0 CBZ R5, loc_3E022A ; +0x44, 0x3e01f4 LDR.W R0, [R4,#0x128] ; +0x46, 0x3e01f6 MOVS R1, #0 ; +0x4a, 0x3e01fa LDR R3, [R0] ; +0x4c, 0x3e01fc LDR.W R3, [R3,#0xA4] ; +0x4e, 0x3e01fe BLX R3 ; +0x52, 0x3e0202 LDR.W R0, [R4,#0x12C] ; +0x54, 0x3e0204 MOVS R1, #1 ; +0x58, 0x3e0208 LDR R3, [R0] ; +0x5a, 0x3e020a LDR.W R3, [R3,#0xA4] ; +0x5c, 0x3e020c BLX R3 ; +0x60, 0x3e0210 BL _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x62, 0x3e0212 LDR.W R3, [R0,#0x120] ; +0x66, 0x3e0216 LDR.W R3, [R3,#-0xC] ; +0x6a, 0x3e021a CBZ R3, loc_3E0282 ; +0x6e, 0x3e021e MOV R0, R4; this ; +0x70, 0x3e0220 POP.W {R3-R5,LR} ; +0x72, 0x3e0222 B.W _ZN16CustomSongWidget23startMultiAssetDownloadEv; CustomSongWidget::startMultiAssetDownload(void) ; +0x76, 0x3e0226 LDR.W R3, [R4,#0x110] ; +0x7a, 0x3e022a CMP R3, #0 ; +0x7e, 0x3e022e BEQ locret_3E02C0 ; +0x80, 0x3e0230 LDR.W R0, [R4,#0x148] ; +0x82, 0x3e0232 MOVS R1, #1 ; +0x86, 0x3e0236 LDR R3, [R0] ; +0x88, 0x3e0238 LDR.W R3, [R3,#0xA4] ; +0x8a, 0x3e023a BLX R3 ; +0x8e, 0x3e023e LDR.W R0, [R4,#0x128] ; +0x90, 0x3e0240 MOV R1, R5 ; +0x94, 0x3e0244 LDR R3, [R0] ; +0x96, 0x3e0246 LDR.W R3, [R3,#0xA4] ; +0x98, 0x3e0248 BLX R3 ; +0x9c, 0x3e024c LDR.W R0, [R4,#0x12C] ; +0x9e, 0x3e024e MOVS R1, #1 ; +0xa2, 0x3e0252 LDR R3, [R0] ; +0xa4, 0x3e0254 LDR.W R3, [R3,#0xA4] ; +0xa6, 0x3e0256 BLX R3 ; +0xaa, 0x3e025a LDR.W R0, [R4,#0x140] ; +0xac, 0x3e025c MOV R1, R5 ; +0xb0, 0x3e0260 LDR R3, [R0] ; +0xb2, 0x3e0262 LDR.W R3, [R3,#0xA4] ; +0xb4, 0x3e0264 BLX R3 ; +0xb8, 0x3e0268 LDR.W R2, [R4,#0x164] ; +0xba, 0x3e026a LDR R3, =(aActivatesOther+0x31); "s of X position. These triggers need to"... ; +0xbe, 0x3e026e CMP R2, R3 ; +0xc0, 0x3e0270 BLE loc_3E0294 ; +0xc2, 0x3e0272 BL _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0xc4, 0x3e0274 LDR.W R3, [R0,#0x120] ; +0xc8, 0x3e0278 LDR.W R3, [R3,#-0xC] ; +0xcc, 0x3e027c CBNZ R3, loc_3E0294 ; +0xd0, 0x3e0280 MOVS R3, #1 ; +0xd2, 0x3e0282 STRB.W R3, [R4,#0x174] ; +0xd4, 0x3e0284 BL _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0xd8, 0x3e0288 POP.W {R3-R5,LR} ; +0xdc, 0x3e028c B.W _ZN20MusicDownloadManager19getCustomContentURLEv; MusicDownloadManager::getCustomContentURL(void) ; +0xe0, 0x3e0290 LDR.W R3, [R4,#0x110] ; +0xe4, 0x3e0294 LDRB.W R3, [R3,#0x135] ; +0xe8, 0x3e0298 CBZ R3, loc_3E02A8 ; +0xec, 0x3e029c MOV R0, R4; this ; +0xee, 0x3e029e POP.W {R3-R5,LR} ; +0xf0, 0x3e02a0 B.W _ZN16CustomSongWidget13startDownloadEv; CustomSongWidget::startDownload(void) ; +0xf4, 0x3e02a4 MOVS R5, #1 ; +0xf8, 0x3e02a8 STRB.W R5, [R4,#0x15F] ; +0xfa, 0x3e02aa BL _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0xfe, 0x3e02ae LDR.W R1, [R4,#0x164]; int ; +0x102, 0x3e02b2 MOV R2, R5; bool ; +0x106, 0x3e02b6 POP.W {R3-R5,LR} ; +0x108, 0x3e02b8 B.W _ZN20MusicDownloadManager11getSongInfoEib; MusicDownloadManager::getSongInfo(int,bool) ; +0x10c, 0x3e02bc POP {R3-R5,PC} ; +0x110, 0x3e02c0