; ; CustomSFXWidget::onDelete from 0x56db78 to 0x56dbf2 (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 - 0x56DB80) ; +0x0, 0x56db78 PUSH {R4-R6,LR} ; +0x2, 0x56db7a ADD R3, PC; __stack_chk_guard_ptr ; +0x4, 0x56db7c LDR R3, [R3]; __stack_chk_guard ; +0x6, 0x56db7e SUB SP, SP, #0x18 ; +0x8, 0x56db80 MOV R5, R0 ; +0xa, 0x56db82 LDR R2, [R3] ; +0xc, 0x56db84 MOV R6, R3 ; +0xe, 0x56db86 STR R2, [SP,#0x18+var_4] ; +0x10, 0x56db88 LDR.W R2, [R0,#0x110] ; +0x12, 0x56db8a CBZ R2, loc_56DBE2 ; +0x16, 0x56db8e ADD R4, SP, #0x18+var_8 ; +0x18, 0x56db90 LDR R1, =(aDoYouWantToCrD_3 - 0x56DB9A); "Do you want to Delete this SFX?" ; +0x1a, 0x56db92 ADD R2, SP, #0x18+var_C ; +0x1c, 0x56db94 ADD R1, PC; "Do you want to Delete this SFX?" ; +0x1e, 0x56db96 MOV R0, R4; int ; +0x20, 0x56db98 BL sub_776584 ; +0x22, 0x56db9a LDR R3, =(aDelete - 0x56DBAA); "Delete" ; +0x26, 0x56db9e LDR R1, =(aDeleteSfx - 0x56DBB0); "Delete SFX" ; +0x28, 0x56dba0 ADD.W R0, R5, #0x10C; int ; +0x2a, 0x56dba2 ADD R3, PC; "Delete" ; +0x2e, 0x56dba6 STR R3, [SP,#0x18+var_18]; int ; +0x30, 0x56dba8 LDR R3, flt_56DBF4 ; +0x32, 0x56dbaa ADD R1, PC; "Delete SFX" ; +0x34, 0x56dbac MOV R2, R4; int ; +0x36, 0x56dbae STR R3, [SP,#0x18+var_14]; float ; +0x38, 0x56dbb0 LDR R3, =(aCancel - 0x56DBB8); "Cancel" ; +0x3a, 0x56dbb2 ADD R3, PC; "Cancel" ; +0x3c, 0x56dbb4 BL _ZN12FLAlertLayer6createEP20FLAlertLayerProtocolPKcSsS3_S3_f; FLAlertLayer::create(FLAlertLayerProtocol *,char const*,std::string,char const*,char const*,float) ; +0x3e, 0x56dbb6 MOV R5, R0 ; +0x42, 0x56dbba MOV R0, R4 ; +0x44, 0x56dbbc BL sub_774008 ; +0x46, 0x56dbbe LDR R3, [R5] ; +0x4a, 0x56dbc2 MOV R0, R5 ; +0x4c, 0x56dbc4 MOVS R1, #3 ; +0x4e, 0x56dbc6 LDR R3, [R3,#0x24] ; +0x50, 0x56dbc8 BLX R3 ; +0x52, 0x56dbca LDR R3, [R5] ; +0x54, 0x56dbcc MOV R0, R5 ; +0x56, 0x56dbce LDR.W R3, [R3,#0x284] ; +0x58, 0x56dbd0 BLX R3 ; +0x5c, 0x56dbd4 B loc_56DBE2 ; +0x5e, 0x56dbd6 MOV R0, R4 ; +0x60, 0x56dbd8 BL sub_774008 ; +0x62, 0x56dbda BL __cxa_end_cleanup ; +0x66, 0x56dbde LDR R2, [SP,#0x18+var_4] ; +0x6a, 0x56dbe2 LDR R3, [R6] ; +0x6c, 0x56dbe4 CMP R2, R3 ; +0x6e, 0x56dbe6 BEQ loc_56DBEE ; +0x70, 0x56dbe8 BLX __stack_chk_fail ; +0x72, 0x56dbea ADD SP, SP, #0x18 ; +0x76, 0x56dbee POP {R4-R6,PC} ; +0x78, 0x56dbf0