Skip to content

Instantly share code, notes, and snippets.

@ThatMapleDev
ThatMapleDev / pseudocode.md
Created February 23, 2026 18:20
Player Physics

Physics Pseudocode — All Functions, All Paths (Audit-Verified)

Companion to physics_engine.md

Important

All paths cross-verified against raw IDA decompilation on 2026-02-16. DoJump path ordering was corrected (originally had ladder/foothold swapped). HandleGroundedMovement and ClampToBounds were added (previously missing).


@ThatMapleDev
ThatMapleDev / Reverse Engineer.md
Created February 1, 2026 13:18
Maplestory Player Controller

MapleStory v40 Physics - Fresh Reverse Engineering Analysis

Date: 2026-01-29 (Updated: 2026-02-01)
Method: Direct IDA analysis without existing documentation
Implementation: SpookyStory V2 (MaplePlayerController, MaplePhysicsEngine, MapleConstants)


Implementation Status Legend

@ThatMapleDev
ThatMapleDev / Archer.md
Last active March 19, 2026 02:13
Archer Damage

Archer Combat Mechanics (MapleStory v40b)

SpookStory Server Implementation Guide

This document provides comprehensive documentation of the Archer combat system, covering damage formulas, the 7-random heartbeat RNG model, Final Attack mechanics, Mortal Blow, and the RNG recovery system. All formulas and logic are IDA-verified against the v40 client binary.


Table of Contents

Magic Damage Formula - v40 Reverse Engineering

Overview

This document contains the 100% IDA-verified magic damage formula for MapleStory v40, reverse engineered from sub_515307 (CalcMagicDamagePerHit).


Formula