JubeatPlus 3.9.11
Loading...
Searching...
No Matches
Downloader.h File Reference

The HTTP client. More...

import <Foundation/Foundation.h>
Include dependency graph for Downloader.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

protocol  <DownloaderDelegate>
 Performs a single HTTP request. More...
class  Downloader
 A one-shot HTTP request that reports its result to a delegate. More...

Detailed Description

The HTTP client.

Reconstructed from Ghidra program Jubeat (class Downloader, image base 0x100000000). All

Ghidra address:
values are offsets relative to that image base.

The superclass is NSObject , from the dyld bind at the class object's superclass slot (0x34db18 + 8).

The class is a thin wrapper around NSURLSession : it builds an NSMutableURLRequest , starts a data task on the main queue, accumulates the bytes into an NSMutableData , and reports back through a weak delegate. Every server call in the application goes through it — 98 cross-references to -startDownloading alone.

The delegate is weak: every store goes through objc_storeWeak (0x27cf74 at 0xa7e60, 0xa83c4, 0xa889c) and every read through objc_loadWeakRetained. The ivar's encoding is a bare @ and records none of that, so the decompile shows plain assignments.

The class is complete: all seventeen hand-written members are recovered.