// // sub_1008BEBA0 from 0x1008beba0 to 0x1008becaf (271 bytes) // // 1 xrefs: // > DeathMarkerLayer::init @ 0x1008bc4b5 // // 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:37:28 +0000 // void __fastcall sub_1008BEBA0(__int64 *a1, unsigned __int64 a2) { __int64 v2; // rbx __int64 v3; // r12 char *v4; // rax __int64 v5; // rcx char *v6; // r13 __int128 v7; // xmm0 __int128 v8; // xmm1 __int128 v9; // xmm2 __int64 v10; // [rsp+8h] [rbp-38h] char *v11; // [rsp+10h] [rbp-30h] v2 = *a1; if ( 0xCCCCCCCCCCCCCCCDLL * ((a1[2] - *a1) >> 4) < a2 ) { if ( a2 >= 0x333333333333334LL ) sub_1008C1BE0(); v3 = a1[1]; v4 = (char *)operator new(80 * a2); v5 = v3 - v2; if ( v3 != v2 ) { v10 = v3 - v2; v11 = v4; v6 = v4; do { sub_1002782D0(v6, (_QWORD *)v2); *((_QWORD *)v6 + 9) = *(_QWORD *)(v2 + 72); v7 = *(_OWORD *)(v2 + 8); v8 = *(_OWORD *)(v2 + 24); v9 = *(_OWORD *)(v2 + 40); *(_OWORD *)(v6 + 56) = *(_OWORD *)(v2 + 56); *(_OWORD *)(v6 + 40) = v9; *(_OWORD *)(v6 + 24) = v8; *(_OWORD *)(v6 + 8) = v7; v2 += 80; v6 += 80; } while ( v2 != v3 ); v2 = *a1; v4 = v11; v5 = v10; } *a1 = (__int64)v4; a1[1] = (__int64)&v4[v5]; a1[2] = (__int64)&v4[80 * a2]; if ( v2 ) operator delete((void *)v2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source