; ; CustomSFXWidget::updateProgressBar from 0x56de28 to 0x56dea2 (122 bytes) ; ; 3 xrefs: ; > CustomSFXWidget::startMonitorDownload @ 0x56deb4 ; > CustomSFXWidget::init @ 0x56eec0 ; > CustomSFXWidget::updateDownloadProgress @ 0x56f0b2 ; ; 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, 0x56de28 VMOV.F32 S14, #4.0 ; +0x2, 0x56de2a LDR R4, =(__stack_chk_guard_ptr - 0x56DE3E) ; +0x6, 0x56de2e SUB SP, SP, #0x24 ; +0x8, 0x56de30 BIC.W R1, R1, R1,ASR#31 ; +0xa, 0x56de32 VLDR S13, =100.0 ; +0xe, 0x56de36 ADD R4, PC; __stack_chk_guard_ptr ; +0x12, 0x56de3a LDR R4, [R4]; __stack_chk_guard ; +0x14, 0x56de3c LDR.W R6, [R0,#0x13C] ; +0x16, 0x56de3e ADD R5, SP, #0x24+var_18 ; +0x1a, 0x56de42 LDR R3, [R4] ; +0x1c, 0x56de44 STR R3, [SP,#0x24+var_8] ; +0x1e, 0x56de46 LDR.W R3, [R0,#0x138] ; +0x20, 0x56de48 MOV R0, R5; this ; +0x24, 0x56de4c VLDR S15, [R3,#0x158] ; +0x26, 0x56de4e LDR R3, [R6] ; +0x2a, 0x56de52 VSUB.F32 S14, S15, S14 ; +0x2c, 0x56de54 LDR.W R7, [R3,#0x230] ; +0x30, 0x56de58 VMOV S15, R1 ; +0x34, 0x56de5c MOVS R1, #0; float ; +0x38, 0x56de60 MOV R2, R1; float ; +0x3a, 0x56de62 MOV.W R3, #0x41000000 ; +0x3c, 0x56de64 STR R3, [SP,#0x24+var_24]; float ; +0x40, 0x56de68 VCVT.F32.S32 S15, S15 ; +0x42, 0x56de6a VDIV.F32 S15, S15, S13 ; +0x46, 0x56de6e VMUL.F32 S15, S14, S15 ; +0x4a, 0x56de72 VCMPE.F32 S14, S15 ; +0x4e, 0x56de76 VMRS APSR_nzcv, FPSCR ; +0x52, 0x56de7a ITE LE ; +0x56, 0x56de7e VMOVLE R3, S14 ; +0x58, 0x56de80 VMOVGT R3, S15; float ; +0x5c, 0x56de84 BL _ZN7cocos2d6CCRectC1Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x60, 0x56de88 MOV R0, R6 ; +0x64, 0x56de8c MOV R1, R5 ; +0x66, 0x56de8e BLX R7 ; +0x68, 0x56de90 LDR R2, [SP,#0x24+var_8] ; +0x6a, 0x56de92 LDR R3, [R4] ; +0x6c, 0x56de94 CMP R2, R3 ; +0x6e, 0x56de96 BEQ loc_56DE9E ; +0x70, 0x56de98 BLX __stack_chk_fail ; +0x72, 0x56de9a ADD SP, SP, #0x24 ; '$' ; +0x76, 0x56de9e POP {R4-R7,PC} ; +0x78, 0x56dea0