// // sub_100555A68 from 0x100555a68 to 0x100555b7c (276 bytes) // // 1 xrefs: // > sub_10060F234 @ 0x10060f924 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:07:57 +0000 // int *__fastcall sub_100555A68(int *__src, int a2, int a3, char *__dst) { int *v4; // x8 __int64 v5; // x9 int v6; // w10 int v7; // t1 __int64 v8; // x9 int v9; // w10 int v10; // t1 __int64 v11; // x9 int v12; // w10 int v13; // w11 int v14; // t1 int v15; // w12 __int64 v16; // x9 int v17; // w12 int v18; // w11 int v19; // t1 int v20; // w12 v4 = __src; switch ( a3 ) { case 0: __src = (int *)memcpy(__dst, __src, 4LL * (unsigned int)a2); break; case 1: if ( a2 >= 1 ) { v5 = (unsigned int)a2; v6 = *((_DWORD *)__dst - 1); do { v7 = *v4++; v6 += v7; *(_DWORD *)__dst = v6; __dst += 4; --v5; } while ( v5 ); } break; case 2: if ( a2 >= 1 ) { v8 = (unsigned int)a2; v9 = *((_DWORD *)__dst - 1); do { v10 = *v4++; v9 = v10 + 2 * v9 - *((_DWORD *)__dst - 2); *(_DWORD *)__dst = v9; __dst += 4; --v8; } while ( v8 ); } break; case 3: if ( a2 >= 1 ) { v11 = (unsigned int)a2; v12 = *((_DWORD *)__dst - 1); v13 = *((_DWORD *)__dst - 3); do { v14 = *v4++; v15 = *((_DWORD *)__dst - 2); v12 = v13 + v14 + 3 * (v12 - v15); *(_DWORD *)__dst = v12; __dst += 4; v13 = v15; --v11; } while ( v11 ); } break; case 4: if ( a2 >= 1 ) { v16 = (unsigned int)a2; v17 = *((_DWORD *)__dst - 1); v18 = *((_DWORD *)__dst - 3); do { v19 = *v4++; v20 = v19 + 4 * (v18 + v17); v18 = *((_DWORD *)__dst - 2); v17 = v20 - 6 * v18 - *((_DWORD *)__dst - 4); *(_DWORD *)__dst = v17; __dst += 4; --v16; } while ( v16 ); } break; default: return __src; } return __src; }
GD Web Decomp Icon

GD Web Decomp

Raw Source