; ; CustomSongWidget::onDelete from 0x3dd1f4 to 0x3dd26e (122 bytes) ; ; 0 xrefs: ; ; 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 - 0x3DD1FC) ; +0x0, 0x3dd1f4 PUSH {R4-R6,LR} ; +0x2, 0x3dd1f6 ADD R3, PC; __stack_chk_guard_ptr ; +0x4, 0x3dd1f8 LDR R3, [R3]; __stack_chk_guard ; +0x6, 0x3dd1fa SUB SP, SP, #0x18 ; +0x8, 0x3dd1fc MOV R5, R0 ; +0xa, 0x3dd1fe LDR R2, [R3] ; +0xc, 0x3dd200 MOV R6, R3 ; +0xe, 0x3dd202 STR R2, [SP,#0x18+var_4] ; +0x10, 0x3dd204 LDR.W R2, [R0,#0x110] ; +0x12, 0x3dd206 CBZ R2, loc_3DD25E ; +0x16, 0x3dd20a ADD R4, SP, #0x18+var_8 ; +0x18, 0x3dd20c LDR R1, =(aDoYouWantToCrD_1 - 0x3DD216); "Do you want to delete this song"... ; +0x1a, 0x3dd20e ADD R2, SP, #0x18+var_C ; +0x1c, 0x3dd210 ADD R1, PC; "Do you want to delete this song"... ; +0x1e, 0x3dd212 MOV R0, R4; int ; +0x20, 0x3dd214 BL sub_776584 ; +0x22, 0x3dd216 LDR R3, =(aDelete - 0x3DD226); "Delete" ; +0x26, 0x3dd21a LDR R1, =(aDeleteSong - 0x3DD22C); "Delete Song" ; +0x28, 0x3dd21c ADD.W R0, R5, #0x10C; int ; +0x2a, 0x3dd21e ADD R3, PC; "Delete" ; +0x2e, 0x3dd222 STR R3, [SP,#0x18+var_18]; int ; +0x30, 0x3dd224 LDR R3, flt_3DD270 ; +0x32, 0x3dd226 ADD R1, PC; "Delete Song" ; +0x34, 0x3dd228 MOV R2, R4; int ; +0x36, 0x3dd22a STR R3, [SP,#0x18+var_14]; float ; +0x38, 0x3dd22c LDR R3, =(aCancel - 0x3DD234); "Cancel" ; +0x3a, 0x3dd22e ADD R3, PC; "Cancel" ; +0x3c, 0x3dd230 BL _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x3e, 0x3dd232 MOV R5, R0 ; +0x42, 0x3dd236 MOV R0, R4 ; +0x44, 0x3dd238 BL sub_774008 ; +0x46, 0x3dd23a LDR R3, [R5] ; +0x4a, 0x3dd23e MOV R0, R5 ; +0x4c, 0x3dd240 MOVS R1, #2 ; +0x4e, 0x3dd242 LDR R3, [R3,#0x24] ; +0x50, 0x3dd244 BLX R3 ; +0x52, 0x3dd246 LDR R3, [R5] ; +0x54, 0x3dd248 MOV R0, R5 ; +0x56, 0x3dd24a LDR.W R3, [R3,#0x284] ; +0x58, 0x3dd24c BLX R3 ; +0x5c, 0x3dd250 B loc_3DD25E ; +0x5e, 0x3dd252 MOV R0, R4 ; +0x60, 0x3dd254 BL sub_774008 ; +0x62, 0x3dd256 BL __cxa_end_cleanup ; +0x66, 0x3dd25a LDR R2, [SP,#0x18+var_4] ; +0x6a, 0x3dd25e LDR R3, [R6] ; +0x6c, 0x3dd260 CMP R2, R3 ; +0x6e, 0x3dd262 BEQ loc_3DD26A ; +0x70, 0x3dd264 BLX __stack_chk_fail ; +0x72, 0x3dd266 ADD SP, SP, #0x18 ; +0x76, 0x3dd26a POP {R4-R6,PC} ; +0x78, 0x3dd26c