// // sub_10008BC70 from 0x10008bc70 to 0x10008bd3b (203 bytes) // // 1 xrefs: // > PlayLayer::saveDynamicSaveObjects @ 0x10008a745 // // 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:20:06 +0000 // void __fastcall sub_10008BC70(__int64 a1) { void *v1; // rbx signed __int64 v2; // r15 char *v3; // rax char *v4; // r13 v1 = *(void **)a1; v2 = *(_QWORD *)(a1 + 8) - *(_QWORD *)a1; if ( *(_QWORD *)(a1 + 16) - *(_QWORD *)a1 > (unsigned __int64)v2 ) { if ( *(void **)(a1 + 8) == v1 ) { v3 = nullptr; } else { if ( 0xAAAAAAAAAAAAAAABLL * (v2 >> 4) >= 0x555555555555556LL ) sub_10001ADB0(); v3 = (char *)operator new(*(_QWORD *)(a1 + 8) - *(_QWORD *)a1); } v4 = &v3[16 * (v2 >> 4)]; memcpy(&v4[-v2], v1, v2); *(_QWORD *)a1 = &v4[-v2]; *(_QWORD *)(a1 + 8) = v4; *(_QWORD *)(a1 + 16) = v4; if ( v1 ) operator delete(v1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source