// // sub_60B108 from 0x60b108 to 0x60b16a (98 bytes) // // 2 xrefs: // > sub_60A278 @ 0x60a6c8 // > sub_60B16A @ 0x60b202 // // 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_60B108(int a1, int a2) { int *i; // r4 int v4; // r6 int *v5; // r0 int v6; // r1 for ( i = sub_60AD00(a1, a2); ; i = sub_60AD00(a1, v6) ) { v4 = *(_DWORD *)(a1 + 20); if ( (unsigned int)(v4 - 16) > 1 ) break; sub_600224((unsigned __int8 **)(a1 + 4)); if ( v4 == 17 ) { v5 = sub_600BF8((int **)a1); v6 = (int)v5; if ( v5 ) { *(_BYTE *)v5 = 57; *((_BYTE *)v5 + 2) = 5; *((_BYTE *)v5 + 1) = 1; *((_BYTE *)v5 + 3) = 2; v5[1] = (int)i; v5[2] = 0; v5[3] = 0; v5[4] = 0; } } else { v6 = (int)i; } } return i; }
GD Web Decomp Icon

GD Web Decomp

Raw Source