Skip to content

Instantly share code, notes, and snippets.

@invisiblek
Created May 1, 2016 23:53
Show Gist options
  • Save invisiblek/b627e21b3ddf68424170e2c79f3c375a to your computer and use it in GitHub Desktop.
Save invisiblek/b627e21b3ddf68424170e2c79f3c375a to your computer and use it in GitHub Desktop.
diff --git a/victara.txt b/clark.txt
index 421bac9..8fae3cd 100644
--- a/victara.txt
+++ b/clark.txt
@@ -23,7 +23,7 @@ int __fastcall raiseException(int a1, int a2, int a3);
int __fastcall jniRegisterNativeMethods(int a1, char *a2, int a3, int a4);
// int access(const char *name, int type);
// int asprintf(char **, const char *, ...);
-signed int __fastcall irGesturesRegisterNativeMethods(int a1);
+int __fastcall irGesturesRegisterNativeMethods(int a1);
int __fastcall stml0xxRegisterNativeMethods(int a1);
int __fastcall l4RegisterNativeMethods(int a1);
int getSensorhubVersion(void);
@@ -82,8 +82,8 @@ int __fastcall tuningRegisterNativeMethods7(int a1);
signed int __fastcall initTuningClassInfo(int a1);
int __fastcall tuningRegisterNativeMethods(int a1);
signed int __fastcall sub_3D54(int a1, int a2, unsigned int a3, unsigned int a4);
-signed int __fastcall sub_4098(int a1, unsigned int a2, unsigned int a3, int a4, int *a5);
-signed int __fastcall sub_413C(int a1, unsigned int a2, unsigned int a3, int a4);
+signed int __fastcall sub_4094(int a1, unsigned int a2, unsigned int a3, int a4, int *a5);
+signed int __fastcall sub_4138(int a1, unsigned int a2, unsigned int a3, int a4);
signed int __fastcall sub_4260(int a1, int a2, int a3);
void sub_42B4();
void sub_42BC();
@@ -105,39 +105,39 @@ signed int __fastcall sub_46B4(int a1, int a2);
signed int __fastcall sub_46D4(int a1);
int __fastcall sub_46EC(int a1);
int __fastcall sub_46FC(int a1, int a2);
-int __fastcall sub_4720(int a1, signed int a2);
-int __fastcall sub_47BC(int result, signed int a2, int a3);
-int __fastcall sub_4854(int a1, int a2);
-__int64 __fastcall sub_4878(int a1, int a2);
-int __fastcall sub_4928(int a1, int a2, int a3, int a4);
-signed int __fastcall sub_49FC(int a1);
-int __fastcall sub_4A48(int a1, int a2);
-void __fastcall sub_4A88(int a1);
-int __fastcall sub_4AA0(int a1);
-signed int __fastcall sub_4AA8(int a1, int a2, int a3, int a4);
-int __fastcall sub_4B04(int a1, int a2);
-int __fastcall sub_4B50(int a1, signed int a2);
-int __fastcall sub_4B58(int result);
-void __fastcall sub_4B60(int a1, int a2, int a3, int a4);
-int __fastcall sub_4B94(int a1);
-int sub_4BE4(); // weak
-int __fastcall sub_4D74(int result, int a2, int a3, int a4, int a5, int a6, int a7, int a8);
-int sub_544C(); // weak
-int __fastcall sub_5460(int _R0);
-int __fastcall sub_5468(int _R0);
-int __fastcall sub_5470(int _R0);
-int __fastcall sub_5478(int a1);
-int __fastcall sub_54BC(int a1);
+int __fastcall sub_471C(int a1, signed int a2);
+int __fastcall sub_47B8(int result, signed int a2, int a3);
+int __fastcall sub_4850(int a1, int a2);
+__int64 __fastcall sub_4870(int a1, int a2);
+int __fastcall sub_4920(int a1, int a2, int a3, int a4);
+signed int __fastcall sub_49F4(int a1);
+int __fastcall sub_4A40(int a1, int a2);
+void __fastcall sub_4A78(int a1);
+int __fastcall sub_4A90(int a1);
+signed int __fastcall sub_4A98(int a1, int a2, int a3, int a4);
+int __fastcall sub_4AF4(int a1, int a2);
+int __fastcall sub_4B44(int a1, signed int a2);
+int __fastcall sub_4B4C(int result);
+void __fastcall sub_4B54(int a1, int a2, int a3, int a4);
+int __fastcall sub_4B88(int a1);
+int sub_4BDC(); // weak
+int __fastcall sub_4D64(int result, int a2, int a3, int a4, int a5, int a6, int a7, int a8);
+int sub_5438(); // weak
+int __fastcall sub_544C(int _R0);
+int __fastcall sub_5454(int _R0);
+int __fastcall sub_545C(int _R0);
+int __fastcall sub_5464(int a1);
+int __fastcall sub_54A8(int a1);
int __fastcall j_j_j__Z24jniRegisterNativeMethodsP7_JNIEnvPKcPK15JNINativeMethodi(int a1, char *a2, int a3, int a4);
int __fastcall j_jniRegisterNativeMethods(int a1, char *a2, int a3, int a4);
signed int __fastcall j_j_j__Z20initTuningClassInfo7P7_JNIEnv(int a1);
signed int __fastcall j_initTuningClassInfo7(int a1);
int __fastcall j_j_j__Z28tuningRegisterNativeMethods7P7_JNIEnv(int a1);
int __fastcall j_tuningRegisterNativeMethods7(int a1);
-void sub_5500();
-void sub_5504();
-int __fastcall sub_5510(int a1);
-int __fastcall sub_5514(int a1);
+void sub_54EC();
+void sub_54F0();
+int __fastcall sub_54FC(int a1);
+int __fastcall sub_5500(int a1);

//-------------------------------------------------------------------------
// Data declarations
@@ -302,7 +302,7 @@ int __fastcall jniRegisterNativeMethods(int a1, char *a2, int a3, int a4)
}

//----- (00000D18) --------------------------------------------------------
-signed int __fastcall irGesturesRegisterNativeMethods(int a1)
+int __fastcall irGesturesRegisterNativeMethods(int a1)
{
return irGesturesRegisterNativeMethods(a1);
}
@@ -396,12 +396,16 @@ int __fastcall sub_EDC(int a1, int a2)
int v3; // r4@1
int v4; // r0@1
int v5; // r6@1
- int v6; // r6@2
- int v7; // r2@2
- int v8; // r0@2
+ int *v6; // r0@2
+ int *v7; // r6@2
+ char *v8; // r0@2
int v9; // r1@2
- int v10; // r4@3
- int v11; // r0@3
+ int v10; // r2@2
+ int v11; // r0@2
+ int v12; // r4@3
+ int v13; // r0@3
+ int *v14; // r0@4
+ char *v15; // r0@4

v2 = a1;
v3 = a2;
@@ -409,22 +413,26 @@ int __fastcall sub_EDC(int a1, int a2)
v5 = v4;
if ( v4 == -1 )
{
- v6 = _errno(-1);
- v7 = (int)strerror(*(_DWORD *)v6);
- v8 = v2;
+ v6 = (int *)_errno(-1);
+ v7 = v6;
+ v8 = strerror(*v6);
v9 = (int)"java/io/IOException";
+ v10 = (int)v8;
+ v11 = v2;
LABEL_5:
- raiseException(v8, v9, v7);
- return *(_DWORD *)v6;
+ raiseException(v11, v9, v10);
+ return *v7;
}
- v10 = ioctl(v4, 0x80014D2E, v3, v4 + 1);
- v11 = close(v5);
- if ( v10 )
+ v12 = ioctl(v4, 0x80014D2E, v3, v4 + 1);
+ v13 = close(v5);
+ if ( v12 )
{
- v6 = _errno(v11);
- v7 = (int)strerror(*(_DWORD *)v6);
- v8 = v2;
+ v14 = (int *)_errno(v13);
+ v7 = v14;
+ v15 = strerror(*v14);
v9 = (int)"java/io/IOException";
+ v10 = (int)v15;
+ v11 = v2;
goto LABEL_5;
}
return 0;
@@ -658,15 +666,19 @@ int __fastcall sub_11D0(int a1, unsigned __int32 a2, int a3, int a4)
const char *v7; // r0@2
int v8; // r0@4
int v9; // r5@4
- int v10; // r4@5
- int v11; // r2@5
- int v12; // r0@5
+ int *v10; // r0@5
+ int *v11; // r4@5
+ char *v12; // r0@5
int v13; // r1@5
- int v14; // r7@6
- int v15; // r0@6
- int v17; // [sp+0h] [bp-18h]@1
-
- v17 = a4;
+ int v14; // r2@5
+ int v15; // r0@5
+ int v16; // r7@6
+ int v17; // r0@6
+ int *v18; // r0@7
+ char *v19; // r0@7
+ int v21; // [sp+0h] [bp-18h]@1
+
+ v21 = a4;
v4 = a1;
v5 = a2;
v6 = a3;
@@ -678,22 +690,26 @@ int __fastcall sub_11D0(int a1, unsigned __int32 a2, int a3, int a4)
v9 = v8;
if ( v8 == -1 )
{
- v10 = _errno(-1);
- v11 = (int)strerror(*(_DWORD *)v10);
- v12 = v4;
+ v10 = (int *)_errno(-1);
+ v11 = v10;
+ v12 = strerror(*v10);
v13 = (int)"java/io/IOException";
+ v14 = (int)v12;
+ v15 = v4;
LABEL_8:
- raiseException(v12, v13, v11);
- return *(_DWORD *)v10;
+ raiseException(v15, v13, v14);
+ return *v11;
}
- v14 = ioctl(v8, v5, v6, v8 + 1, v17);
- v15 = close(v9);
- if ( v14 )
+ v16 = ioctl(v8, v5, v6, v8 + 1, v21);
+ v17 = close(v9);
+ if ( v16 )
{
- v10 = _errno(v15);
- v11 = (int)strerror(*(_DWORD *)v10);
- v12 = v4;
+ v18 = (int *)_errno(v17);
+ v11 = v18;
+ v19 = strerror(*v18);
v13 = (int)"java/io/IOException";
+ v14 = (int)v19;
+ v15 = v4;
goto LABEL_8;
}
return 0;
@@ -712,24 +728,25 @@ int __fastcall sub_1250(int a1, int a2)
int v8; // r0@9
int v9; // r1@9
int v10; // r2@9
- int v12; // [sp+4h] [bp-14h]@1
+ char *v11; // r0@10
+ int v13; // [sp+4h] [bp-14h]@1

- v12 = a2;
+ v13 = a2;
v2 = a1;
if ( getSensorhubVersion() == 1 )
v3 = "/dev/stm401";
else
v3 = "/dev/motosh";
v4 = open(v3, 2, 0);
+ v13 = 0;
v5 = v4;
- v12 = 0;
if ( v4 < 0 )
{
v6 = -1;
}
else
{
- v6 = ioctl(v4, 0x80014D16, &v12);
+ v6 = ioctl(v4, 0x80014D16, &v13);
v4 = close(v5);
if ( v6 >= 0 )
return v6;
@@ -743,9 +760,10 @@ int __fastcall sub_1250(int a1, int a2)
}
else
{
- v10 = (int)strerror(*v7);
- v8 = v2;
+ v11 = strerror(*v7);
v9 = (int)"java/io/IOException";
+ v10 = (int)v11;
+ v8 = v2;
}
raiseException(v8, v9, v10);
return v6;
@@ -1135,12 +1153,16 @@ int __fastcall sub_1964(int a1, int a2)
int v3; // r4@1
int v4; // r0@1
int v5; // r6@1
- int v6; // r6@2
- int v7; // r2@2
- int v8; // r0@2
+ int *v6; // r0@2
+ int *v7; // r6@2
+ char *v8; // r0@2
int v9; // r1@2
- int v10; // r4@3
- int v11; // r0@3
+ int v10; // r2@2
+ int v11; // r0@2
+ int v12; // r4@3
+ int v13; // r0@3
+ int *v14; // r0@4
+ char *v15; // r0@4

v2 = a1;
v3 = a2;
@@ -1148,22 +1170,26 @@ int __fastcall sub_1964(int a1, int a2)
v5 = v4;
if ( v4 == -1 )
{
- v6 = _errno(-1);
- v7 = (int)strerror(*(_DWORD *)v6);
- v8 = v2;
+ v6 = (int *)_errno(-1);
+ v7 = v6;
+ v8 = strerror(*v6);
v9 = (int)"java/io/IOException";
+ v10 = (int)v8;
+ v11 = v2;
LABEL_5:
- raiseException(v8, v9, v7);
- return *(_DWORD *)v6;
+ raiseException(v11, v9, v10);
+ return *v7;
}
- v10 = ioctl(v4, 0x80014D2E, v3, v4 + 1);
- v11 = close(v5);
- if ( v10 )
+ v12 = ioctl(v4, 0x80014D2E, v3, v4 + 1);
+ v13 = close(v5);
+ if ( v12 )
{
- v6 = _errno(v11);
- v7 = (int)strerror(*(_DWORD *)v6);
- v8 = v2;
+ v14 = (int *)_errno(v13);
+ v7 = v14;
+ v15 = strerror(*v14);
v9 = (int)"java/io/IOException";
+ v10 = (int)v15;
+ v11 = v2;
goto LABEL_5;
}
return 0;
@@ -2088,7 +2114,7 @@ LABEL_23:
LABEL_54:
v23 = 5;
LABEL_55:
- sub_413C(v21, v22, v20, v23);
+ sub_4138(v21, v22, v20, v23);
goto LABEL_56;
default:
return 9;
@@ -2114,7 +2140,7 @@ LABEL_34:
v18 = v7;
v19 = 0;
LABEL_35:
- sub_413C(v18, v19, v17, v16);
+ sub_4138(v18, v19, v17, v16);
++v5;
continue;
}
@@ -2174,8 +2200,8 @@ def_3EEE:
v27 |= (*(_BYTE *)(v6 + ((v5 - 1) ^ 3)) & 0x7F) << v28;
if ( !(*(_BYTE *)(v6 + ((v5 - 1) ^ 3)) & 0x80) )
break;
- _CF = v5 >= v4;
v28 += 7;
+ _CF = v5 >= v4;
result = 9;
++v5;
if ( _CF )
@@ -2202,7 +2228,7 @@ def_3EEE:
v15 = (unsigned __int16)((_WORD)v10 << 12) | 16 * *(_BYTE *)(v6 + (v9 ^ 3));
if ( !v15 )
return 9;
- sub_413C(v7, 0, v15, 0);
+ sub_4138(v7, 0, v15, 0);
v8 |= (((_WORD)v10 << 12) & 0x8000u) >> 15;
LABEL_56:
v5 += 2;
@@ -2218,8 +2244,8 @@ LABEL_59:
return 8;
}

-//----- (00004098) --------------------------------------------------------
-signed int __fastcall sub_4098(int a1, unsigned int a2, unsigned int a3, int a4, int *a5)
+//----- (00004094) --------------------------------------------------------
+signed int __fastcall sub_4094(int a1, unsigned int a2, unsigned int a3, int a4, int *a5)
{
int v5; // r5@1
int v6; // r4@1
@@ -2233,7 +2259,7 @@ signed int __fastcall sub_4098(int a1, unsigned int a2, unsigned int a3, int a4,
v5 = a3;
v6 = a1;
if ( a2 > 4 )
-def_40A4:
+def_40A0:
sub_4474(
(int)"_Unwind_VRS_Result _Unwind_VRS_Set(_Unwind_Context *, _Unwind_VRS_RegClass, uint32_t, _Unwind_VRS_DataRepresentation, void *)",
831,
@@ -2285,12 +2311,12 @@ LABEL_15:
result = sub_4600(v9, v10, v8);
goto LABEL_24;
default:
- goto def_40A4;
+ goto def_40A0;
}
}

-//----- (0000413C) --------------------------------------------------------
-signed int __fastcall sub_413C(int a1, unsigned int a2, unsigned int a3, int a4)
+//----- (00004138) --------------------------------------------------------
+signed int __fastcall sub_4138(int a1, unsigned int a2, unsigned int a3, int a4)
{
unsigned int v4; // r5@1
int v5; // r7@1
@@ -2307,20 +2333,19 @@ signed int __fastcall sub_413C(int a1, unsigned int a2, unsigned int a3, int a4)
int v16; // r6@19
int v17; // r0@20
int v18; // r2@20
- int v19; // r0@20
- int v20; // r2@23
- int v21; // [sp+8h] [bp-38h]@20
- int v22; // [sp+Ch] [bp-34h]@20
- int v23; // [sp+14h] [bp-2Ch]@17
- int v24; // [sp+18h] [bp-28h]@7
- int v25; // [sp+1Ch] [bp-24h]@4
+ int v19; // r2@23
+ int v20; // [sp+8h] [bp-38h]@20
+ int v21; // [sp+Ch] [bp-34h]@20
+ int v22; // [sp+14h] [bp-2Ch]@17
+ int v23; // [sp+18h] [bp-28h]@7
+ int v24; // [sp+1Ch] [bp-24h]@4

v4 = a2;
v5 = a4;
v6 = a3;
v7 = a1;
if ( a2 > 4 )
-def_4150:
+def_414C:
sub_4474(
(int)"_Unwind_VRS_Result _Unwind_VRS_Pop(_Unwind_Context *, _Unwind_VRS_RegClass, uint32_t, _Unwind_VRS_DataRepresentation)",
965,
@@ -2329,7 +2354,7 @@ def_4150:
{
case 0u:
case 4u:
- if ( a4 || sub_45D0(a1, 13, (int)&v25) )
+ if ( a4 || sub_45D0(a1, 13, (int)&v24) )
return 2;
v8 = 0;
v9 = 0;
@@ -2337,10 +2362,10 @@ def_4150:
{
if ( (1 << v9) & v6 )
{
- v10 = v25;
- v25 += 4;
- v24 = *(_DWORD *)v10;
- v11 = sub_4098(v7, v4, v9, 0, &v24);
+ v10 = v24;
+ v24 += 4;
+ v23 = *(_DWORD *)v10;
+ v11 = sub_4094(v7, v4, v9, 0, &v23);
v12 = 0;
v13 = 0;
if ( v9 == 13 )
@@ -2356,11 +2381,11 @@ def_4150:
while ( v9 < 0x10 );
if ( v8 & 1 )
return 0;
- v20 = v25;
+ v19 = v24;
goto LABEL_29;
case 1u:
case 3u:
- if ( (a4 | 4) != 5 || sub_45D0(a1, 13, (int)&v23) )
+ if ( (a4 | 4) != 5 || sub_45D0(a1, 13, (int)&v22) )
return 2;
if ( !(_WORD)v6 )
goto LABEL_22;
@@ -2368,18 +2393,17 @@ def_4150:
v16 = (v6 >> 16) + v6;
break;
default:
- goto def_4150;
+ goto def_414C;
}
do
{
- v17 = v23;
- v23 += 4;
+ v17 = v22;
+ v22 += 4;
v18 = *(_DWORD *)v17;
- v23 = v17 + 8;
- v19 = *(_DWORD *)(v17 + 4);
- v21 = v18;
- v22 = v19;
- if ( sub_4098(v7, v4, v15, v5, &v21) )
+ v22 = v17 + 8;
+ v21 = *(_DWORD *)(v17 + 4);
+ v20 = v18;
+ if ( sub_4094(v7, v4, v15, v5, &v20) )
return 2;
++v15;
}
@@ -2387,15 +2411,15 @@ def_4150:
LABEL_22:
if ( v5 == 1 )
{
- v20 = v23 + 4;
- v23 += 4;
+ v19 = v22 + 4;
+ v22 += 4;
}
else
{
- v20 = v23;
+ v19 = v22;
}
LABEL_29:
- result = sub_4600(v7, 13, v20);
+ result = sub_4600(v7, 13, v19);
if ( result )
result = 2;
return result;
@@ -2408,8 +2432,9 @@ signed int __fastcall sub_4260(int a1, int a2, int a3)
int v4; // r1@1
int v5; // r12@1
int v6; // r3@1
- unsigned int v7; // r3@4
- unsigned int v8; // r2@4
+ bool v7; // zf@2
+ unsigned int v8; // r3@6
+ unsigned int v9; // r2@6

v3 = a2;
v4 = a3;
@@ -2417,19 +2442,22 @@ signed int __fastcall sub_4260(int a1, int a2, int a3)
v6 = (*(_DWORD *)v5 >> 24) & 0xF;
if ( v6 )
{
- if ( v6 != 1 && v6 != 3 )
+ v7 = v6 == 1;
+ if ( v6 != 1 )
+ v7 = v6 == 3;
+ if ( !v7 )
return 9;
- v7 = 4 * ((*(_DWORD *)v5 >> 16) & 0xFF) + 4;
- v8 = 2;
+ v8 = 4 * ((*(_DWORD *)v5 >> 16) & 0xFF) + 4;
+ v9 = 2;
}
else
{
- v8 = 1;
- v7 = 4;
+ v9 = 1;
+ v8 = 4;
}
- if ( !v5 || !(*(_BYTE *)(v3 + 80) & 1) && *(_DWORD *)(v5 + v7) )
+ if ( !v5 || !(*(_BYTE *)(v3 + 80) & 1) && *(_DWORD *)(v5 + v8) )
return 9;
- return sub_3D54(v4, v5, v8, v7);
+ return sub_3D54(v4, v5, v9, v8);
}

//----- (000042B4) --------------------------------------------------------
@@ -2628,7 +2656,7 @@ int __fastcall sub_4580(int a1)
*(_DWORD *)(a1 + 72) = 0;
_aeabi_memcpy(a1 + 8);
_aeabi_memset(v1 + 80, 450, 0);
- sub_4B04(v1, 0);
+ sub_4AF4(v1, 0);
return 0;
}
// DC0: using guessed type int __fastcall _aeabi_memcpy(_DWORD);
@@ -2791,8 +2819,8 @@ int __fastcall sub_46FC(int a1, int a2)
return v4 | v2;
}

-//----- (00004720) --------------------------------------------------------
-int __fastcall sub_4720(int a1, signed int a2)
+//----- (0000471C) --------------------------------------------------------
+int __fastcall sub_471C(int a1, signed int a2)
{
signed int v2; // r5@1
int v3; // r4@1
@@ -2829,7 +2857,7 @@ LABEL_12:
if ( (unsigned int)a2 > 0xC )
{
if ( (a2 & 0xFFFFFFFC) != 192 )
- sub_4B60(
+ sub_4B54(
(int)"uint32_t libunwind::Registers_arm::getRegister(int)",
(int)"external/libcxxabi/src/Unwind/Registers.hpp",
1452,
@@ -2848,8 +2876,8 @@ LABEL_12:
return *(_DWORD *)v4;
}

-//----- (000047BC) --------------------------------------------------------
-int __fastcall sub_47BC(int result, signed int a2, int a3)
+//----- (000047B8) --------------------------------------------------------
+int __fastcall sub_47B8(int result, signed int a2, int a3)
{
signed int v3; // r6@1
int v4; // r4@1
@@ -2887,7 +2915,7 @@ LABEL_12:
if ( (unsigned int)a2 > 0xC )
{
if ( (a2 & 0xFFFFFFFC) != 192 )
- sub_4B60(
+ sub_4B54(
(int)"void libunwind::Registers_arm::setRegister(int, uint32_t)",
(int)"external/libcxxabi/src/Unwind/Registers.hpp",
1471,
@@ -2908,8 +2936,8 @@ LABEL_12:
return result;
}

-//----- (00004854) --------------------------------------------------------
-int __fastcall sub_4854(int a1, int a2)
+//----- (00004850) --------------------------------------------------------
+int __fastcall sub_4850(int a1, int a2)
{
signed int v2; // r2@1
bool v3; // zf@1
@@ -2927,8 +2955,8 @@ int __fastcall sub_4854(int a1, int a2)
return v4 | v2;
}

-//----- (00004878) --------------------------------------------------------
-__int64 __fastcall sub_4878(int a1, int a2)
+//----- (00004870) --------------------------------------------------------
+__int64 __fastcall sub_4870(int a1, int a2)
{
int v2; // r4@1
int v3; // r5@1
@@ -2960,7 +2988,7 @@ __int64 __fastcall sub_4878(int a1, int a2)
else
{
if ( v4 != 256 )
- sub_4B60(
+ sub_4B54(
(int)"unw_fpreg_t libunwind::Registers_arm::getFloatRegister(int)",
(int)"external/libcxxabi/src/Unwind/Registers.hpp",
1673,
@@ -2979,8 +3007,8 @@ __int64 __fastcall sub_4878(int a1, int a2)
return *(_QWORD *)v5;
}

-//----- (00004928) --------------------------------------------------------
-int __fastcall sub_4928(int a1, int a2, int a3, int a4)
+//----- (00004920) --------------------------------------------------------
+int __fastcall sub_4920(int a1, int a2, int a3, int a4)
{
int v4; // r6@1
int v5; // r7@1
@@ -3021,7 +3049,7 @@ int __fastcall sub_4928(int a1, int a2, int a3, int a4)
else
{
if ( v6 != 256 )
- sub_4B60(
+ sub_4B54(
(int)"void libunwind::Registers_arm::setFloatRegister(int, unw_fpreg_t)",
(int)"external/libcxxabi/src/Unwind/Registers.hpp",
1700,
@@ -3044,8 +3072,8 @@ int __fastcall sub_4928(int a1, int a2, int a3, int a4)
return result;
}

-//----- (000049FC) --------------------------------------------------------
-signed int __fastcall sub_49FC(int a1)
+//----- (000049F4) --------------------------------------------------------
+signed int __fastcall sub_49F4(int a1)
{
int v1; // r4@1
signed int result; // r0@3
@@ -3071,106 +3099,120 @@ signed int __fastcall sub_49FC(int a1)
return result;
}

-//----- (00004A48) --------------------------------------------------------
-int __fastcall sub_4A48(int a1, int a2)
+//----- (00004A40) --------------------------------------------------------
+int __fastcall sub_4A40(int a1, int a2)
{
- int v2; // r3@1
- int v3; // r4@1
- int v4; // r5@1
- int v5; // r12@1
- int v6; // lr@1
- int v7; // r4@1
- int v8; // r2@1
- int v9; // r3@1
- int v10; // r5@1
+ int v2; // r12@1
+ int v3; // lr@1
+ int v4; // r11@1
+ int v5; // r3@1
+ int v6; // r4@1
+ int v7; // r5@1
+ int v8; // r4@1
+ int v9; // r2@1
+ int v10; // r3@1
+ int v11; // r5@1
int result; // r0@1

- v2 = *(_DWORD *)(a1 + 504);
- v3 = *(_DWORD *)(a1 + 496);
- v4 = *(_DWORD *)(a1 + 500);
- v5 = *(_DWORD *)(a1 + 488);
- v6 = *(_DWORD *)(a1 + 492);
- *(_DWORD *)(a2 + 20) = *(_DWORD *)(a1 + 508);
- *(_DWORD *)(a2 + 16) = v2;
- *(_DWORD *)(a2 + 12) = v4;
- *(_DWORD *)(a2 + 8) = v3;
- v7 = a2 + 24;
- *(_DWORD *)a2 = v5;
- *(_DWORD *)(a2 + 4) = v6;
- v8 = *(_DWORD *)(a1 + 512);
- v9 = *(_DWORD *)(a1 + 516);
- v10 = *(_DWORD *)(a1 + 520);
+ v2 = *(_DWORD *)(a1 + 488);
+ v3 = *(_DWORD *)(a1 + 492);
+ v4 = a2 + 8;
+ v5 = *(_DWORD *)(a1 + 500);
+ v6 = *(_DWORD *)(a1 + 504);
+ v7 = *(_DWORD *)(a1 + 508);
+ *(_DWORD *)v4 = *(_DWORD *)(a1 + 496);
+ *(_DWORD *)(v4 + 4) = v5;
+ *(_DWORD *)(v4 + 8) = v6;
+ *(_DWORD *)(v4 + 12) = v7;
+ v8 = a2 + 24;
+ *(_DWORD *)a2 = v2;
+ *(_DWORD *)(a2 + 4) = v3;
+ v9 = *(_DWORD *)(a1 + 512);
+ v10 = *(_DWORD *)(a1 + 516);
+ v11 = *(_DWORD *)(a1 + 520);
result = *(_DWORD *)(a1 + 524);
*(_DWORD *)(a2 + 36) = result;
- *(_DWORD *)v7 = v8;
- *(_DWORD *)(v7 + 4) = v9;
- *(_DWORD *)(v7 + 8) = v10;
+ *(_DWORD *)v8 = v9;
+ *(_DWORD *)(v8 + 4) = v10;
+ *(_DWORD *)(v8 + 8) = v11;
return result;
}

-//----- (00004A88) --------------------------------------------------------
-void __fastcall sub_4A88(int a1)
+//----- (00004A78) --------------------------------------------------------
+void __fastcall sub_4A78(int a1)
{
- sub_4B94(a1 + 8);
- sub_5500();
+ sub_4B88(a1 + 8);
+ sub_54EC();
}

-//----- (00004AA0) --------------------------------------------------------
-int __fastcall sub_4AA0(int a1)
+//----- (00004A90) --------------------------------------------------------
+int __fastcall sub_4A90(int a1)
{
return *(_BYTE *)(a1 + 529);
}

-//----- (00004AA8) --------------------------------------------------------
-signed int __fastcall sub_4AA8(int a1, int a2, int a3, int a4)
+//----- (00004A98) --------------------------------------------------------
+signed int __fastcall sub_4A98(int a1, int a2, int a3, int a4)
{
int v4; // r6@1
int v5; // r5@1
int v6; // r4@1
int v7; // r7@1
- signed int result; // r0@3
- int v9; // [sp+10h] [bp-20h]@2
- int v10; // [sp+14h] [bp-1Ch]@3
+ int v8; // r0@1
+ bool v9; // zf@1
+ signed int result; // r0@4
+ int v11; // [sp+10h] [bp-20h]@2
+ int v12; // [sp+14h] [bp-1Ch]@4

v4 = a2;
v5 = a3;
v6 = a4;
v7 = (*(int (**)(void))(*(_DWORD *)a1 + 12))();
- if ( dladdr() && v9 )
+ v8 = dladdr();
+ v9 = v8 == 0;
+ if ( v8 )
+ v9 = v11 == 0;
+ if ( v9 )
{
- _snprintf_chk(v4, v5, 0, -1);
- *(_DWORD *)v6 = v7 - v10;
- result = 1;
+ result = 0;
}
else
{
- result = 0;
+ _snprintf_chk(v4, v5, 0, -1);
+ *(_DWORD *)v6 = v7 - v12;
+ result = 1;
}
return result;
}
// DD8: using guessed type int dladdr(void);
// DE4: using guessed type int __fastcall _snprintf_chk(_DWORD, _DWORD, _DWORD, _DWORD);

-//----- (00004B04) --------------------------------------------------------
-int __fastcall sub_4B04(int a1, int a2)
+//----- (00004AF4) --------------------------------------------------------
+int __fastcall sub_4AF4(int a1, int a2)
{
int v2; // r4@1
int v3; // r6@1
unsigned int v4; // r5@1
- int result; // r0@5
- int v6; // [sp+4h] [bp-1Ch]@3
- int v7; // [sp+8h] [bp-18h]@3
- int v8; // [sp+Ch] [bp-14h]@1
+ int v5; // r0@3
+ bool v6; // zf@3
+ int result; // r0@6
+ int v8; // [sp+4h] [bp-1Ch]@3
+ int v9; // [sp+8h] [bp-18h]@3
+ int v10; // [sp+Ch] [bp-14h]@1

v2 = a1;
v3 = a2;
v4 = (*(int (**)(void))(*(_DWORD *)a1 + 12))() & 0xFFFFFFFE;
- v8 = 0;
+ v10 = 0;
if ( v3 )
--v4;
- v6 = _gnu_Unwind_Find_exidx(v4, &v8);
- v7 = v8;
- if ( !v6 || !v8 || (result = ((int (__fastcall *)(int, unsigned int, int *))sub_4BE4)(v2, v4, &v6)) == 0 )
+ v5 = _gnu_Unwind_Find_exidx(v4, &v10);
+ v6 = v5 == 0;
+ v8 = v5;
+ v9 = v10;
+ if ( v5 )
+ v6 = v10 == 0;
+ if ( v6 || (result = ((int (__fastcall *)(int, unsigned int, int *))sub_4BDC)(v2, v4, &v8)) == 0 )
{
result = 1;
*(_BYTE *)(v2 + 528) = 1;
@@ -3178,15 +3220,15 @@ int __fastcall sub_4B04(int a1, int a2)
return result;
}
// DF0: using guessed type int __fastcall _gnu_Unwind_Find_exidx(_DWORD, _DWORD);
-// 4BE4: using guessed type int sub_4BE4();
+// 4BDC: using guessed type int sub_4BDC();

-//----- (00004B50) --------------------------------------------------------
-int __fastcall sub_4B50(int a1, signed int a2)
+//----- (00004B44) --------------------------------------------------------
+int __fastcall sub_4B44(int a1, signed int a2)
{
int v2; // r1@2
int result; // r0@3
- signed int v4; // r0@4
- int *v5; // r1@4
+ signed int v4; // r1@4
+ int *v5; // r0@4

if ( a2 <= 255 )
{
@@ -3198,361 +3240,361 @@ int __fastcall sub_4B50(int a1, signed int a2)
{
case 0:
case 15:
- v4 = -5583;
+ v4 = -5603;
v5 = &GLOBAL_OFFSET_TABLE_;
return (int)((char *)v5 + v4);
default:
- goto def_4EC0;
+ goto def_4EB0;
case 1:
case 17:
return result;
case 2:
- v4 = -5580;
+ v4 = -5600;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 3:
- v4 = -5577;
+ v4 = -5597;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 4:
- v4 = -5574;
+ v4 = -5594;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 5:
- v4 = -5571;
+ v4 = -5591;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 6:
- v4 = -5568;
+ v4 = -5588;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 7:
- v4 = -5565;
+ v4 = -5585;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 8:
- v4 = -5562;
+ v4 = -5582;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 9:
- v4 = -5559;
+ v4 = -5579;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 10:
- v4 = -5556;
+ v4 = -5576;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 11:
- v4 = -5553;
+ v4 = -5573;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 12:
- v4 = -5550;
+ v4 = -5570;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 13:
- v4 = -5546;
+ v4 = -5566;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 14:
- v4 = -5542;
+ v4 = -5562;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 16:
- v4 = -5586;
+ v4 = -5606;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 66:
- v4 = -5538;
+ v4 = -5558;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 67:
- v4 = -5535;
+ v4 = -5555;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 68:
- v4 = -5532;
+ v4 = -5552;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 69:
- v4 = -5529;
+ v4 = -5549;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 70:
- v4 = -5526;
+ v4 = -5546;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 71:
- v4 = -5523;
+ v4 = -5543;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 72:
- v4 = -5520;
+ v4 = -5540;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 73:
- v4 = -5517;
+ v4 = -5537;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 74:
- v4 = -5514;
+ v4 = -5534;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 75:
- v4 = -5511;
+ v4 = -5531;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 76:
- v4 = -5508;
+ v4 = -5528;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 77:
- v4 = -5504;
+ v4 = -5524;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 78:
- v4 = -5500;
+ v4 = -5520;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 79:
- v4 = -5496;
+ v4 = -5516;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 80:
- v4 = -5492;
+ v4 = -5512;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 81:
- v4 = -5488;
+ v4 = -5508;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 82:
- v4 = -5484;
+ v4 = -5504;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 83:
- v4 = -5480;
+ v4 = -5500;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 84:
- v4 = -5476;
+ v4 = -5496;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 85:
- v4 = -5472;
+ v4 = -5492;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 86:
- v4 = -5468;
+ v4 = -5488;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 87:
- v4 = -5464;
+ v4 = -5484;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 88:
- v4 = -5460;
+ v4 = -5480;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 89:
- v4 = -5456;
+ v4 = -5476;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 90:
- v4 = -5452;
+ v4 = -5472;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 91:
- v4 = -5448;
+ v4 = -5468;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 92:
- v4 = -5444;
+ v4 = -5464;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 93:
- v4 = -5440;
+ v4 = -5460;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 94:
- v4 = -5436;
+ v4 = -5456;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 95:
- v4 = -5432;
+ v4 = -5452;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 96:
- v4 = -5428;
+ v4 = -5448;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 97:
- v4 = -5424;
+ v4 = -5444;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
}
return (int)((char *)v5 + v4);
}
-def_4EC0:
- v4 = -5302;
+def_4EB0:
+ v4 = -5322;
v5 = &GLOBAL_OFFSET_TABLE_;
return (int)((char *)v5 + v4);
}
if ( (unsigned int)(a2 - 256) > 0x1F )
- goto def_4EC0;
+ goto def_4EB0;
switch ( a2 )
{
case 0:
- v4 = -5420;
+ v4 = -5440;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 1:
- v4 = -5417;
+ v4 = -5437;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 2:
- v4 = -5414;
+ v4 = -5434;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 3:
- v4 = -5411;
+ v4 = -5431;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 4:
- v4 = -5408;
+ v4 = -5428;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 5:
- v4 = -5405;
+ v4 = -5425;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 6:
- v4 = -5402;
+ v4 = -5422;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 7:
- v4 = -5399;
+ v4 = -5419;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 8:
- v4 = -5396;
+ v4 = -5416;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 9:
- v4 = -5393;
+ v4 = -5413;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 10:
- v4 = -5390;
+ v4 = -5410;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 11:
- v4 = -5386;
+ v4 = -5406;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 12:
- v4 = -5382;
+ v4 = -5402;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 13:
- v4 = -5378;
+ v4 = -5398;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 14:
- v4 = -5374;
+ v4 = -5394;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 15:
- v4 = -5370;
+ v4 = -5390;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 16:
- v4 = -5366;
+ v4 = -5386;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 17:
- v4 = -5362;
+ v4 = -5382;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 18:
- v4 = -5358;
+ v4 = -5378;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 19:
- v4 = -5354;
+ v4 = -5374;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 20:
- v4 = -5350;
+ v4 = -5370;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 21:
- v4 = -5346;
+ v4 = -5366;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 22:
- v4 = -5342;
+ v4 = -5362;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 23:
- v4 = -5338;
+ v4 = -5358;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 24:
- v4 = -5334;
+ v4 = -5354;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 25:
- v4 = -5330;
+ v4 = -5350;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 26:
- v4 = -5326;
+ v4 = -5346;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 27:
- v4 = -5322;
+ v4 = -5342;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 28:
- v4 = -5318;
+ v4 = -5338;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 29:
- v4 = -5314;
+ v4 = -5334;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 30:
- v4 = -5310;
+ v4 = -5330;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
case 31:
- v4 = -5306;
+ v4 = -5326;
v5 = &GLOBAL_OFFSET_TABLE_;
break;
default:
- goto def_4EC0;
+ goto def_4EB0;
}
return (int)((char *)v5 + v4);
}
// 7F6C: using guessed type int GLOBAL_OFFSET_TABLE_;

-//----- (00004B58) --------------------------------------------------------
-int __fastcall sub_4B58(int result)
+//----- (00004B4C) --------------------------------------------------------
+int __fastcall sub_4B4C(int result)
{
*(_BYTE *)(result + 72) = 1;
return result;
}

-//----- (00004B60) --------------------------------------------------------
-void __fastcall sub_4B60(int a1, int a2, int a3, int a4)
+//----- (00004B54) --------------------------------------------------------
+void __fastcall sub_4B54(int a1, int a2, int a3, int a4)
{
fprintf((FILE *)stderr, "libunwind: %s %s:%d - %s\n", a1, a2, a3, a4);
abort();
}

-//----- (00004B94) --------------------------------------------------------
-int __fastcall sub_4B94(int a1)
+//----- (00004B88) --------------------------------------------------------
+int __fastcall sub_4B88(int a1)
{
int v1; // r4@1
int v2; // r0@2
@@ -3563,22 +3605,22 @@ int __fastcall sub_4B94(int a1)
{
v2 = a1 + 72;
if ( *(_BYTE *)(v1 + 64) )
- sub_5468(v2);
+ sub_5454(v2);
else
- sub_5460(v2);
+ sub_544C(v2);
}
if ( *(_BYTE *)(v1 + 66) )
- sub_5470(v1 + 208);
+ sub_545C(v1 + 208);
if ( *(_BYTE *)(v1 + 67) )
- sub_5478(v1 + 336);
+ sub_5464(v1 + 336);
result = *(_BYTE *)(v1 + 68);
if ( *(_BYTE *)(v1 + 68) )
- result = sub_5510(v1 + 464);
+ result = sub_54FC(v1 + 464);
return result;
}

-//----- (00004D74) --------------------------------------------------------
-int __fastcall sub_4D74(int result, int a2, int a3, int a4, int a5, int a6, int a7, int a8)
+//----- (00004D64) --------------------------------------------------------
+int __fastcall sub_4D64(int result, int a2, int a3, int a4, int a5, int a6, int a7, int a8)
{
unsigned int v8; // r4@1
unsigned int v9; // r5@2
@@ -3606,8 +3648,8 @@ int __fastcall sub_4D74(int result, int a2, int a3, int a4, int a5, int a6, int
return result;
}

-//----- (00005460) --------------------------------------------------------
-int __fastcall sub_5460(int _R0)
+//----- (0000544C) --------------------------------------------------------
+int __fastcall sub_544C(int _R0)
{
int result; // r0@1

@@ -3615,8 +3657,8 @@ int __fastcall sub_5460(int _R0)
return result;
}

-//----- (00005468) --------------------------------------------------------
-int __fastcall sub_5468(int _R0)
+//----- (00005454) --------------------------------------------------------
+int __fastcall sub_5454(int _R0)
{
int result; // r0@1

@@ -3624,8 +3666,8 @@ int __fastcall sub_5468(int _R0)
return result;
}

-//----- (00005470) --------------------------------------------------------
-int __fastcall sub_5470(int _R0)
+//----- (0000545C) --------------------------------------------------------
+int __fastcall sub_545C(int _R0)
{
int result; // r0@1

@@ -3633,8 +3675,8 @@ int __fastcall sub_5470(int _R0)
return result;
}

-//----- (00005478) --------------------------------------------------------
-int __fastcall sub_5478(int a1)
+//----- (00005464) --------------------------------------------------------
+int __fastcall sub_5464(int a1)
{
int v5; // r0@1
int result; // r0@1
@@ -3690,8 +3732,8 @@ int __fastcall sub_5478(int a1)
return result;
}

-//----- (000054BC) --------------------------------------------------------
-int __fastcall sub_54BC(int a1)
+//----- (000054A8) --------------------------------------------------------
+int __fastcall sub_54A8(int a1)
{
int v5; // r0@1
int result; // r0@1
@@ -3711,65 +3753,65 @@ int __fastcall sub_54BC(int a1)
return result;
}

-//----- (000054D0) --------------------------------------------------------
+//----- (000054BC) --------------------------------------------------------
int __fastcall j_j_j__Z24jniRegisterNativeMethodsP7_JNIEnvPKcPK15JNINativeMethodi(int a1, char *a2, int a3, int a4)
{
return j_jniRegisterNativeMethods(a1, a2, a3, a4);
}

-//----- (000054D4) --------------------------------------------------------
+//----- (000054C0) --------------------------------------------------------
int __fastcall j_jniRegisterNativeMethods(int a1, char *a2, int a3, int a4)
{
return jniRegisterNativeMethods(a1, a2, a3, a4);
}

-//----- (000054E0) --------------------------------------------------------
+//----- (000054CC) --------------------------------------------------------
signed int __fastcall j_j_j__Z20initTuningClassInfo7P7_JNIEnv(int a1)
{
return j_initTuningClassInfo7(a1);
}

-//----- (000054E4) --------------------------------------------------------
+//----- (000054D0) --------------------------------------------------------
signed int __fastcall j_initTuningClassInfo7(int a1)
{
return initTuningClassInfo7(a1);
}

-//----- (000054F0) --------------------------------------------------------
+//----- (000054DC) --------------------------------------------------------
int __fastcall j_j_j__Z28tuningRegisterNativeMethods7P7_JNIEnv(int a1)
{
return j_tuningRegisterNativeMethods7(a1);
}

-//----- (000054F4) --------------------------------------------------------
+//----- (000054E0) --------------------------------------------------------
int __fastcall j_tuningRegisterNativeMethods7(int a1)
{
return tuningRegisterNativeMethods7(a1);
}

-//----- (00005500) --------------------------------------------------------
-void sub_5500()
+//----- (000054EC) --------------------------------------------------------
+void sub_54EC()
{
- sub_5504();
+ sub_54F0();
}

-//----- (00005504) --------------------------------------------------------
-void sub_5504()
+//----- (000054F0) --------------------------------------------------------
+void sub_54F0()
{
- JUMPOUT(sub_544C);
+ JUMPOUT(sub_5438);
}
-// 544C: using guessed type int sub_544C();
+// 5438: using guessed type int sub_5438();

-//----- (00005510) --------------------------------------------------------
-int __fastcall sub_5510(int a1)
+//----- (000054FC) --------------------------------------------------------
+int __fastcall sub_54FC(int a1)
{
- return sub_5514(a1);
+ return sub_5500(a1);
}

-//----- (00005514) --------------------------------------------------------
-int __fastcall sub_5514(int a1)
+//----- (00005500) --------------------------------------------------------
+int __fastcall sub_5500(int a1)
{
- return sub_54BC(a1);
+ return sub_54A8(a1);
}

#error "There were 1 decompilation failure(s) on 109 function(s)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment