; ; CustomSongWidget::updateProgressBar from 0x3ddd70 to 0x3dddea (122 bytes) ; ; 3 xrefs: ; > CustomSongWidget::startMonitorDownload @ 0x3dddfc ; > CustomSongWidget::init @ 0x3df710 ; > CustomSongWidget::updateDownloadProgress @ 0x3dfa34 ; ; 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 {R4-R7,LR} ; +0x0, 0x3ddd70 VMOV.F32 S14, #4.0 ; +0x2, 0x3ddd72 LDR R4, =(__stack_chk_guard_ptr - 0x3DDD86) ; +0x6, 0x3ddd76 SUB SP, SP, #0x24 ; +0x8, 0x3ddd78 BIC.W R1, R1, R1,ASR#31 ; +0xa, 0x3ddd7a VLDR S13, =100.0 ; +0xe, 0x3ddd7e ADD R4, PC; __stack_chk_guard_ptr ; +0x12, 0x3ddd82 LDR R4, [R4]; __stack_chk_guard ; +0x14, 0x3ddd84 LDR.W R6, [R0,#0x14C] ; +0x16, 0x3ddd86 ADD R5, SP, #0x24+var_18 ; +0x1a, 0x3ddd8a LDR R3, [R4] ; +0x1c, 0x3ddd8c STR R3, [SP,#0x24+var_8] ; +0x1e, 0x3ddd8e LDR.W R3, [R0,#0x148] ; +0x20, 0x3ddd90 MOV R0, R5; this ; +0x24, 0x3ddd94 VLDR S15, [R3,#0x158] ; +0x26, 0x3ddd96 LDR R3, [R6] ; +0x2a, 0x3ddd9a VSUB.F32 S14, S15, S14 ; +0x2c, 0x3ddd9c LDR.W R7, [R3,#0x230] ; +0x30, 0x3ddda0 VMOV S15, R1 ; +0x34, 0x3ddda4 MOVS R1, #0; float ; +0x38, 0x3ddda8 MOV R2, R1; float ; +0x3a, 0x3dddaa MOV.W R3, #0x41000000 ; +0x3c, 0x3dddac STR R3, [SP,#0x24+var_24]; float ; +0x40, 0x3dddb0 VCVT.F32.S32 S15, S15 ; +0x42, 0x3dddb2 VDIV.F32 S15, S15, S13 ; +0x46, 0x3dddb6 VMUL.F32 S15, S14, S15 ; +0x4a, 0x3dddba VCMPE.F32 S14, S15 ; +0x4e, 0x3dddbe VMRS APSR_nzcv, FPSCR ; +0x52, 0x3dddc2 ITE LE ; +0x56, 0x3dddc6 VMOVLE R3, S14 ; +0x58, 0x3dddc8 VMOVGT R3, S15; float ; +0x5c, 0x3dddcc BL _ZN7cocos2d6CCRectC1Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x60, 0x3dddd0 MOV R0, R6 ; +0x64, 0x3dddd4 MOV R1, R5 ; +0x66, 0x3dddd6 BLX R7 ; +0x68, 0x3dddd8 LDR R2, [SP,#0x24+var_8] ; +0x6a, 0x3dddda LDR R3, [R4] ; +0x6c, 0x3ddddc CMP R2, R3 ; +0x6e, 0x3dddde BEQ loc_3DDDE6 ; +0x70, 0x3ddde0 BLX __stack_chk_fail ; +0x72, 0x3ddde2 ADD SP, SP, #0x24 ; '$' ; +0x76, 0x3ddde6 POP {R4-R7,PC} ; +0x78, 0x3ddde8