; ; CustomSongWidget::updateError from 0x3de05c to 0x3de0fe (162 bytes) ; ; 2 xrefs: ; > CustomSongWidget::loadSongInfoFailed @ 0x3e07aa ; > CustomSongWidget::downloadSongFailed @ 0x3e0bbe ; ; 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 {R0,R1,R4-R6,LR} ; +0x0, 0x3de05c MOV R5, R0 ; +0x2, 0x3de05e LDR R4, =(__stack_chk_guard_ptr - 0x3DE06E) ; +0x4, 0x3de060 MOV R6, R1 ; +0x6, 0x3de062 LDR.W R0, [R0,#0x124] ; +0x8, 0x3de064 MOVS R2, #0xFF ; +0xc, 0x3de068 ADD R4, PC; __stack_chk_guard_ptr ; +0xe, 0x3de06a LDR R4, [R4]; __stack_chk_guard ; +0x10, 0x3de06c MOV R1, SP ; +0x12, 0x3de06e LDR R3, [R4] ; +0x14, 0x3de070 STR R3, [SP,#8+var_4] ; +0x16, 0x3de072 LDR R3, [R0] ; +0x18, 0x3de074 STRB.W R2, [SP,#8+var_8] ; +0x1a, 0x3de076 MOVS R2, #0x32 ; '2' ; +0x1e, 0x3de07a STRB.W R2, [SP,#8+var_7] ; +0x20, 0x3de07c MOVS R2, #0x19 ; +0x24, 0x3de080 LDR.W R3, [R3,#0x210] ; +0x26, 0x3de082 STRB.W R2, [SP,#8+var_6] ; +0x2a, 0x3de086 BLX R3 ; +0x2e, 0x3de08a CMP R6, #2 ; +0x30, 0x3de08c LDR.W R0, [R5,#0x124] ; +0x32, 0x3de08e BEQ loc_3DE0A8 ; +0x36, 0x3de092 CMP R6, #3 ; +0x38, 0x3de094 BEQ loc_3DE0B4 ; +0x3a, 0x3de096 CMP R6, #1 ; +0x3c, 0x3de098 BNE loc_3DE0C0 ; +0x3e, 0x3de09a LDR R3, [R0] ; +0x40, 0x3de09c LDR R1, =(aFailedToFetchS - 0x3DE0A8); "Failed to fetch song info." ; +0x42, 0x3de09e LDR.W R3, [R3,#0x1C8] ; +0x44, 0x3de0a0 ADD R1, PC; "Failed to fetch song info." ; +0x48, 0x3de0a4 B loc_3DE0CA ; +0x4a, 0x3de0a6 LDR R3, [R0] ; +0x4c, 0x3de0a8 LDR R1, =(aSongIsNotAllow - 0x3DE0B4); "Song is not allowed for use." ; +0x4e, 0x3de0aa LDR.W R3, [R3,#0x1C8] ; +0x50, 0x3de0ac ADD R1, PC; "Song is not allowed for use." ; +0x54, 0x3de0b0 B loc_3DE0CA ; +0x56, 0x3de0b2 LDR R3, [R0] ; +0x58, 0x3de0b4 LDR R1, =(aDownloadCancel - 0x3DE0C0); "Download canceled." ; +0x5a, 0x3de0b6 LDR.W R3, [R3,#0x1C8] ; +0x5c, 0x3de0b8 ADD R1, PC; "Download canceled." ; +0x60, 0x3de0bc B loc_3DE0CA ; +0x62, 0x3de0be LDR R3, [R0] ; +0x64, 0x3de0c0 LDR R1, =(aDownloadFailed - 0x3DE0CC); "Download failed. Please try later." ; +0x66, 0x3de0c2 LDR.W R3, [R3,#0x1C8] ; +0x68, 0x3de0c4 ADD R1, PC; "Download failed. Please try later." ; +0x6c, 0x3de0c8 BLX R3 ; +0x6e, 0x3de0ca LDRB.W R3, [R5,#0x161] ; +0x70, 0x3de0cc LDR.W R0, [R5,#0x124]; this ; +0x74, 0x3de0d0 CBZ R3, loc_3DE0DC ; +0x78, 0x3de0d4 LDR R1, =0x430C0000 ; +0x7a, 0x3de0d6 LDR R2, =0x3EB33333 ; +0x7c, 0x3de0d8 B loc_3DE0E0 ; +0x7e, 0x3de0da LDR R1, flt_3DE108; float ; +0x80, 0x3de0dc LDR R2, flt_3DE10C; float ; +0x82, 0x3de0de MOVS R3, #0; float ; +0x84, 0x3de0e0 BL _ZN7cocos2d13CCLabelBMFont15limitLabelWidthEfff; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0x86, 0x3de0e2 MOV R0, R5; this ; +0x8a, 0x3de0e6 MOVS R1, #0; bool ; +0x8c, 0x3de0e8 BL _ZN16CustomSongWidget9showErrorEb; CustomSongWidget::showError(bool) ; +0x8e, 0x3de0ea LDR R2, [SP,#8+var_4] ; +0x92, 0x3de0ee LDR R3, [R4] ; +0x94, 0x3de0f0 CMP R2, R3 ; +0x96, 0x3de0f2 BEQ loc_3DE0FA ; +0x98, 0x3de0f4 BLX __stack_chk_fail ; +0x9a, 0x3de0f6 ADD SP, SP, #8 ; +0x9e, 0x3de0fa POP {R4-R6,PC} ; +0xa0, 0x3de0fc