// // sub_14035C120 from 0x14035c120 to 0x14035c1c4 (164 bytes) // // 10 xrefs: // > sub_14030DAE0 @ 0x14030e059 // > sub_14035D7D0 @ 0x14035d7d6 // > GJEffectManager::resetEffects @ 0x14036636f // > sub_140515E30 @ 0x140516142 // > sub_14052A130 @ 0x14052a225 // > sub_14052DD10 @ 0x14052de05 // > ShaderLayer::resetAllShaders @ 0x14062a6b2 // > @ 0x1408b9d80 // > @ 0x1408b9d90 // > @ 0x140920eb8 // // 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 11:30:51 +0000 // unsigned __int64 __fastcall sub_14035C120(_QWORD *a1) { unsigned __int64 v1; // rdx __int64 v3; // rcx unsigned __int64 result; // rax _QWORD *v5; // rcx _QWORD *v6; // rbx unsigned __int64 *v7; // rdx unsigned __int64 *v8; // rcx unsigned __int64 v9; // [rsp+30h] [rbp+8h] BYREF v1 = a1[2]; if ( v1 ) { v3 = a1[1]; if ( a1[7] >> 3 <= v1 ) { **(_QWORD **)(v3 + 8) = 0; v5 = *(_QWORD **)v3; if ( v5 ) { do { v6 = (_QWORD *)*v5; j_j_free(v5); v5 = v6; } while ( v6 ); } *(_QWORD *)a1[1] = a1[1]; *(_QWORD *)(a1[1] + 8LL) = a1[1]; a1[2] = 0; v7 = (unsigned __int64 *)a1[4]; v8 = (unsigned __int64 *)a1[3]; v9 = a1[1]; return sub_14003EC90(v8, v7, &v9); } else { return sub_14035D7E0(a1, *(_QWORD *)v3, v3); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source