// // sub_1005C3D60 from 0x1005c3d60 to 0x1005c40cf (879 bytes) // // 3 xrefs: // > processEffectManagerState @ 0x1005f281d // > sub_1005F2C00 @ 0x1005f2c94 // > sub_1005F2C00 @ 0x1005f2ca3 // // This function is hookable on this platform (idp: pc, 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 12:32:47 +0000 // __int64 __fastcall sub_1005C3D60(__int64 a1, __int64 *a2) { int v2; // r12d __int64 v3; // r12 __int64 v4; // r13 __int64 v5; // r14 int v7; // [rsp+14h] [rbp-27Ch] BYREF void *v8[3]; // [rsp+18h] [rbp-278h] BYREF int v9; // [rsp+30h] [rbp-260h] BYREF int v10; // [rsp+34h] [rbp-25Ch] BYREF _QWORD v11[2]; // [rsp+38h] [rbp-258h] BYREF void *v12; // [rsp+48h] [rbp-248h] _BYTE v13[504]; // [rsp+50h] [rbp-240h] BYREF __int16 v14; // [rsp+248h] [rbp-48h] char v15; // [rsp+24Ah] [rbp-46h] void *v16; // [rsp+258h] [rbp-38h] v11[0] = 0; v11[1] = 500; v12 = v13; v14 = 31746; v15 = 0; v7 = -252645135 * ((a2[1] - *a2) >> 2); v2 = v7; sub_1005BE520((__int64)v11, &v7); if ( v2 > 0 ) { v3 = v2 & 0x7FFFFFFF; v4 = 65; do { v5 = *a2; LODWORD(v8[0]) = *(unsigned __int8 *)(*a2 + v4 - 65); v10 = *(unsigned __int8 *)(v5 + v4 - 64); v9 = *(unsigned __int8 *)(v5 + v4 - 63); sub_1005BE520((__int64)v11, (int *)v8); sub_1005BE520((__int64)v11, &v10); sub_1005BE520((__int64)v11, &v9); LODWORD(v8[0]) = *(unsigned __int8 *)(v5 + v4 - 62); v10 = *(unsigned __int8 *)(v5 + v4 - 61); v9 = *(unsigned __int8 *)(v5 + v4 - 60); sub_1005BE520((__int64)v11, (int *)v8); sub_1005BE520((__int64)v11, &v10); sub_1005BE520((__int64)v11, &v9); LODWORD(v8[0]) = *(unsigned __int8 *)(v5 + v4 - 59); v10 = *(unsigned __int8 *)(v5 + v4 - 58); v9 = *(unsigned __int8 *)(v5 + v4 - 57); sub_1005BE520((__int64)v11, (int *)v8); sub_1005BE520((__int64)v11, &v10); sub_1005BE520((__int64)v11, &v9); sub_1005BE640((__int64)v11, (char *)(v5 + v4 - 56)); sub_1005BE640((__int64)v11, (char *)(v5 + v4 - 55)); sub_1005BE640((__int64)v11, (char *)(v5 + v4 - 54)); sub_1005BE640((__int64)v11, (char *)(v5 + v4 - 53)); sub_1005BE520((__int64)v11, (int *)(v5 + v4 - 49)); sub_1005BE520((__int64)v11, (int *)(v5 + v4 - 45)); sub_1005BE520((__int64)v11, (int *)(v5 + v4 - 41)); sub_1005BE520((__int64)v11, (int *)(v5 + v4 - 37)); sub_1005BE140((__int64)v11, (float *)(v5 + v4 - 33)); sub_1005BE140((__int64)v11, (float *)(v5 + v4 - 29)); sub_1005BE140((__int64)v11, (float *)(v5 + v4 - 25)); sub_1005BE140((__int64)v11, (float *)(v5 + v4 - 21)); sub_1005BE140((__int64)v11, (float *)(v5 + v4 - 17)); sub_1005BE140((__int64)v11, (float *)(v5 + v4 - 13)); sub_1005BE140((__int64)v11, (float *)(v5 + v4 - 9)); sub_1005BE140((__int64)v11, (float *)(v5 + v4 - 5)); sub_1005BE640((__int64)v11, (char *)(v5 + v4 - 1)); sub_1005BE640((__int64)v11, (char *)(v4 + v5)); v4 += 68; --v3; } while ( v3 ); } sub_1005BED90(v8, (__int64)v11); sub_1005BEEA0(a1, (unsigned __int8 *)v8); if ( ((__int64)v8[0] & 1) != 0 ) operator delete(v8[2]); if ( (v14 & 1) != 0 ) operator delete(v16); if ( v12 != v13 && v12 != nullptr ) operator delete[](v12); return __stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source