// // sub_60B16A from 0x60b16a to 0x60b20a (160 bytes) // // 1 xrefs: // > sub_60A278 @ 0x60a2c6 // // 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 // int *__fastcall sub_60B16A(int a1) { int v1; // r4 int v2; // r3 int *result; // r0 int v4; // r1 int v5; // r3 int *v6; // r0 int *v7; // r5 int *v8; // r0 v1 = a1; v2 = *(_DWORD *)(a1 + 20); if ( v2 != 16 ) { if ( v2 != 17 ) { v4 = 0; return sub_60B108(a1, v4); } sub_600224((unsigned __int8 **)(a1 + 4)); v6 = sub_600BF8((int **)v1); v7 = v6; if ( v6 ) { *(_BYTE *)v6 = 58; *((_BYTE *)v6 + 1) = 1; *((_BYTE *)v6 + 2) = 0; *((_BYTE *)v6 + 3) = 0; v6[1] = 0; v6[2] = 0; v6[3] = 0; } v8 = sub_600BF8((int **)v1); v4 = (int)v8; if ( v8 ) { v8[1] = (int)v7; *(_BYTE *)v8 = 57; *((_BYTE *)v8 + 1) = 1; *((_BYTE *)v8 + 2) = 5; *((_BYTE *)v8 + 3) = 2; v8[2] = 0; v8[3] = 0; v8[4] = 0; } LABEL_13: a1 = v1; return sub_60B108(a1, v4); } sub_600224((unsigned __int8 **)(a1 + 4)); result = sub_600BF8((int **)v1); v4 = (int)result; if ( result ) { *(_BYTE *)result = 58; *((_BYTE *)result + 1) = 1; *((_BYTE *)result + 2) = 0; *((_BYTE *)result + 3) = 0; result[1] = 0; result[2] = 0; result[3] = 0; } v5 = *(_DWORD *)(v1 + 20); if ( v5 == 20 || (unsigned int)(v5 - 22) <= 2 || v5 == 9 ) goto LABEL_13; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source