// // sub_140353930 from 0x140353930 to 0x1403539d4 (164 bytes) // // 5 xrefs: // > GJBaseGameLayer::resetActiveEnterEffects @ 0x140314444 // > GJBaseGameLayer::resetActiveEnterEffects @ 0x140314464 // > @ 0x1408b8d30 // > @ 0x1408b8d40 // > @ 0x140920468 // // 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:48 +0000 // void __fastcall sub_140353930(int *a1, unsigned __int64 a2, int *a3) { int *v4; // r9 unsigned __int64 v5; // r8 unsigned __int64 v6; // r8 int v7; // eax int *v8; // rdi unsigned __int64 v9; // r8 unsigned __int64 i; // rcx v4 = a1; v5 = a2 - (_QWORD)a1; if ( *a3 ) { v6 = (v5 + 3) >> 2; if ( (unsigned __int64)a1 > a2 ) v6 = 0; if ( v6 >= 4 && (a1 > a3 || &a1[v6 - 1] < a3) ) { v7 = *a3; v8 = a1; v9 = 4 * (v6 & 0xFFFFFFFFFFFFFFFCuLL); for ( i = v9 >> 2; i; --i ) *v8++ = v7; v4 = (int *)((char *)v4 + v9); } for ( ; v4 != (int *)a2; ++v4 ) *v4 = *a3; } else { memset(a1, 0, v5 & 0xFFFFFFFFFFFFFFFCuLL); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source