; ; CustomSongWidget::downloadAssetFinished from 0x4e5ce4 to 0x4e5d8e (170 bytes) ; ; 2 xrefs: ; > CustomSongWidget::downloadSongFinished @ 0x4e5da0 ; > CustomSongWidget::downloadSFXFinished @ 0x4e5e16 ; ; 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:05 +0000 ; PUSH {R3-R7,LR} ; +0x0, 0x4e5ce4 MOV R4, R0 ; +0x2, 0x4e5ce6 LDR.W R5, [R0,#0x19C] ; +0x4, 0x4e5ce8 MOV R7, R2 ; +0x8, 0x4e5cec LDR.W R3, [R0,#0x1A0] ; +0xa, 0x4e5cee CMP R5, R3 ; +0xe, 0x4e5cf2 BEQ locret_4E5D8C ; +0x10, 0x4e5cf4 MOV R6, R5 ; +0x12, 0x4e5cf6 LDR.W R2, [R6],#0x10 ; +0x14, 0x4e5cf8 CMP R2, R1 ; +0x18, 0x4e5cfc BNE loc_4E5D6A ; +0x1a, 0x4e5cfe LDR R2, [R5,#4] ; +0x1c, 0x4e5d00 CMP R2, R7 ; +0x1e, 0x4e5d02 BNE loc_4E5D6A ; +0x20, 0x4e5d04 CMP R7, #1 ; +0x22, 0x4e5d06 BNE loc_4E5D18 ; +0x24, 0x4e5d08 ADD.W R0, R4, #0x184 ; +0x26, 0x4e5d0a MOV R1, R5 ; +0x2a, 0x4e5d0e BL _ZNSt6__ndk13mapIibNS_4lessIiEENS_9allocatorINS_4pairIKibEEEEEixERS5_; std::map::operator[](int const&) ; +0x2c, 0x4e5d10 STRB R7, [R0] ; +0x30, 0x4e5d14 B loc_4E5D2A ; +0x32, 0x4e5d16 CMP R7, #2 ; +0x34, 0x4e5d18 BNE loc_4E5D2A ; +0x36, 0x4e5d1a ADD.W R0, R4, #0x190 ; +0x38, 0x4e5d1c MOV R1, R5 ; +0x3c, 0x4e5d20 BL _ZNSt6__ndk13mapIibNS_4lessIiEENS_9allocatorINS_4pairIKibEEEEEixERS5_; std::map::operator[](int const&) ; +0x3e, 0x4e5d22 MOVS R3, #1 ; +0x42, 0x4e5d26 STRB R3, [R0] ; +0x44, 0x4e5d28 LDR.W R0, [R4,#0x1A0] ; +0x46, 0x4e5d2a MOV R3, R6 ; +0x4a, 0x4e5d2e CMP R3, R0 ; +0x4c, 0x4e5d30 BEQ loc_4E5D52 ; +0x4e, 0x4e5d32 SUB.W R1, R3, #0x10 ; +0x50, 0x4e5d34 ADD.W R7, R3, #0xC ; +0x54, 0x4e5d38 MOV R2, R3 ; +0x58, 0x4e5d3c LDR.W LR, [R2],#4 ; +0x5a, 0x4e5d3e CMP R2, R7 ; +0x5e, 0x4e5d42 STR.W LR, [R1],#4 ; +0x60, 0x4e5d44 BNE loc_4E5D3E ; +0x64, 0x4e5d48 LDRB R2, [R2] ; +0x66, 0x4e5d4a ADDS R3, #0x10 ; +0x68, 0x4e5d4c STRB R2, [R1] ; +0x6a, 0x4e5d4e B loc_4E5D30 ; +0x6c, 0x4e5d50 SUBS R3, R3, R6 ; +0x6e, 0x4e5d52 BIC.W R3, R3, #0xF ; +0x70, 0x4e5d54 ADD R3, R5 ; +0x74, 0x4e5d58 LDR.W R2, [R4,#0x1A0] ; +0x76, 0x4e5d5a CMP R3, R2 ; +0x7a, 0x4e5d5e BEQ loc_4E5D72 ; +0x7c, 0x4e5d60 SUBS R2, #0x10 ; +0x7e, 0x4e5d62 STR.W R2, [R4,#0x1A0] ; +0x80, 0x4e5d64 B loc_4E5D5A ; +0x84, 0x4e5d68 CMP R6, R3 ; +0x86, 0x4e5d6a MOV R5, R6 ; +0x88, 0x4e5d6c BNE loc_4E5CF6 ; +0x8a, 0x4e5d6e POP {R3-R7,PC} ; +0x8c, 0x4e5d70 LDR.W R2, [R4,#0x19C] ; +0x8e, 0x4e5d72 CMP R2, R3 ; +0x92, 0x4e5d76 BEQ loc_4E5D82 ; +0x94, 0x4e5d78 MOV R0, R4; this ; +0x96, 0x4e5d7a MOVS R1, #0; bool ; +0x98, 0x4e5d7c BL _ZN16CustomSongWidget20updateMultiAssetInfoEb; CustomSongWidget::updateMultiAssetInfo(bool) ; +0x9a, 0x4e5d7e MOV R0, R4; this ; +0x9e, 0x4e5d82 POP.W {R3-R7,LR} ; +0xa0, 0x4e5d84 B.W _ZN16CustomSongWidget21processNextMultiAssetEv; CustomSongWidget::processNextMultiAsset(void) ; +0xa4, 0x4e5d88 POP {R3-R7,PC} ; +0xa8, 0x4e5d8c