; ; CustomSongWidget::onDelete from 0x742534 to 0x742678 (324 bytes) ; ; 3 xrefs: ; > @ 0x80220 ; > CustomSongWidget::init @ 0x745b14 ; > @ 0x122c510 ; ; 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 ; STP X29, X30, [SP,#var_50]! ; +0x0, 0x742534 MOV X29, SP ; +0x4, 0x742538 STP X19, X20, [SP,#0x50+var_40] ; +0x8, 0x74253c ADRP X19, #__stack_chk_guard_ptr@PAGE ; +0xc, 0x742540 MOV X20, X0 ; +0x10, 0x742544 LDR X0, [X0,#0x150] ; +0x14, 0x742548 STR X21, [SP,#0x50+var_30] ; +0x18, 0x74254c LDR X1, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0x742550 LDR X1, [X1] ; +0x20, 0x742554 STR X1, [X29,#0x50+var_8] ; +0x24, 0x742558 CBZ X0, loc_7425E0 ; +0x28, 0x74255c ADD X21, X29, #0x50+var_10 ; +0x2c, 0x742560 ADRP X1, #aDoYouWantToCrD_1@PAGE; "Do you want to delete this song"... ; +0x30, 0x742564 MOV X0, X21; int ; +0x34, 0x742568 ADD X1, X1, #aDoYouWantToCrD_1@PAGEOFF; "Do you want to delete this song"... ; +0x38, 0x74256c ADD X2, X29, #0x50+var_20 ; +0x3c, 0x742570 BL sub_D153B8 ; +0x40, 0x742574 LDR S0, =0x43960000 ; +0x44, 0x742578 ADRP X1, #aDeleteSong@PAGE; "Delete Song" ; +0x48, 0x74257c ADRP X3, #aCancel@PAGE; "Cancel" ; +0x4c, 0x742580 ADRP X4, #aDelete@PAGE; "Delete" ; +0x50, 0x742584 ADD X0, X20, #0x148 ; +0x54, 0x742588 ADD X1, X1, #aDeleteSong@PAGEOFF; "Delete Song" ; +0x58, 0x74258c MOV X2, X21 ; +0x5c, 0x742590 ADD X3, X3, #aCancel@PAGEOFF; "Cancel" ; +0x60, 0x742594 ADD X4, X4, #aDelete@PAGEOFF; "Delete" ; +0x64, 0x742598 BL _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x68, 0x74259c ADRP X1, #off_122EFE8@PAGE ; +0x6c, 0x7425a0 LDR X2, [X29,#0x50+var_10] ; +0x70, 0x7425a4 MOV X20, X0 ; +0x74, 0x7425a8 SUB X0, X2, #0x18; p ; +0x78, 0x7425ac LDR X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x7c, 0x7425b0 CMP X0, X1 ; +0x80, 0x7425b4 B.NE loc_742604 ; +0x84, 0x7425b8 LDR X2, [X20] ; +0x88, 0x7425bc MOV X0, X20 ; +0x8c, 0x7425c0 MOV W1, #2 ; +0x90, 0x7425c4 LDR X2, [X2,#0x48] ; +0x94, 0x7425c8 BLR X2 ; +0x98, 0x7425cc LDR X1, [X20] ; +0x9c, 0x7425d0 MOV X0, X20 ; +0xa0, 0x7425d4 LDR X1, [X1,#0x508] ; +0xa4, 0x7425d8 BLR X1 ; +0xa8, 0x7425dc LDR X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xac, 0x7425e0 LDR X1, [X29,#0x50+var_8] ; +0xb0, 0x7425e4 LDR X0, [X19] ; +0xb4, 0x7425e8 CMP X1, X0 ; +0xb8, 0x7425ec B.NE loc_742648 ; +0xbc, 0x7425f0 LDP X19, X20, [SP,#0x50+var_40] ; +0xc0, 0x7425f4 LDR X21, [SP,#0x50+var_30] ; +0xc4, 0x7425f8 LDP X29, X30, [SP+0x50+var_50],#0x50 ; +0xc8, 0x7425fc RET ; +0xcc, 0x742600 ADRP X1, #pthread_create_ptr_0@PAGE ; +0xd0, 0x742604 LDR X1, [X1,#pthread_create_ptr_0@PAGEOFF]; pthread_create ; +0xd4, 0x742608 CBZ X1, loc_742638 ; +0xd8, 0x74260c SUB X2, X2, #8 ; +0xdc, 0x742610 LDAXR W1, [X2] ; +0xe0, 0x742614 SUB W3, W1, #1 ; +0xe4, 0x742618 STLXR W4, W3, [X2] ; +0xe8, 0x74261c CBNZ W4, loc_742614 ; +0xec, 0x742620 CMP W1, WZR ; +0xf0, 0x742624 B.GT loc_7425BC ; +0xf4, 0x742628 ADD X1, X29, #0x50+var_18 ; +0xf8, 0x74262c BL j__ZdlPv; operator delete(void *) ; +0xfc, 0x742630 B loc_7425BC ; +0x100, 0x742634 LDUR W1, [X2,#-8] ; +0x104, 0x742638 SUB W3, W1, #1 ; +0x108, 0x74263c STUR W3, [X2,#-8] ; +0x10c, 0x742640 B loc_742624 ; +0x110, 0x742644 BL .__stack_chk_fail ; +0x114, 0x742648 ADRP X1, #off_122EFE8@PAGE ; +0x118, 0x74264c MOV X19, X0 ; +0x11c, 0x742650 LDR X0, [X29,#0x50+var_10] ; +0x120, 0x742654 LDR X1, [X1,#off_122EFE8@PAGEOFF]; qword_124B6B0 ; +0x124, 0x742658 SUB X0, X0, #0x18 ; +0x128, 0x74265c CMP X0, X1 ; +0x12c, 0x742660 B.EQ loc_742670 ; +0x130, 0x742664 ADD X1, X29, #0x50+var_18 ; +0x134, 0x742668 BL sub_4DBA38 ; +0x138, 0x74266c MOV X0, X19 ; +0x13c, 0x742670 BL _Unwind_Resume ; +0x140, 0x742674