// // sub_1000C8730 from 0x1000c8730 to 0x1000c8826 (246 bytes) // // 12 xrefs: // > PlayLayer::createCheckpoint @ 0x1000bb3a8 // > PlayLayer::loadFromCheckpoint @ 0x1000bd4b1 // > sub_1003DFFA0 @ 0x1003e0004 // > sub_1003DFFA0 @ 0x1003e0027 // > sub_1003DFFA0 @ 0x1003e004d // > sub_1003DFFA0 @ 0x1003e0073 // > sub_1003DFFA0 @ 0x1003e0099 // > sub_1003DFFA0 @ 0x1003e00bf // > sub_1003DFFA0 @ 0x1003e00e5 // > sub_1003DFFA0 @ 0x1003e010b // > sub_1003DFFA0 @ 0x1003e0131 // > sub_1003DFFA0 @ 0x1003e0157 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall sub_1000C8730(_QWORD *a1, __int64 *a2, __int64 *a3) { __int64 v5; // rsi _DWORD *v6; // r12 _DWORD *v7; // r13 _DWORD *v8; // r13 _QWORD *v9; // r12 __int64 v10; // rax v5 = a1[1]; if ( v5 ) { __bzero(*a1, 8 * v5); v6 = (_DWORD *)a1[2]; *((_OWORD *)a1 + 1) = 0; if ( v6 ) { while ( a2 != a3 ) { v6[4] = *((_DWORD *)a2 + 4); v6[5] = *((_DWORD *)a2 + 5); v7 = *(_DWORD **)v6; sub_1000C8880(a1, v6); a2 = (__int64 *)*a2; v6 = v7; if ( !v7 ) goto LABEL_9; } do { v8 = *(_DWORD **)v6; operator delete(v6); v6 = v8; } while ( v8 ); } } LABEL_9: while ( a2 != a3 ) { v9 = operator new(0x18u); *v9 = 0; v10 = a2[2]; v9[2] = v10; v9[1] = (int)v10; sub_1000C8880(a1, v9); a2 = (__int64 *)*a2; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source