// // sub_1000C40F0 from 0x1000c40f0 to 0x1000c416d (125 bytes) // // 11 xrefs: // > sub_1000C38C0 @ 0x1000c3b1e // > sub_1000C38C0 @ 0x1000c3b30 // > sub_1000C38C0 @ 0x1000c3b62 // > sub_1000C3C90 @ 0x1000c3ca0 // > sub_1000C3C90 @ 0x1000c3cd9 // > sub_1000C40F0 @ 0x1000c4108 // > sub_1000C40F0 @ 0x1000c4114 // > CheckpointObject::CheckpointObject @ 0x1000ca42b // > sub_1001106B0 @ 0x100110b7f // > GJBaseGameLayer::unlinkAllEvents @ 0x10014b50f // > GJBaseGameLayer::resetLevelVariables @ 0x1001590fb // // 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_1000C40F0(__int64 a1, _QWORD *a2) { __int64 v2; // r14 __int64 v3; // r15 void *v4; // rdi void *v5; // rdi if ( a2 ) { sub_1000C40F0(a1); sub_1000C40F0(a1); v2 = a2[5]; if ( v2 ) { v3 = a2[6]; v4 = (void *)a2[5]; if ( v3 != v2 ) { do { v5 = *(void **)(v3 - 24); if ( v5 ) { *(_QWORD *)(v3 - 16) = v5; operator delete(v5); } v3 -= 40; } while ( v3 != v2 ); v4 = (void *)a2[5]; } a2[6] = v2; operator delete(v4); } operator delete(a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source