[BEGIN]

Patch by scottrix
for 37 Bracelet 2.6.3

Fix for old embedded certs
Remove caputcha calls
Cope with the fact that upstream server doesn't exist.

I have tested registering via email, "SEND" verification code,
input anything as the verification code then continue.

[PACKAGE]
[CLASSES]

// Patch to skip validating the old embedded certs
{"original":"11 00 6e 10 9d 9d 00 00"}
{"replaced":"11 00 00 00 00 00 00 00"}

// Remove calls to caputcha validation
{"original":"14 00 65 00 08 7f"}
{"replaced":"0e 00 00 00 00 00"}

// Since the site doesn't exist always assume we could find the user
// NewRegisterActivity - (-103)
{"original":"6a 30 33 01 08 00"}
{"replaced":"6a 30 00 00 00 00"}

// Ensure the Register get verification code is true even though it isn't
// NewRegisterActivity - handleGetCodeEvent
{"original":"38 01 67 00 52 61 10 55"}
{"replaced":"00 00 00 00 52 61 10 55"}

// Ensure we get a CodeModel otherwise our verification code won't be recognized.
// NewRegisterActivity - handleGetCodeEvent
{"original":"70 40 fb 69 61 32 6e 10 0e 6a 01 00 54 00 6b 30 6e 10 d3 a0 00 00 0c 00"}
{"replaced":"70 40 fb 69 61 32 6e 10 0e 6a 01 00 54 00 6b 30 1a 00 b5 8b 00 00 00 00"}

// Cope with the registration failing due to missing server
// NewRegisterActivity - handleRegisterEvent
{"original":"1f 00 4e 0d 55 01 69 30 38 01 4b 00 14 01 cd 02 08 7f"}
{"replaced":"1f 00 4e 0d 55 01 69 30 00 00 00 00 14 01 cd 02 08 7f"}

// Cope with login failing after registration
// NewRegisterActivity - handleLoginEvent
{"original":"1f 00 4e 0d 55 01 69 30 38 01 6e 00 14 01 ca 02 08 7f"}
{"replaced":"1f 00 4e 0d 55 01 69 30 00 00 00 00 14 01 ca 02 08 7f"}

// Cope with SetAppInfo failing after registration
// NewRegisterActivity - handleSetAppInfoEvent
{"original":"1f 00 4e 0d 55 00 69 30 38 00 16 00 22 00 61 00"}
{"replaced":"1f 00 4e 0d 55 00 69 30 00 00 00 00 22 00 61 00"}

// Cope with GetInsurance failing after registration
// NewRegisterActivity - handleGetInsuranceEvent
{"original":"1f 00 4e 0d 55 00 69 30 38 00 20 00 54 30 f8 54"}
{"replaced":"1f 00 4e 0d 55 00 69 30 00 00 00 00 54 30 f8 54"}

// Pass {} as string to ProtocolBill
{"original":"6e 20 9f 85 13 00 54 31 14 55 54 02 6c 30 71 20 26 66 21 00 54 31 14 55 12 02"}
{"replaced":"6e 20 9f 85 13 00 54 31 14 55 1a 02 b5 8b 71 20 26 66 21 00 54 31 14 55 12 02"}

// Don't call JSONArray jSONArray = new JSONObject(c0909a.f3164d).getJSONObject("PL").getJSONArray("Insurance");
{"original":"32 87 21 00 22 01 b6 15 54 00 6c 30 70 20 b5 a0 01 00 1a 00 f9 31 6e 20 bc a0 01 00 0c 00 1a 01 e6 14 6e 20 bb a0 10 00 0c 00"}
{"replaced":"32 87 21 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 12 00"}

// Cope with server upload failing
// NewCompleteUserInfoActivity - handleCheckHulkMacEvent
{"original": "1f 00 4e 0d 55 00 69 30 38 00 06 00 70 10 17 85 02 00 0e 00 71 00 12 80 00 00 0c 00 14 01 e0 00 08 7f"}
{"replaced": "1f 00 4e 0d 55 00 69 30 00 00 00 00 70 10 17 85 02 00 0e 00 71 00 12 80 00 00 0c 00 14 01 e3 00 08 7f"}

// Cope with server upload failing
// NewCompleteUserInfoActivity - handleSetUserEvent
{"original":"6e 10 04 85 04 00 54 40 a8 54 72 10 f7 9e 00 00 0c 00 1f 00 4e 0d 55 00 69 30 38 00 5b 00 71 00 12 80 00 00 0c 00 54 43 c1 54"}
{"replaced":"6e 10 04 85 04 00 54 40 a8 54 72 10 f7 9e 00 00 0c 00 1f 00 4e 0d 55 00 69 30 00 00 00 00 71 00 12 80 00 00 0c 00 54 43 c1 54"}

[END]

Congratulations, app should work again now.
