OpenTPW

APPROX trace against the Mac binary#

2026-10-09. Nine Haiku subagents searched the decompiled Mac PowerPC executable and nine shared libraries (SimThemePark.data SHA-256 04809cd4…e295f5; libraries as in FINDINGS.md; online shared could not be imported by Ghidra) for each of the 141 approximations in FIDELITY-REGISTER.md. Each claim had to cite functions and 2–6 exact substrings (anchors) of their decompiled text; a script checked every anchor against the cited function. No decompiled code is stored here.

Result: 98 not found, 43 with a verdict. Anchor check: confirmed verified: 2, contradicted failed: 3, contradicted verified: 15, partially_confirmed failed: 4, partially_confirmed verified: 19.

Status. A passed anchor check proves the cited code exists, not that the reading is right. The lead analyst read the code around the anchors for the IDs marked in the Lead review column; the others are leads. Only ECON-007 and part of ADVISOR-013 changed status (BIN labels); every contradicted rule stays APPROX until OpenTPW implements the traced behaviour.

2026-10-10 integration correction: the later host-calendar-origin hypotheses in ECON-002 and UI-023 are explicitly superseded below. This correction relies on identified setter/addition destination operands, full import-glue resolution and saved-field evidence in PPC-clock through b52dcff, not agent search text or a passed substring-anchor check. Fresh funny time is 2000-01-01 at calendar+0; host session time is at +8. Conversion uses the saved/default funny epoch and rate × world turn / 4. It does not use host session time or establish Windows execution or nondefault OS calendar behavior. Earlier search results elsewhere in this document remain historical leads, not proof that those now-traced paths are absent.

Verdicts#

IDAgent verdictAnchorsLead reviewOriginal behaviour (agent's words)Functions
ADVISOR-001contradicted✓contradictedWhile the advisor is talking, the per-frame update re-picks a mouth node every 100 ms at random from five variants (index = random mod 5, plus 1). When not talking it shows variant 1. Five mouth nodes per advisor are resolved at setup. So the original does not hold one fixed 'Aah' mouth; it cycles through five shapes. Which node name maps to which index is not in the binary.SimThemePark 0x10007434, 0x10006264
ADVISOR-006contradicted✗ 0x100a6cc0: <2 anchors—The advisor is not only held in bind pose. The per-frame update starts animation sequences on the advisor object (mode 5, with the sequence index taken from a table entry, minus 1) once the sequence is ready, and the object's animation state is set from those sequence entries. So clips do play, and the rule of bind pose only with no clip is contradicted.SimThemePark 0x10007434, 0x100a6cc0
ADVISOR-008contradicted✗ 0x10007434: <2 anchors; 0x1000b798: <2 anchors—Speech is not gated on the first rendered frame. The response handler starts the advisor speech immediately on the message. The start is scheduled on the wall-clock timer: the lip/speech base is set to the request time minus 200 ms, the sample start time is base plus 1000 ms (so about 800 ms after the request), and the per-frame update starts the sample when that time passes.SimThemePark 0x10006b7c, 0x10007434, 0x1000b798
ADVISOR-009contradicted✓contradictedThe original does not always use the global speech bank. Each advisor response table entry has a flag in its high 16 bits; when that flag is zero the path is Data:Global plus :Speech:lips:sp_NNN.lip and the global sound bank, and when it is non-zero the path is the current level's speech directory (FUN_10115f38) and the level sound bank. So the level sp_NNN.lip can be chosen.SimThemePark 0x10006b7c
ADVISOR-010contradicted✗ 0x10007434: <2 anchors; 0x1010e864: <2 anchors; 0x1011a428: <2 anchors; 0x10117c—The lip-sync clock is not the audio output. It is the game's pausable timer (FUN_10117c00 family), which accumulates the millisecond LbTime wall clock minus paused time. No audio queue or PCM-consumed count is read in the advisor path.SimThemePark 0x10007434, 0x1010e864, 0x1011a428, 0x10117c00, 0x1010edb4
ADVISOR-011partially_confirmed✗ 0x1010edb4: <2 anchors—The wall clock drives the mouth unconditionally. The advisor mouth timeline is always driven by the millisecond LbTime clock, and no branch on whether a sound device opened exists in the advisor update path. So the wall-clock behaviour holds, but the conditional 'only when no audio device opens' is not present in the original.SimThemePark 0x1010edb4, 0x10007434
ADVISOR-013confirmed✓partially_confirmed: unit and toggle → BIN label applied; start state remains APPROXLIP entries are 32-bit values read in order and ended by -1. Each entry is divided by 1000 and added to the speech base time, so the units are microseconds against the millisecond clock. Each mark toggles the talking flag (0 to 1 and back), with the flag starting closed (0) before the first mark. A -1 entry ends the lip sequence.SimThemePark 0x10007434
COMPAT-001partially_confirmed✗ 100abf14: <2 anchors—The sign builder passes a size of 128 by 128 into the sign composer. The composer doubles that to 256 by 256 for its output canvas and for each line's buffer, so each sign half is a 256 by 256 canvas. No code shows a single 512 by 256 canvas, so only the 256 by 256 halves are confirmed.SimThemePark 1018e1a0, 100abf14
COMPAT-002partially_confirmed✓—Each line is centred horizontally: its x position is the midpoint of the double-resolution buffer (256) minus half the measured text width. If the measured width reaches the full double-resolution width (512 at 2x, i.e. the whole 256 canvas), the routine bisects the LOGFONT width word until the line fits, with a stop tolerance of about 3 pixels. The fit target is the full canvas width, so no margin term exists in the binary. The vertical position comes from the slot's offset word.SimThemePark 100a9f9c
COMPAT-003contradicted✓contradictedThe binary does not read the slot colour from float parameters 2 to 4. Each line's colour is four raw byte values from a per-slot block in the .sgn object: one byte and three colour bytes at object offsets 0x430 to 0x433 for the first line, and a matching set for the second line. That block is read only when a header count is non-zero. The colour bytes are passed to the colour-blend call in the order 0x433, 0x430, 0x431, 0x432.SimThemePark 100abf14, 100aba40
COMPAT-004contradicted✓contradictedThe binary does decode the .sgn pixel blocks. After the text slots, the loader reads a flag byte and then loads a bitmap block into the sign object, using a plain bitmap load for one format version and a wavelet decode for the others. When the flag byte is set, that block is passed together with the output canvas to a bitmap call. The board is therefore not a flat colour in the ride-sign composer.SimThemePark 100aba40, 100abf14
COMPAT-005partially_confirmed✓—The horizontal-scale percent field from the sign file (a 4-byte value after the file-name block) is read into slot offset 8, but the text routine never reads that word. Horizontal width is instead governed by the LOGFONT width word: the fit search writes candidate widths there and restores the original afterwards. When the stored width is zero, the search starts from the negative of the LOGFONT height.SimThemePark 100aa5a0, 100a9f9c
COMPAT-006partially_confirmed✓—Each sign line is drawn with one text-output call for the whole string, at one position. The program does no per-glyph or per-pair placement, which is consistent with a no-kerning default. Whether the platform's text output applies kerning is decided inside the OS text routine, which is not in the corpus. Glyph fallback is not checked by program code.SimThemePark 100a9f9c
COMPAT-009contradicted✓contradictedThe binary does not use 16 sub-scanlines. It has the platform text routine draw each line into an 8-bit greyscale DIB at twice the output size in each axis, then reduces it by averaging each 2 by 2 block (sum of four values shifted right by two). The rasterization is the platform's own text output with 2 by 2 box supersampling.SimThemePark 100a9f9c
COMPAT-010partially_confirmed✓—The original sets texture sampler state with OpenGL calls (glTexParameteri on the 2D texture target), not Direct3D. The magnification filter is nearest or linear according to a flag bit, the minification filter is nearest or linear or a stored mipmap value, and both wrap coordinates are set together to repeat or clamp. The sampler-mode concept matches, but the API is OpenGL.engine_shared 1003d940
COMPAT-011contradicted✓partially_confirmed: only "language cannot be set → error" is shown, not per-string fallbackThe text-resource loader does not fall back to the English table. If the selected language cannot be set, it reports an error that names the language and returns failure, and its caller records a failure flag and returns without trying another language. The per-string lookup is in a runtime text-resource library that is not in the corpus, so missing-string behaviour is not shown.SimThemePark 1011e418, 10000574
COMPAT-013contradicted✓contradictedThe default detail preset is not always High. The settings defaults come from the machine: installed RAM (Gestalt 'ram ', in MB, 64 if unavailable) and CPU clock (Gestalt 'pclk', in MHz, 266 if unavailable). Low is chosen when RAM is under 65 MB or CPU is under 301 MHz. Medium is chosen when RAM is under 192 MB or CPU is under 450 MHz, otherwise High. The chosen tier then selects the low.sam, med.sam or high.sam preset file.SimThemePark 10125b7c, 1004cad0
ECON-001contradicted✓partially_confirmed: date = 2000-01-01 + 15,000 s × world tick (0x100E3C90, 0x100E4394); the real-time tick rate is not traced, and the "online-only" increment is a direct-call artefact (the update may run through a function pointer)The calendar is not driven by a fixed tick count per day. The clock (constructed at world+0x2a0) converts the global world's mGameTick into time by multiplying it by a per-clock factor (clock+0x1c), which the constructor sets to 15000 seconds per tick, and adds that to the clock start date (2000-01-01). Day, month and year changes are detected by comparing the decomposed date fields with stored ones. At 15000 s per tick a 86400 s day spans about 5.76 ticks, not 240. The only increment of mGameTick is in one function that runs only when the game-type global equals 1.SimThemePark 0x100E4394, 0x100E3C90, 0x1010536C, 0x1010565C, 0x100E3F0C
ECON-005contradicted✓—Loan proceeds are credited to ledger accumulator +0x1FC90, the same accumulator that ordinary credits use (the bank deposit routine and the prize award routine). Loan instalments are debited to accumulator +0x1F5A0. So loan receipts are booked on the credit side as money in, which contradicts 'loans received are not money in'. The labels 'money in' and 'money out' are inferred from this credit and debit pairing; the ledger has no name strings for these accumulators.SimThemePark 0x100CC904, 0x100CC21C, 0x100CBF50
ECON-006contradicted✓—The monthly instalment is computed once per loan offer at setup from the offer's amount, APR and period, by a single pow-based expression: (amount minus constant) times a power of a base (a constant plus (APR minus constant)/divisor) divided by (period minus constant). There is no annuity denominator (1+r)^n-1, no branch for APR>0, and no division by 12 seen in the loan code. Each month the stored instalment is deducted and principal/period is booked to net worth, so no interest accrues on the balance in the loop.SimThemePark 0x100CB7A8, 0x100CC21C
ECON-007confirmed✓confirmed → BIN label appliedLoan offers are re-evaluated each time. An offer is shown when the loan is not bought and the credit test passes: net worth minus the outstanding instalments of bought loans (instalment times remaining months) must cover the loan amount. When a loan is fully repaid, its bought flag is cleared, so the loan re-enters the evaluation and is offered again if the credit test passes.SimThemePark 0x100CC9E8, 0x100CC21C
ECON-008partially_confirmed✓—Training is a percentage from 0 to 100 that promotes the staff member when it reaches 100. Each training call adds spend divided by a per-staff-type, per-grade divisor from a table, capped at 100 per call. So 100 is the percent scale, but the points needed per grade are 100 times that table divisor, not a fixed 100 points. The 1000-point figure from the sam comment is not checked.SimThemePark 0x100F3588
ECON-009partially_confirmed✓—Candidate grade = (a random value mod 3) plus the role's average grade config, minus 1, clamped to 0..4. So the candidate is the average minus 1, the average, or the average plus 1, with equal chance. The '+2 when great' branch does not appear in the candidate generator.SimThemePark 0x100F5B64
ECON-010partially_confirmed✓—The staff pool refresh is gated by the elapsed game ticks (current tick minus a stored stamp) exceeding four times a config value at offset 0x2C4. Per-candidate timeouts are compared the same way. So the unit is game ticks times 4, not seconds. The mapping of offset 0x2C4 to the key name TimeBetweenStaffUpdates is not shown by any name in the code.SimThemePark 0x100F6E24, 0x101210B0
ECON-011contradicted✓—The refill is not a 50 percent chance per slot. Each refill step draws a uniform random number modulo the total remaining per-role deficit (minimum in pool minus current count), picks the role whose share the draw falls in, fills one slot of that role, and reduces that deficit. It stops after a per-update cap (config at offset 0x2C8) or when the pool is full. A role's chance is proportional to its deficit.SimThemePark 0x100F6E24
ECON-013contradicted✓—Executed (ORACLE.md F17, 507 inputs): the static trace was right that each role's budget is divided by a base count plus the role's staff count, but the base table behind TOC -19008 is read and never written and is zero in the file, so the divisor is the number of ALL the role's staff, the top grade included. Every member below the top grade then costs the whole share (debited through 0xcbfdc, even where fewer points are bought), gets min(share / price, 100) points, and the points above 99 carry into the next grade. The former rule (only trainees share, only the bought points are spent, cap at the grade boundary, reset to 0) differs on 358 of 507 inputs.SimThemePark 0x100FC1C4, 0x100F7E18, 0x100F7A64, 0x100CC120
ECON-014contradicted✓contradictedStaff happiness is initialised to a constant (the upper clamp value) but it is decremented by rest-area logic, and the strike check reads it. If the average happiness across a role with at least 4 staff falls to 14 or below, that role strikes ('striking through unhappiness'). So happiness does change and strikes do exist. The numeric starting value is in data and was not decoded.SimThemePark 0x100F8410, 0x100F3B78, 0x100F29FC
ECON-020contradicted✓contradicted (scaling); which .sam field feeds +0x154 is inferredEach shop transaction adds the per-use balance value to the object's litter float at offset +0x1b4 without any division by 100, and clamps to a ceiling; the same unscaled value is printed in the 'Litter gone up by' log line.SimThemePark 0x100eaaf8
ECON-021partially_confirmed✗ 0x100dfe90: <2 anchors—A mechanic's repair timer is set from the mechanic's grade WorkDuration value. For a breakdown repair it is scaled by the missing state of repair, (100 - state)/100, so it is not a flat WorkDuration. For a pending upgrade (ride status 2) it is multiplied by a per-level balance field at +0x1fc. The repair runs as a countdown in game ticks.SimThemePark 0x100d9c0c, 0x100dfe90
ECON-022partially_confirmed✓—A litter-cleaning handyman's task is gated by a per-grade duration read from a table at stride 0xc with offset 0x3ac, added to the tick at which the task started, and compared against the park game tick (+0x1da70c). When the gate passes, one litter cell is cleared. The gate is not park-wide in the decompiled code shown here.SimThemePark 0x100d6350, 0x100d60c8
ECON-024partially_confirmed✓—When a mechanic's repair counter runs out, the ride's state of repair (+0x40) is reset to a fixed full-condition constant from the data pool, its breakdown flags are cleared, and the 'repairing fully' log line is emitted. The numeric value of that constant is not visible in the decompiled text; 100 is consistent with the (100 - state) formula in the mechanic code. Settled in the oracle (ORACLE.md F27): the constant is the float 100.0 (TOC −11016), and a repair also clears the reservation, the maintenance flag and VAR_BREAKSTAT and opens the ride.SimThemePark 0x100d9e04, 0x100def2c
ECON-031contradicted✓contradictedPark load restores the saved mParkClosed flag (0 means open, 1 means closed) and the saved mParkGates value directly from the save data, so the park's open state is decoded and not forced open on load.SimThemePark 0x10106708, 0x10105d3c
ECON-033contradicted✓contradictedGolden-ticket checks are not tied to a month-end event. The world tick counter is incremented once per world update, and the golden-ticket check dispatcher only runs when that counter is a multiple of 100, and only when the game type global is 0 (Full Simulation). The check then tests the Local, Global and Secret ticket conditions.SimThemePark 100d67f0, 1010536c, 100d2f1c, 100d31d0
ECON-035partially_confirmed✓—After a challenge ends, EndCurrentChallenge picks win or loss. On a win, the handler sets a completion flag on the challenge record and then offers the follow-up challenge right away (through the follow-up check). On a loss, the handler only logs the loss, bumps a separate per-challenge loss counter, and clears the active-challenge flag. It does not set the win-path completion flag and does not offer a follow-up.SimThemePark 100d0784, 100d083c, 100d0b24, 100d0190
ONLINE-001partially_confirmed✓—The word filter loads two lists (swears and alloweds) from files named per language (swears.txt, alloweds.txt), not TP.ICD; each line is decoded by inverting every 16-bit char, and lines starting with # are skipped. Matching uses a case-insensitive wide compare; a pattern starting with * is a substring match; a pattern starting with a space and the default pattern use a letter/digit boundary check; a match is exempt if the allowed list matches; and matched characters are replaced with asterisks when the filter is applied. The filter is enabled by a flag (mSwearFilterOn).SimThemePark 0x101a5664, 0x101a51e8, 0x101a5594, 0x1018b474
RIDES-008partially_confirmed✓—The loader that builds object member file names uses the pattern: model prefix + base name + one letter from a per-record byte + the entry's variant counter plus 1 + '.md2', when a flag bit (0x2) on the entry is set; if the flag is clear, it uses the letter alone with no number. So the number written is the stored counter +1, and the letter comes from a per-entry table. The ANIM_* enum to letter binding is not traced in the binary: the letter table is not decoded here.SimThemePark 0x10058a3c
RIDES-019partially_confirmed✓—When a level's world is set up, the game looks up the Gates and the Traffic Lights features by name in the loaded layer list. If either is missing it logs an error and stores a zero handle. The bus-or-plane fixed feature is picked by a seeded LCG modulo 3 (or a fixed index when a parameter is given), and the load stops with a fatal error if neither bus nor plane is found. The corpus shows no branch on whether a save exists, so the 'without a save' condition is not proven.SimThemePark 1010474c, 10109368
RIDES-022partially_confirmed✓—Ride texture lookup is a fallback chain. First a ride-named texture file is looked up using a name built from the ride name and a per-object number. If that lookup fails, the game builds the '\GTexture' path and loads it through a separate loader. Separately, the theme texture directory pair is either textures plus sharetex or stexture plus ssharete, selected by a state flag. The binary does not show where sharetex sits in the order relative to the GTexture fallback, and the low-detail stexture/ssharete pair is selected in some states, so 'unused' does not hold for the theme-set selectioSimThemePark 10119328, 100311d0, 1018f068, 101c0b28
UI-005partially_confirmed✓—The original sets 0xff00ff (pure magenta) as the transparent colour for 32x32 frames of mouse-cursor images only. The cursor-creation routine copies a sprite into 32x32 UPixels, sets the transparent colour to magenta, and wraps them in a cursor object. Nothing in the code shows neighbour colour bleed or linear filtering for UI images. The pink-key rule is therefore confirmed for cursors only, not for UI images.SimThemePark 10199ee0
UI-012partially_confirmed✓—Escape (key 0x1b) is handled in the screen-message dispatcher first. It is passed to the open screens; only if no open screen reports it as handled does the game call the pause/menu path (FUN_10198514 with 1, which opens a menu via FUN_1019821c). Arrow, Enter and hover/release handling, right-click back-out, and the P key were not confirmed. The P-key search turned up only AR-replay debug code.SimThemePark 10099504, 100995b8, 10198514
UI-015partially_confirmed✗ 10128f4c: <2 anchors—Game type (Full Simulation 0, Instant Action 2, or online 1) is taken from a stored per-record flag, the byte at offset 0x24 of a 0x4c-byte record loaded by name. When a park is entered, that flag is read and the game type is set from it. This shows the mode is stored with a record and applied on load, not asked at park entry in this code. Where the mode is first asked (at player creation) was not located.SimThemePark 1013781c, 10128f4c
UI-018partially_confirmed✓—The lobby file parser (FUN_1009829c) reads a SKYCOLOUR( line into three colour components, stored as 16.16 fixed-point values in the lobby object at offsets +0x64, +0x68 and +0x6c. It also reads FLYINGMESH( lines, creating one flying-mesh instance per line through FUN_10090884 (the instance count is scaled by a global percentage and clamped to the authored count). It additionally reads LIGHTNING( and RAINY( values into lobby fields. The draw path that consumes the sky colour and the flying-mesh/rain/lightning data was not located, so the claim that the original draws a flat SKYCOLOUR backdropSimThemePark 0x1009829c, 0x10090884
UI-028partially_confirmed✓—The ride information panel builder (FUN_10164f00) places labelled stat rows for Reliability (UITEXT 0x14), State of repair (0x15) and Remaining life (0x16), each with its value control. So the original does display reliability, repair and remaining life as stats in the ride panel, which OpenTPW does not simulate. The excitement value format (percentage or other) was not verified: the excitement label (UITEXT 0x2d) is used in FUN_1016af08, but its value formatting was not read.SimThemePark 0x10164f00

Not found#

IDWhat was searched / what is missing
ADVISOR-002Searched for the mesh names (hat, spatula, bow, ShutEye, blink) in all strings tables: none appear in the binary; the MD2 node names live in the Advisor*.md2 data files. The visibility code I found toggles the 0x10 hide flag on the five mouth nodes (FUN_10007434, FUN_1000680c). The per-role prop sel — Needs the decoded advisor node/visibility data or a runtime capture; the jump table at 0x1000672c would need manual recovery.
ADVISOR-003Searched for CLBScreenComponentAdvisor and advisor layout code. The advisor's on-screen placement is set through UI resource/layout data, not in decompiled constants I could tie to a bottom-left square, a 1/3 short-side size, or a 16 px margin. No provable code found. — Needs the UI layout resource for the advisor screen or a capture at several resolutions.
ADVISOR-004Searched for the camera setup used by the advisor (FUN_10068654, FUN_10068730, FUN_100687dc) and for the float constants -70.0, 40.0 and 500.0 (0xC28C0000, 0x42200000, 0x43FA0000). None appear as decodable literals tied to the advisor view. The advisor scene setup (FUN_10029084) calls UpdateLights a — Needs a disassembly-level check of the advisor scene camera call or a runtime capture.
ADVISOR-005The string test.shader does not occur in any strings table. The advisor light setup in FUN_10029084 calls UpdateLights but the light colour (0.6) and ambient/fog values are not visible in the decompiled text. No provable code found. — Needs the lighting/material setup in the renderer, or a capture of the advisor's lighting.
ADVISOR-007Searched the MD2 loader path (FUN_10029084 loads Advisor%s.md2 via FUN_100587dc / FUN_10058a3c) and the triangle index handling. No explicit corner reversal or front-face convention is visible in the decompiled text, and the original renderer's culling order is not expressed as a checkable constant — Needs the MD2/mesh loader's triangle decode routine (called from FUN_10058a3c) and the culling state set for advisor draws.
ADVISOR-012The sound library exposes TbSpeaker::Mono and TbSpeaker::Stereo strings, and the advisor plays through FUN_100bb4fc with no position arguments. The channel duplication of mono speech to both outputs is not visible in the decompiled text I could read; the mixer code was not tied to a duplicate-channe — Needs the sound mixer's output channel routine in sound_shared.c traced from the speech sample path.
ADVISOR-014The original speech uses MPEG-2 sample players (CMpegMacFilePlayerUnpooled, TbSoundSampleMPEG2 in soundshared strings), so an MP2 synthesis window exists in the binary. The window table is data, not decompiled text, and I could not extract and compare its values against the ISO tables from the giv — Needs the MPEG decoder's window/data table extracted from the binary and compared numerically.
COMPAT-007Searched the park-name save field strParkName (16 wide characters at park offset 0x12c) in the save serialiser functions FUN_1011dd4c and FUN_1011df04, which call FUN_100e3738 and FUN_100e3930. Searched the THEMENAMES table load (mThemeNames, loaded in FUN_1011e418) for a consumer that copies a them — The new-park or world-setup code that initialises the park name (possibly reached through FUN_10000574 or the level loader) was not traced. Searching for writes to the park struct at offset 0x12c, or
COMPAT-008The sign-face mesh helper FUN_1018e0b4 receives a float loaded from the constant pool (TOC offset), and the value is not recoverable from the decompiled text. The GenerateRideSign implementation that would apply a face depth is a runtime library routine not present in the corpus. No other depth-rela — The float constant at the sign-helper's TOC offset would need a memory read of the PowerPC data section, which the corpus does not contain.
COMPAT-012The text-input path FUN_10139524 passes the whole wide string to the runtime Unicode-to-multibyte converter (ConvertString, with a 0x3fff limit) and does no per-character filtering in program code. The converter's handling of unmappable characters lives in its runtime body, which is not in the corpu — Whether unrepresentable characters are dropped or replaced needs the converter's runtime implementation or a capture of text entry with a non-codepage character.
ECON-002Month changes are detected in FUN_100E3F0C by comparing the month field produced by TbTimeStamp::GetTime with the stored month. GetTime (0x101C5C4C) is a glue stub that jumps into a TVect routine that is not in the corpus, so month lengths and the 12-month count cannot be read from the binary. Searc — Need the TbTimeStamp::GetTime implementation (TVect target) or a runtime capture of month lengths. Note the world tick has a mod-30 block at 0x1010536C, which is not calendar logic.
ECON-003The hour field is produced by the same TbTimeStamp::GetTime library call, which is not in the corpus, so the 24-hour range cannot be checked. The HOUR key string (101cb455) has no code reference. No hour-range constant (24/0x18 with a modulo or a 12-hour mod) was found in the clock code. — Requires the TVect implementation of TbTimeStamp::GetTime, or a runtime capture of the hour value.
ECON-004Searched UI strings 'Speed :' (UITEXT 426) and 'PAUSED' (UITEXT 404): neither has a code reference in the corpus. 'SPEED = %d' (101cee37) is logged inside the ride upgrade function FUN_100DEF2C, not game speed. The only clock-factor literal found was the 15000 in the clock constructor and the save/l — Speed control is probably in a UI or input handler that the corpus does not name. A trace from the speed buttons (the UI button callbacks) would be needed.
ECON-012Searched the staff creation path (FUN_100F2914 and FUN_100F29FC: they set happiness, fatigue, hire time and the staff record, with no cash debit), the callers of FUN_100F2914 (per-type setup routines), and cash-debit calls near staff code. No hire-cost transaction was located, and the BaseCostPerSta — Find the player-facing hire action (the UI handler that asks for a candidate and then charges) and trace its debit call. Also identify the config offsets for BaseCostPerStaff and CostPerQualityLevel.
ECON-015Searched for the ResearchAbility and Effort keys (string table only, no code references), for the research-progress log 'Researcher %d doing %d points of research' (no code reference), and for mResearchGroup and mResearchDone (save/load only, FUN_100CA9BC and similar). FUN_100F054C is the staff work — Locate the research-tick function, perhaps via the CResearchLab or researcher message handlers near the strings CMsgResearchCompleted and CMsgResearchCategoryUpdated (101d181c, 101d1837).
ECON-016The PercentageForThisTech key (10223270) has no code reference. mResearchGroup and mResearchDone are only read and written in save/load code. The function that opens new research groups was not located. — Same as ECON-015: locate the research-state update function and the group-opening logic.
ECON-017Searched for the research-selection logic. Found the researcher state code (FUN_100f00f0, mTimeStartedResearching / mNext at +0x210 / +0x20c), the research-item fields (mResearchGroup at +8, mCost at +0xc, mResearchDone at +0x10 in FUN_100ca8c0 / FUN_100caab0 and related), and the researcher message — Trace the lab-side picker that iterates the research item array and compares +0xc (cost) per group; the lab's advisor/research-group code near the NewResearchGroup* and Research* advisor keys is the l
ECON-018Found research-category strings (RidesResearchMore, RidesNoUpgrades, RidesMoreUpgrades, ResearchRideResearched, ResearchAddonResearched, ResearchShopResearched, CMsgResearchCategoryUpdated, unknown research category in CAdvisor::ReceiveMessage). Did not locate the code that maps a ride upgrade level — Find the code that builds or updates the research category table from the ResearchCategories balance entries, then check which object types feed the upgrade category.
ECON-019Searched for Instant Action (game type 2, global at DAT101ec8f8 via FUN_1012bb64) combined with research code, and for researcher grade constants. The research loop was not located, so no grade or staffing rule for Instant Action research could be tied to code. — Locate the researcher-lab tick (the code using the research-lab object and ResearchAbility/ResearcherConstsPerGrade) and check for a game-type branch that sets a fixed grade-2 researcher.
ECON-023The ride state of repair is the float at object +0x40 (used in FUN_100dfe34 for a breakdown-imminent threshold and in FUN_100d9c0c). No code was found that decrements it per game day by a per-level WearRate, and the per-level +0x1f8 / +0x1f4 WearRate offset was not identified (only +0x198 to +0x1fc — Find the daily ride-update tick (the code that runs on a day change off mGameTick) and the subtraction on the +0x40 float, then map the per-level field used there to Upgrades[n].WearRate.
ECON-025Found the ScrapValueYear1..4 keys and the 'Scrap value' UI text (indices 0x17, 0x25, 0x2f, 0x36, 0x38, 0x3b, 0x3f). Their owning panel functions (FUN_10164f00, FUN_10167714, FUN_1016af08, FUN_1016c62c, FUN_1014c280, FUN_1014f6e4) only build UI. The scrap computation that sums catalogue costs per lev — Find the sell or demolish handler that reads the scrap value and loops over upgrade levels up to the current one.
ECON-026Found the 'Park value' UI text (index 0xa3 used in FUN_1014f6e4 / FUN_1014c280 area, plus 0xbd) and the graph text, but only UI call sites. The summation over scrap values was not located. — Locate the park-value calculation that feeds the graph series (the Park value line), probably in the park analyser or the statistics update.
ECON-027Found the 'Park rating' UI and graph text (index 0x9b, 0xbe) but only UI panel construction. No formula with happiness, attraction and cleanliness weights was located. — Find the code that writes the park-rating series for the graph and check its weights against the constants used near the happiness and litter analyser.
ECON-028Checked the 'Cannot afford' string (only the loan message is present) and the cash field mCash (+0x1a0 of the park object). FUN_100ea5a4 compares a price with cash-derived values for the value screen, not for a purchase gate. No purchase-cost-versus-balance check was located. — Find the build/purchase handler that tests the bank balance (mBankAccount, +0x1da726 area) against an object's cost before deducting it.
ECON-029Found the golden-ticket fields (mSpentTickets at park +0x1c, mEarnedGlobalTicket, mEarnedLocalTicket, mEarnedSecretTicket) and the GoldenTicketCost key. The spend path that subtracts GoldenTicketCost was not located. — Find the purchase handler that reads the GoldenTicketCost balance field and increments mSpentTickets.
ECON-030Found the 'Bankrupted' string (0x10214e40) and the cash field (mCash). The only direct cash comparison against 0x800001 is in an init path (FUN_1004cbfc) and does not relate to bankruptcy. The bankruptcy trigger and the stop of the simulation were not located. — Find the advisor or message dispatch that uses the 'Bankrupted' key, and the cash-threshold check that triggers it.
ECON-032Searched the binary strings for 'prototype' (no game-level match, only Winsock 'Protocol' strings) and for the prototype-ride registration in the ride-placement code. No code path matching an uncharged prototype registration was found. — The prototype concept may be implemented without a name string; search the ride-registration routine that calls the catalogue purchase and look for a path that skips the cost.
ECON-034Challenge completion dispatch (100ce690) is a jump table indexed by the challenge type, bounded to 0..33 (0x22). The table lives in data (DAT101ef004) and is not in the corpus, so the mapping from type to meaning cannot be recovered. The challenge text keys (mType, mTargetObj, mTargetStaffType) ar — The jump-table target entries at DAT101ef004 (34 entries) must be read from the binary data section, not from the decompiled corpus.
ECON-036Build-challenge success tests are reached only through the type jump table in 100ce690 (34 entries, bound 0x22). Their target code and the entries that would show TargetVal 0 handling and the type 28 level 3 requirement are not in the decompiled corpus. The only level-3 check found is for upgrading — Requires the jump-table entries at DAT101ef004 from the data section, and the per-type handler bodies.
ECON-037Staff skill display is not found. The UI label 'Skill' (UITEXT 0x43 and 0x68) and key names PoundsPerTrainingPoint and mPercentageThroughGrade are present, but the skill-percentage formula (grade times 25 plus training points over 4) is not located. mPercentageThroughGrade is read only in the staff — Search the staff panel draw code for the percentage text formatting.
ECON-038Global ticket dispatch uses cell-count helpers. FUN_100c6cec and FUN_100c710c count cells with the mMapSquaresPerCell constant, and FUN_100c8cc0 scans the 128x128 map with five predicates. The mapping of these helpers to 'MinCellsOwned' (big park) and 'MinCellsCovered' (cameras) is not provable, bec — Identify the predicate functions (100851d0, 100851ec, 1008523c, 10085418, 100852f4) and the ownership/coverage test used by 100c6cec and 100c710c.
ECON-039mProfitThisYear is referenced only in the save/load function 100cba54, with no accumulation or reset code found. The 12-month window is not shown in the corpus. Searched: mProfitThisYear, ProfitYear string, CMsgEndOfYear, mMonthAtLastUpdate (100e3d30). — Find the code that adds profit to the year total and resets it at end-of-year.
ECON-040Starting golden key count and key consumption were not located. The ticket and key award branches (100d3900, 100d3b98, 100d406c) add an item to the inventory list (FUN_1011688c) but do not show the starting count or any consumption on theme entry. mSpentTickets and CanSpendTicketsInTheme exist as st — Find the lobby initialisation and theme-entry code that touches the key inventory.
ECON-041No code comparing a research category to 3 in a buy-menu or fixed-item test was found. The 'unknown research category' log (101c830b) appears in CAdvisor::ReceiveMessage only as a string, without a located compare. mResearchGroup is read only in the load/save function (146308). Searched: research st — Find the buy-menu eligibility function that reads the object's research category.
ECON-042The sideshow win handler (100eaaf8) updates happiness and logs 'Sideshow won', with no deduction of a per-win prize cost. The cost fields mCostOfGoods (object offset 0x184) and mTotalCosts (0x180) appear only in the load/save code (132462 to 132735). No code charges InitCostOfGoods per win. Absence — Find the payout routine that reads the cost-of-goods field of the sideshow object.
ECON-043No monthly wage computation (BaseWage times PayMultiplier) was located. BaseWage and PayMultiplier exist only as key strings (102224 and 10222 regions) without code references. The staffcosts string (101d4e01) has no code reference. Staff grade fields (mPayGrade, mCurrentPayGrade) are read only in l — Find the staff monthly cost routine, probably reached from the CMsgEndOfMonth handler.
ECON-044Ride reward messages ('I got a nice balloon from the ride', 'I got a great costume from the ride') exist only as strings in the corpus, without located reward-chance code. Customer balloon and costume handling (100eaaf8 region) does not show the percentage source. The percentages come from .sam data — Find the ride-reward roll routine and the source of its percentage values.
ECON-045The binary's own loan and challenge loaders use key-name lookups (mLoans[loan].* strings, mChallengeOffered, mTargetVal) with no location bounds. The plausibility-bounds rule is an OpenTPW save-reader heuristic, and no binary code tests record locators against bounds. Nothing in the binary confirms — This is a save-reader concern, not a binary behaviour. It can be answered only by comparing a second save fixture.
ECON-046Upgrade requests are handled in the upgrade routines (100df928 cancellation, 100def2c upgrade completion). UI text 'UPGRADE: You don't have any mechanics!' (UITEXT 372, 0x174) and 'UpgradeHireMechanic' / 'NewUpgradeNoMechanic' exist, but no code reference using those indices was found. The mechanic- — Find the upgrade request routine that checks for a mechanic before accepting the request, and the mechanic-list lookup it uses.
ONLINE-002The chat command table is loaded as a text resource (CHAT_COMMANDS::TableID via GetResource id 0x3f2 in the loader near SimThemePark.c:175035), so the command words and any slash rule are in resource data, not in the binary's strings. No code comparing the leading character with slash was located. — Needs the chat input handler or the CHAT_COMMANDS resource contents.
ONLINE-003The text 'Could not add' is not in the binary's strings tables, and the response-code texts (102/110) are supplied by a text resource rather than code. Only 'ONLINE CHAT: Denied ...' diagnostics exist in the binary, which do not map to these codes. — Needs the original response-code table resource.
ONLINE-004The buddy response texts (111-113) are not in the binary strings; they are in text resources. The binary has buddy list file name :buddy.dat and ignore list :ignore.dat (FUN_101xxxx loader near SimThemePark.c:263002) but no online/offline/removed mapping was found. — Needs the response text resource or a runtime capture.
ONLINE-005Command reach, hearing range and blackmark handling are server-side behaviour (ONLINE CHAT messages and BOSS_CHAT strings in the client only report results). The client does contain 'You can't blackmark yourself' and 'You can't ignore yourself', but no reach or hearing rule is in the decompiled clie — Needs the server (weachatr or chat server) binary, which is not in this corpus.
ONLINE-006The client string 'ONLINE CHAT: Denied because we are already in (duplicate player - get your own account)' concerns the same player logging in twice, not a rule that a visitor must leave a park before visiting another. The CHAT_COMMANDS 127 text is in a text resource, and the park-visit transition — Needs the chat server or the CHAT_COMMANDS resource 127 text.
RIDES-001Searched SimThemePark.c and bullfrog_shared.c for a per-frame advance of the animation time control (AnimTimeControl struct, 0x38 stride, debug dump FUN_1005ac68 gives the field names AnimTime, StartAnimTime, TotalAnimFrames, AnimFrame). The dump only prints fields. No tick-rate constant (30, 1/30, — Find the per-tick writer of AnimFrame (struct offset 0x20) and AnimTime (0x14) in the object update loop, then decode the float constant it multiplies by.
RIDES-002The AnimTimeControl array with per-slot Flags/AnimID/SubAnim is visible (FUN_1005ac68 dump; FUN_1005ae70 serializes the slots, 0xb words each). The code that picks which slot wins a node when several play was not isolated. — Locate the per-node transform blend routine that consumes the anim slots (called from the object update after FUN_1005ae70 setup).
RIDES-003The debug dump shows AnimTime, TotalAnimFrames and Flags, but the end-of-clip branch (what happens to a non-looping slot after its time passes its total) was not found in the decompile. — Find the code comparing AnimTime against TotalAnimFrames for a non-looping flag bit.
RIDES-004The opcode names LOOPANIM, TRIGANIM etc. exist as strings (SimThemePark.strings.tsv 101cb136..101cb1bf), but no decompiled code references them. The RSSE dispatcher FUN_100af534 jumps through a table indexed by opcode (guard < 0x6a), and that table is not recovered in the corpus ('Could not recover — Recover the RSSE opcode jump table (TOC slot at _toc-0x5028) from the PEF data section, then map opcode numbers to name strings.
RIDES-005Same blocker as RIDES-004: plain (FLUSHANIM/TRIGANIM/LOOPANIM) and _CH opcode handlers cannot be linked to their names, so the channel each one uses cannot be read from code. — Same as RIDES-004; then compare the channel argument used by the plain-opcode handlers against the _CH handlers.
RIDES-006GETANIM_CH name string is at 101cb1bf but no code references it; the handler cannot be reached through the unrecovered opcode jump table (see RIDES-004). — Recover the opcode table; then read the GETANIM_CH handler's return value.
RIDES-007TRIGANIMSPEED name is at 101cb170 with no code reference; the handler (and whether it reads its speed operand) is not reachable through the unrecovered opcode table. The corpus scripts (see scratch rse_cmp.txt op 21 has 4 uses with arity 4) indicate a 4-operand form, but that is script data, not bin — Recover the opcode table and read the TRIGANIMSPEED handler's use of its 4th operand.
RIDES-009World setup FUN_1010474c picks data:levels:online_Standard.sam for game type 1 and data:levels:Standard.sam otherwise, and loads an Easy_standard.sam variant for type 2. The object loader FUN_10119328 reads the object file via a '%s:%s' name built from the object's id and calls FUN_10018b40 (layer f — Trace FUN_10018b40 and FUN_10124a08 to see how layers are stacked and which base file is passed for shared .sam files.
RIDES-010The OBJECT_NAMES string table is loaded by name ('OBJECT_NAMES::TableID' at line ~175050 via FUN_10111b94, with the member 'mObjectNames'). The binding of an object's index to its English name in the theme block was not located in the decompile. — Read the OBJECT_NAMES lookup (index by string) and check whether it compares English text or uses the table index.
RIDES-011Only the string 'Shape' (10225abc) and the EngineFootprint overrides were found in the string table; the decoding of shape symbols N, E, <, >, +, W was not found in code. — Find the .sam parser for the Shape key and the character comparisons it uses.
RIDES-012No code tying access cells to row or column order was found. The shape-decoding routine was not located. — Same as RIDES-011.
RIDES-013Rotation handling for footprints was not located in the decompile. — Find the rotation routine that transforms footprint cells for 0/90/180/270 and check its 180-degree case.
RIDES-014The '.hmp' extension string exists (SimThemePark.strings.tsv 101c97f8), but the code that reads ground deformation and computes object base height was not traced, so the mean-of-footprint rule was not confirmed or contradicted. — Find the .hmp loader and the object placement code that sets the base height. Retired October 26, 2026: traced in tp.exe, see docs/OBJECTS.md, "Floors".
RIDES-015Initial open/closed state for imported and built objects was not located; the TPWS ride-state fields were not decoded in this pass. — Find the object-state initializer for imported objects and check the default open flag.
RIDES-016Searched the SimThemePark string table for the .sam keys InitDuration (0x102273a4), DurationUnit (0x10225ff4), MinDuration, MaxDuration, RedLineDuration, DurationOfUpgrade and Upgrades. These strings exist, but no code in SimThemePark.c or the shared libraries references their addresses or resolves — Needs the .sam loader's key-to-offset table (data section, not in the decompiled corpus) or a runtime trace of the field written for Upgrades[0].InitDuration.
RIDES-017The key WhichUIType (0x10225dd8) and the comment text '4 = Not to be shown in UI' are only present in the string table. No code references the address or resolves the key. Searched the build-menu-related strings and found no list-of-buildable-items code path that tests a UI-type value in 0-3. Cannot — Needs the .sam key table to find the field offset, then the build-menu population function that tests that field.
RIDES-018Searched strings for build-refusal and placement messages (cannot build, blocked, occupied, slope, collision, no room). Only 'Out of Collision Objects' (101c8dbe) and 'Duplicate track section - IGNORED!' (101c8dd9) appear, and neither is tied to a footprint, slope, path or land check in the decompil — Needs the player placement function (the one that handles build clicks and tile validity) traced from the UI input handler.
RIDES-020The string 'Totem' does not occur in any string table (searched SimThemePark.strings.tsv and the shared libraries). The sandbox Totem prototype is an OpenTPW-only construct with no original counterpart in the corpus, so there is no original rule to confirm or contradict. — None for fidelity; this is a prototype item.
RIDES-021Searched strings for cursor, ray, and Z-plane terms and found no build-cursor or ray-to-plane code in the corpus that could be tied to a footprint centred on the clicked cell. No provable code located. — Needs the original input-to-world mouse picking code and the build placement offset.
RIDES-023Searched strings for running, cycle, complete and income terms. The only ride-related hits are 'Ride has finished fix anim' (repair) and 'mRideScriptHandle'. The VAR_RUNNING key and any cycle-complete or income accounting code were not located in the corpus. — Needs the ride script / operating-state update function and the income accounting call.
RIDES-024Searched strings for bonus, duplicate, collision and id-conflict messages. No bonus-archive merge or Info.Id collision handling was found in the corpus. 'NewBonus' and 'NewParkBonus' are unit-unlock keys, not merge logic. — Needs the object catalog loader that reads bonus archives, traced from the file-enumeration code.
RIDES-025Strings show the language directory pattern 'data:Language:' (101c? 174789 region) and '%s:Language:%s:swears.txt', and 'language:default' and 'English' occur in several UI paths. None were tied to a bonus-name lookup with a fallback order (selected language, then English, then the .sam name). The b — Needs the bonus name resolver traced from the bonus object loader.
RIDES-026The item is an engine presentation convention (MD2 unit to world unit scale). It is not a game rule, and the corpus does not expose a named scale constant that could be tied to MD2 units without guessing from a float literal. — None for gameplay fidelity; engine convention.
RIDES-027Sandbox Totem prototype. The string 'Totem' does not occur in any string table, so there is no original bounds-check rule to confirm or contradict. — None; prototype item.
RIDES-028Searched strings for queue and path terms. Found queue messages ('No path attached to end of queue!', 'Back of queue is %sconnected', 'Removing path cell with no neighbours but NOMODIFY set'), but no code that replaces a non-walkable queue cell with the nearest walkable path cell was located. — Needs the queue-building or queue-join function traced from the CELL_Queue / CELL_Path handling.
RIDES-029Developer Totem prototype. 'Totem' does not occur in any string table, so there is no original refused-purchase behaviour to compare. — None; developer tool item.
UI-001No aspect-ratio, widescreen or anchor logic found. Strings search for aspect/widescreen/anchor returned nothing. The only resolution-related strings are the 'Resolution' user option (FUN_101268a8 loads Renderer/Resolution/Detail/VideoCard keys from a settings file; the 'Resolution.sam' string is ref — Would need the layout code that places front-end elements from screen size (the FUN_101274e4 resolution list and whatever consumes the chosen mode), or a capture at a non-4:3 mode.
UI-002No code found that chooses a font size tier from a logical scale. The font paths are built with sprintf from 'Data:Fonts' / 'data:fonts' / 'Fonts' (e.g. at 243374, 272070, 272104), and the font name is passed in as data. No 0.36 or 0.6 float constants (0x3eb851ec, 0x3f19999a) appear in the code. No — Would need the font-selection call site (the function that calls the InterfaceFont wrapper with a scale value), or a capture showing which font file is used at which resolution.
UI-003Did not locate the UI state-frame drawing path. Only a limited search was run (string search for button/state terms and the UI model names). No drawing code for button or arm state frames was identified, so the root-pose-only rule could not be checked. — Needs the UI model/hierarchy draw routine (child transform handling when drawing a state frame). Searching for the model node-walk code and its transform accumulation would be the next step.
UI-004Did not locate the UI model draw/sort routine. No sort-by-Z or per-texture grouping code was identified in the searched strings or call sites. Coverage was limited. — Needs the model triangle submission path (probably in the engine or indirectx library). A search for the depth-sort comparator or the per-texture bucket code would be the next step.
UI-006No UI text colour constants were found (searched for 0xffff00, 0x00ff00, 0x808080, 0xffffff in draw calls; the hits were pixel-format masks, not UI colours). No strings for colour names. The text colours are not provable from this corpus. — Needs the text draw routine (the function that takes a colour argument for the menu text) and the call sites that pass the yellow, green or grey values, or a capture of original screens.
UI-007No shadow-offset logic found for UI text. The 'shadow' strings found are model/shadow assets (SKYSHADOW, MESHSHADOW, SPRITESHADOW, w_small_shadow.md2), not text drop shadows. The text draw code was not identified. — Needs the text draw routine and any second draw at a +1 pixel offset in it.
UI-008No 'purple_button' string exists in the string tables (purple search returned nothing), so the purple_button art and its normal/focused halves cannot be traced from strings. The button draw path was not identified. — Would need the button art file names (the .wad or sprite names used by the front-end buttons) and the button draw routine that picks a half of the image by focus state.
UI-009Did not find the options-row layout code. The arrows, labels and value positions were not identified in any function. No layout constants (58 / 58.5 / 97.5 percent) were checked against decompiled code. — Needs the options screen layout function (the one that builds option rows from the f_optpanel2 frame) and its position arithmetic.
UI-010Did not find the popup help placement or backdrop code. UIHELPTEXT entries exist, but the function that places the popup and sets its colour was not identified. — Needs the help-popup creation routine and its position and colour arguments.
UI-011Did not find modal dimming. No dim, fade or alpha overlay code was linked to the modal screen stack. The only fade hits were FADEOBJ and FADETOGGLE, which are not modal-screen dimming. The modal screen stack (FUN_10099504, FUN_100995b8) was read and contains no dim pass. — Needs the screen draw loop (the one that walks the screen list below a modal) and whether it draws a translucent quad.
UI-013Did not find the window size or inner-layout constants for the options, game mode, load, pause or message dialogs. Dialog creation calls (for example FUN_10190270 for message boxes) were not examined in detail. — Needs the dialog construction routines and their size arguments.
UI-014Did not find the lobby panel layout (island name, prev/enter/next, logo, right-hand column) in the decompile. The lobby setup function FUN_1008cfb0 creates the lobby struct, but its UI placement calls were not traced. — Needs the front-end lobby screen construction code and its position arguments.
UI-016The ISLAND line in lobby.txt is parsed as: island index, three quoted strings, then two numbers (FUN_1009829c). The first number goes to FUN_10093a3c, multiplied by a global float constant and passed to FUN_1008e51c, which sets a float property through FUN_100a2424. The second number is stored as th — Need the global constant at offset -0x2f04 (its float value) to check the degrees claim, and the consumer of the 3-vector to check whether the middle value is the camera target height. FUN_100a2424 wa
UI-017The lobby.txt parser (FUN_10097bac) stores ISLANDFOV as a raw float at struct offset +4, and SPINSPEED as a raw float at +8, with no unit conversion visible in the parse. The consumer of these fields (the lobby camera update, which would show radians per 0.1 s, 60-degree FOV, the 3-per-second glide, — Need the reader of the lobby struct at offsets +4 and +8 (the struct is allocated at FUN_1008cfb0 as 0x6c bytes and stored at object+0x10). Its update routine would show the time scale and FOV constan
UI-019Searched strings for ISLANDCAMERAPOSITION( (0x101cac65) and found its parser in FUN_1009829c: the line sets camera x/y for an island index 0..9 only when present. The loader FUN_100972cc calls it per island with no default. No 400.0 or 200.0 float constants appear in the decompiled text (grep for 40 — Find the CLBIsland constructor or the island list initializer and check its float defaults (possibly loaded from a data table rather than an inline constant).
UI-020Button positions on the park HUD panel are not derivable from the strings or decompiled logic searched. No string or constant tied to the buy/info/finance/research/map button layout was located; any coordinates are likely in authored data tables rather than code. — Capture the original HUD or inspect the panel layout data tables (.wad/.txt) rather than code.
UI-021Searched the strings for thousands-grouping formats (%03d, %,d, ',%') and the decompiled code for thousands division by 1000 and comma literals (0x2c, ','). No comma-grouping routine was found. Currency prefix strings exist in UITEXT (indices 448 and 449, '$ ' and '-$ ' fragments), but no code forma — Find the money-to-text routine that feeds the HUD cash label (FormatString callers with a cash value) and check its digit handling.
UI-022Searched strings for speed and pause keys: UITEXT 404 (PAUSED, index 0x194) exists but no direct FUN_10138504 caller with that index was found. The only speed-related UI strings are the debug 'SPEED = %d' (0x101cee37) and 'pause' console command (0x101d4d96). No x2/x4 speed-button text or game speed — Locate the time-scale variable used by the main loop and the speed button handlers (search for writers of the clock multiplier near LbTime_* calls).
UI-023The stub calendar is an OpenTPW test artifact with no binary counterpart to compare. The binary has calendar keys YEAR and MONTH (0x101cb446, 0x101cb44b) and end-of-day, end-of-month and end-of-year messages (CMsgEndOfDay, CMsgEndOfMonth, CMsgEndOfYear), showing a game-time calendar. The day length — Find the code that sets the day length and the date text on the HUD (readers of mDayAtLastUpdate and mMonthAtLastUpdate).
UI-024The layout items (category buttons, three-slot pages, sort order by Info.Id, adaptive preview sizing, stat rows, door and erase buttons) are not decidable from strings searched. The catalogue order and slot layout were not located in the decompile. — Locate the build menu catalogue builder (the function populating build categories from object data) and check its sort key and slot count.
UI-025No message-list capacity constant (3) or display duration (8 s) was located. The message display code was not identified by string search. — Find the message list in the f_tag frame and check its capacity and timeout constants.
UI-026Searched strings for a P%s.MD2 pattern and icon-related strings. Only generic mesh name patterns were found (%s%s%c%d.md2, %s%s%c.md2, Advisor.md2, base.md2) and none is the build-icon mesh. The 30 degree tilt and 0.8 rad/s turn rate were not located in the decompiled code. — Find the build-menu icon renderer (readers of the build-object mesh path) and its rotation constant.
UI-027Park click selection logic was not located. Searches for picking or cursor-to-cell strings did not return a usable candidate. — Find the mouse-down handler in the park view and check whether it picks by occupied cell or by mesh hit.
UI-029The string 'b_door' does not appear in SimThemePark.strings.tsv. 'mb_erase' (0x101d9fdb) exists but was not linked to any button frame code. The door-closed frame mapping was not located. — Find the ride info door button handler and its frame index logic.
UI-030The options load and save routine FUN_1012653c reads SFXVolume, MusicVolume, SpeechVolume, MovieVolume, AdvisorOn (offset +0x34) and TooltipsOn (offset +0x36), but the default values written when no option is stored (volume 8 out of 10, tooltips on) were not located. 'DefaultVolume' (0x10227d40) is — Find the options reset-to-defaults routine (writers to the option struct offsets +0x10, +0x34, +0x36) and check the stored default values.
UI-031The build-tool continuation behaviour (one placement per menu selection) was not located in the strings or decompile searched. — Find the build tool placement loop and check whether it returns to the menu after one placement.
UI-032No small-font fallback or greedy word-wrap routine for labels was located. The text layout routines were not identified by string search. — Find the label layout routine that picks between the large and small font based on width.
UI-033The string 'Totem' does not occur in SimThemePark.strings.tsv, bullfrog_shared.strings.tsv or engine_shared.strings.tsv, and the decompile contains no matching reference. The 3250 fallback is an OpenTPW test-only behaviour with no counterpart in the binary to confirm or contradict. — None needed for the binary; the OpenTPW fallback is test-only and not part of the original game.

Triage of the not-found approximations (round 2)#

After round 1, library exports were named (2,370 functions, e.g. TbTimeStamp::GetTime, LbTime_GetClock) and call graphs including callback and vtable pointers were exported. Nine Haiku subagents then classified each not-found approximation and named start points; all 48 start points in a checkable form (function or string address) exist. Categories: code_logic 63, data_file 15, presentation_layout 8, opentpw_extension 7, runtime_only 5. Statically answerable: 81 of 98. opentpw_extension items have no original counterpart and should become [EXT] labels; runtime_only items need a capture of the running original.

IDCategoryStaticPlan
ADVISOR-002data_fileyes1) Decode the node names and per-node visibility/dummy attributes (0x401/0x411) from the Advisor*.md2 and advisor.sam data files in the Mac data folder, per advisor role. 2) Manually decode the 16-entry jump table at 0x1000672c from the raw PowerPC binary (Ghidra could not recover it) and map each role index to its prop set. 3) Compare the hidden set per role (hats, spatula, bow tie, ShutEye) agai
ADVISOR-003presentation_layoutyes1) Find the advisor screen's layout or UI resource (the CLBScreenComponentAdvisor entry) in the Mac data folder and read its rectangle and anchor fields. 2) Confirm whether the rectangle is fixed in logical pixels or computed by a resize routine; if computed, trace that routine in SimThemePark.c from the CLBScreenComponentAdvisor creation path. 3) Compare the derived rectangle with the OpenTPW ADV
ADVISOR-004code_logicyes1) From FUN_10029084, follow the calls.tsv rows to the function that sets the advisor camera (position, FOV, near/far). 2) If it calls Projection__7CMatrixFfff, read the float arguments at the call site (load from the TOC constant pool) and decode the constants for 40 degrees, near 1, far 500. 3) Confirm the camera position (z = -70) from the matrix or translation argument. The earlier search only
ADVISOR-005code_logicyes1) Read UpdateLights_7CSystemFv and list every light and ambient setter it calls, with their float arguments. 2) Identify the headlight (light at camera position) and its colour argument (0.6 expected). 3) Find the material or shader name the advisor uses by tracing the model load in FUN10029084 (the Advisor*.md2 load), since test.shader is not a string in the binary. 4) Check the fog and ambien
ADVISOR-007code_logicyes1) Read the MD2 triangle decode routine called from FUN_10058a3c and check the order in which it stores the three vertex indices. 2) Find the cull-mode or front-face state set before advisor draws (search for render-state setters in engine_shared.c and indirectx_shared.c, and their call sites from the advisor draw). 3) Decide whether the original keeps MD2 winding and culls the other way; if the o
ADVISOR-012code_logicyes1) Find where TbSpeaker::Mono is compared or consumed in sound_shared.c (the speaker config path). 2) Follow SetPipeInfo and InitChannelInfo to see whether mono speech sets a channel count of 2 or pans a single channel. 3) Read the get_sb_stereo path to see whether MPEG mono streams are expanded into both output channels. If the mixer pans with a pan law, the duplication is a mixer gain issue that
ADVISOR-014data_fileyes1) Locate the window table D[512] by following data references from the CMpegBase synthesis functions in sound_shared.c. 2) Dump the table's bytes from the raw Mac binary's data section (the corpus text does not hold the values). 3) Compare the 512 entries against the ISO 11172-3 Annex B table, and check the ffmpeg-derived table against it. 4) Compare decoder output against the corpus speech sampl
COMPAT-007data_fileyes1) Grep SimThemePark.c for the hex address of ParkName (0x102209f4) and for the strings 101d7af4 and 101d7fc7 to find the reader that sets a default park name. 2) Check the .sam records whose key is ParkName in the data folder, since a default may come from that data rather than code. 3) Find writes to the park struct at offset 0x12c in the new-park or world-setup path (FUN_1010474c @ 1010474c, Si
COMPAT-008data_fileyes1) In FUN_1018e0b4, read the TOC offset that supplies the depth float. 2) Map the TOC slot to its address in the raw Mac binary's data section. 3) Read the 32-bit float there and compare it with the OpenTPW depth offset value. This needs the raw binary; the corpus text does not contain the constant pool.
COMPAT-012code_logicyes1) Read LocateValue__14TbIUnicodeToMBFw and find what it returns for an unmappable code point (a zero value or a fallback byte). 2) Trace ConvertString: it writes the returned byte unconditionally, and writes a second byte only when the high byte is non-zero, so determine whether a miss is skipped, written as NUL, or replaced. 3) Compare with the OpenTPW BFUMReader.cs:106 drop rule.
ECON-002code_logicyes1) Read FUN_100e452c and FUN_100e4628 to see whether the park's date fields come from GetTime (real Gregorian month lengths via the MacDoze shim) or from the game's own day counter. 2) If the game uses its own counter, find the constant behind the mod-30 block at 0x1010536C and the day-to-month conversion. 3) Decide the month-length rule from that path; if it is the OS calendar, the 30-day assumpt
ECON-003code_logicno1) Confirm which of the GetTime callers feeds the ride-VM HOUR value (check FUN_100daf04 and FUN_101535ec for the hour output). 2) Check whether any clamp or modulo is applied to param_7 between GetTime and the VM. 3) The raw range comes from LongSecondsToDate's DateTimeRec hour, which is outside the corpus, so answering it needs either the Mac Toolbox behaviour or a runtime capture of the hour re
ECON-004code_logicyes1) Find the speed-button UI panel: search UITEXT id 426 in the UI build code by its table form (the UI may index text from a table rather than a literal call). 2) Take the button callback table (data_ptr rows in SimThemePark.calls.tsv pointing to code) that the speed panel uses. 3) Check whether a tick-rate or time-scale field is written by those callbacks; the pause path via PauseAll is the only
ECON-012data_fileyes1) Read the .sam record for BaseCostPerStaff and CostPerQualityLevel in levels/Standard.sam (60-byte records: value, type, name) to get the intended hire cost values. 2) Find the player-facing hire handler: the UI callback that calls FUN_100f2914 or FUN_100f29fc and then calls a money-subtract routine. Use calls.tsv callers of those two functions. 3) Trace the debit call and confirm whether it rea
ECON-015code_logicyes1) Decode the ResearchAbility and ResearcherConstsPerGrade records in levels/Standard.sam to get the constants. 2) Find the per-tick caller of FUN_100f00f0 (it has no direct caller in calls.tsv, so search for a vtable or dispatch slot that holds 0x100f00f0 in a data_ptr row). 3) In that tick, look for the points arithmetic that splits by effort and compare with the 'Researcher %d doing' output pat
ECON-016data_fileyes1) Decode the PercentageForThisTech values per group from levels/Standard.sam. 2) Find the code that emits the NewResearchGroup* messages (search the strings' pool references in SimThemePark.c or the CAdvisor handler). 3) The opening rule should be in that function: compare its threshold against the percentage of the previous group researched.
ECON-017code_logicyes1) Start from FUN_100c9064 and FUN_100c9ba4 and read what loops they contain. The picker should be a loop over the research item array that reads +0xc and selects the minimum among items with an open group. 2) If not in those, check the CAdvisor research handler near the research-category strings. 3) Confirm the comparison is on cost (ascending) and not on another field.
ECON-018data_fileyes1) Read the ResearchCategories entries in levels/Standard.sam to see which categories the balance file defines and whether 'upgrade' is one of them. 2) Find the CAdvisor::ReceiveMessage category switch (the one that logs 'unknown research category') and see which object types feed each category. 3) Check whether ride upgrade levels and add-on objects are mapped to the upgrade category there.
ECON-019code_logicyes1) Find the research-tick function (see ECON-015) and check for a comparison against the game-type global (DAT101ec8f8 deref, value 2 for Instant Action). 2) If a branch sets a fixed grade-2 researcher, the value will appear as a constant near the grade lookup. 3) Confirm with the Instant Action path in the setup function FUN_1010474c.
ECON-023code_logicyes1) Read the WearRate record per upgrade level in levels/jungle/rides/Rides.sam. 2) In each caller of FUN_100dfe34, look for a subtraction on the +0x40 float that depends on a per-level field, and check whether it runs once per game day. 3) Map that per-level field offset to Upgrades[n].WearRate and check the breakdown-at-zero branch.
ECON-025code_logicyes1) Decode the ScrapValueYear1..4 records in levels/jungle/rides/Rides.sam to learn the year-based basis. 2) Find the sell or demolish handler that uses the scrap value: search for loops over upgrade levels in ride-sell code reached from the UI callbacks listed in the calls.tsv data_ptr rows. 3) Check whether the sum runs from level 0 to the current level and which catalogue cost field it reads.
ECON-026code_logicyes1) Find the park-value graph series: search for the graph series label or its UI text index (0xa3, 0xbd) passed to a graph-building call. 2) Trace the value fed to that series: it should call the scrap-value routine from ECON-025 for each ride and sum. 3) Check whether anything else (shops, staff) is included.
ECON-027code_logicyes1. List callers of FUN_1015af1c and FUN_1016eeb0 in corpus/SimThemePark.calls.tsv and find the function that writes the displayed rating value (the panel only builds labels). 2. In that value function look for three inputs: average guest happiness (UITEXT 0x69/0x6a stats source), a capped attraction sum (sum over open objects, capped at 100, divided by 3), and cleanliness as 100 minus litter. 3. C
ECON-028code_logicyes1. Find the build/confirm handler that looks up the object's purchase price from its catalogue record (read the price key name from levels/*/rides/Rides.sam or shops/Shops.sam, then grep the code for its loader reference). 2. In that handler, look for a compare of the bank balance against the price, followed by a branch to a refusal path rather than the debit. 3. If the debit happens with no compa
ECON-029code_logicyes1. Find the reader of UIHELPTEXT index 0x98: the help-text table is loaded through FUN_10111b94 @ 10111b94 (called with the 'UIHELPTEXT::TableID' string). Find the call that passes 0x98; the function containing it is the purchase gate. 2. In that gate, identify the available-tickets value (earned minus spent, from the park fields at +0x18 and +0x1c). 3. Find the writer that increments the spent fi
ECON-030code_logicyes1. Find the advisor loader that reads Advisor/Advisor.sam: locate the file-path string in SimThemePark.strings.tsv and its loader call. 2. Find the message-name to key dispatch that uses the contiguous key block at 0x10214c24 to 0x10214f6c (table-driven). 3. From the advisor dispatch, identify the bankruptcy message path; the 100000 value is a message score, not a stop flag. 4. Search the month-en
ECON-032opentpw_extensionyes1. Confirm absence: grep the PEF binary 'stp/Theme Park Data/SimTheme Park' for 'rototype' in ASCII and UTF-16 forms. If absent in both, the original has no prototype concept and the rule is an OpenTPW extension. 2. Check whether objects placed from Standard.sam layers (loaded by FUN_1010474c and FUN_10119328) are charged: find whether that load path calls the debit routine. If it does not, the or
ECON-034data_fileyes1. Parse the PEF container of 'SimTheme Park' (section headers), find the section that maps 0x101ef004, and read 34 big-endian 32-bit pointers at 0x101ef004 + 4*i. 2. Map each pointer to a corpus function header (FUN_xxxxxxxx @ address) and record table index = challenge Type. 3. For each handler, identify the fields it reads (mTargetObj, mTargetVal, mAmountOfSpecialIngredient at FUN_100daf04 line
ECON-036code_logicyes1. Use the PEF table lookup from ECON-034 to get the handlers for Type 28 and Types 30, 31, 33. 2. In the Type 28 handler, check whether it reads mTargetVal (FUN_100ce1e4 @ 100ce1e4 line 124069 reads 'mTargetVal' at +0x12) and compares a ride level against it. Decide whether the stored value 2 means a 0-based level index (level 3) or whether the threshold is 3. 3. For Types 30, 31, 33 with TargetV
ECON-037code_logicyes1. Find the staff panel that shows the skill value: list the .c lines calling FUN_10138504(0x43), FUN_10138504(0x68) and FUN_10138504(0x94), then the function that formats the number (sprintf or number-to-text helper). 2. Check whether the displayed value is a direct 0-100 percent or grade*25 + pct/4, and whether the division is integer (shift). 3. Check that the per-grade percent (0-100 within ea
ECON-038code_logicyes1. In FUN_100d34c0, find which cell-count helper is compared with the 3000 threshold and which with 2000. Trace the threshold's struct field back to the key loader for GoldenTicketGlobal. 2. Read the bodies of FUN_100e02ec and FUN_1001ea40 and the five predicates to decide which is 'player-owned cell' and which is 'covered by a camera' (camera coverage should test a camera's range). 3. Compare wit
ECON-039code_logicyes1. In FUN_100e3d30, find the add into the year accumulator (the field saved by FUN_100cba54) and any reset branch. 2. Decide between a calendar-year running total reset at year end (the single persisted mProfitThisYear suggests this) and a 12-month window. If it is a reset accumulator, the OpenTPW 'last 12 closed months' rule is wrong. 3. Find the comparison against GoldenTicketLocal.ProfitYear an
ECON-040code_logicyes1. Read FUN_10128b60 to confirm the key-count formula (mExtraKeys plus earned tickets divided by 3, truncated) and whether spent tickets are subtracted. 2. Find the default-profile initialisation (the new-profile or constructor path that sets mExtraKeys at +0x20) to get the starting key count. 3. Find the theme-entry code that charges Keys.CostToEnter (5) and whether it decrements mExtraKeys; sear
ECON-041code_logicyes1) Category 3 is the Feature category, so the test that matters is 'category == 3 means feature', not a directory test. 2) Find the object-struct offset that the sam loader fills for Research.Category (the loader writes the value from the 60-byte record; look for a store of a small byte/int into an object at a fixed offset during object creation, not in save/load). 3) Grep the .c for reads of that
ECON-042code_logicyes1) Correction to the previous search: the win path does read the cost-of-goods field (+0x184) and uses it in the happiness delta, so it is not absent. The question is still whether any money is charged per win. 2) Find the caller of FUN_100eaaf8 (the sideshow play/finish routine) and check for cash changes (budget/money variable writes) around the call, in the same function. 3) Check the setter FU
ECON-043code_logicyes1) Find the loader of the PerGradeStaffConsts and PerTypeStaffConsts arrays: these keys are in the 60-byte .sam records with the other per-grade keys IdleDuration (line 192), RecuperationRate (198), HappinessRecuperationRate (204) that do not appear in code either, so search for code that reads a fixed-stride table indexed by a grade (0-4) and a type (0-4) with multiply. 2) Use calls.tsv data_ptr
ECON-044code_logicyes1) Find the ride-reward roll: it writes the message with (x, y, type) arguments, so search for the call that passes three integers after a format id (the format base is a string pool offset; compute base+0x... for 101d013c and 101d00ff from the nearby pool base). 2) Look for a random draw compared against a constant or a per-ride value just before the message call. 3) If the constant is not in any
ECON-045opentpw_extensionno1) The rule is a save-reader heuristic in OpenTPW, not a binary behaviour. 2) The binary's own loaders use key-name lookups with no location bounds (previous search), which is consistent but does not prove the rule is absent. 3) Only a second TPWS/TPWI save fixture can test whether record locators stay in bounds across files. 4) No binary search will settle it.
ECON-046code_logicyes1) Find the status selector that chooses among UITEXT 369-372 for an upgrade (look for a computed index base 0x171 to 0x174, or FUN_10138504 called with a variable index; grep FUN_10138504 calls with arithmetic on a mechanic count). 2) Check whether the selector tests the mechanic count (the FUN_10105d3c lookups) and whether a request with zero mechanics is accepted and waits (state 372) rather th
ONLINE-002code_logicyes1) Check the context of SimThemePark.c:163888 and :163895 to see if they belong to the chat input path. 2) Find the chat input handler by its callers of the command table lookup (indices 0-42) or by the text input buffer that feeds the 'ONLINE CHAT' sending code. 3) Look for a compare of the first input character with 0x2F ('/') or with an empty-prefix test before sending as say. 4) If the client
ONLINE-003runtime_onlyno1) The text confirms that 102 and 110 are both 'Could not add ' and that the ignore block (98-105) and buddy block (106-113) are separate. 2) The response-code to meaning mapping is chosen by the server (the client shows string index plus args). 3) Check the client receive handler for any index-specific branch on 102 or 110 (grep for compares with 0x66 or 0x6e near the ONLINE CHAT receive code). 4
ONLINE-004runtime_onlyno1) The text cannot distinguish online, offline and removed, so the distinction must come from the server, or from an argument the client appends. 2) Check the client handler for indices 111-113 for any append of a status string (look for a compare or a second string id). 3) If no client branch exists, a runtime capture of buddy events on the original client is the only evidence.
ONLINE-005runtime_onlyno1) The client only displays results; reach, hearing and blackmark handling are in the server, which is not in the corpus. 2) Check whether the client has any local hearing range or shout-reach check (look for code comparing a distance to the hearing value near the chat send path). 3) If none, this needs a runtime capture against the original chat server or the server binary.
ONLINE-006runtime_onlyno1) The text confirms the rule exists in the original: a goto into another park while in one returns 127. 2) Enforcement (whether the server refuses, or the client must leave first) is server-side. 3) Check the client goto send path for a local check before sending (look for the goto command index 21 handler and any park-id compare). 4) Otherwise a runtime capture of a goto from inside a park is th
RIDES-001code_logicyes1) Read FUN_1003abf4 (SimThemePark.c 34852-35336) and find the code that advances AnimTime/AnimFrame per object tick: look for float loads from a DAT constant added to the slot's time field. 2) Decode that float constant (read the 4-byte IEEE value from the constant's address; the tick rate is 30 if the per-tick increment is 1/30 or 1000/30 ms-based). 3) Check whether the advance uses LbTime_Get
RIDES-002code_logicyes1) In FUN_1003abf4, identify the loop over active AnimTimeControl slots and its iteration direction. 2) Check whether a later-started slot overwrites the node transform (last-write-wins) or whether results are blended by a weight field (acos/sqrt usage suggests weighting). 3) Check the Flags/AnimID test that selects which slot is considered for a node. 4) Compare with the 'interesting AnimTimeCont
RIDES-003code_logicyes1) In FUN_1003abf4, find float compares of AnimTime (slot+0x14 or +0x18 NoPauseAnimTime) against TotalAnimFrames (slot+0x1c). 2) Identify the Flags bit tested in the same branch (a looping bit). 3) Trace the non-looping branch: does it clamp time to total and keep AnimID set (hold last pose), or clear the slot? 4) Check whether the flush path (FUN_1005ae70 serialization, FUN_1005b898 caller) clear
RIDES-004code_logicno1) Read the TOC entry at toc-0x5028 from the PEF data section of the Mac binary (the previous search says stpapp.bin was read, but its path was not re-verified here). 2) Dump the 106 table entries (opcode 0..0x69) and map entry 18 to the LOOPANIM handler, 16 to TRIGANIM. 3) Read the LOOPANIM handler and check its branch when the same loop is already running (restart vs continue). 4) Without the
RIDES-005code_logicno1) Recover the opcode table as in RIDES-004. 2) Read the handlers for opcodes 15-21 and 22-27 and find the channel argument each passes to the shared animation function (the common callee in calls.tsv). 3) Compare: if plain handlers pass a fixed channel id different from the _CH handlers' operand, the approximation is confirmed or refuted.
RIDES-006code_logicno1) Recover the table entry for opcode 27. 2) Read its handler and find the value written back to the script operand (the RSSE result variable). 3) Check whether it is 0/1 based on the playing state of the channel, and what state (AnimTime < TotalAnimFrames, or slot Flags nonzero) it tests. Cross-check with GETANIM (opcode 20) handler.
RIDES-007code_logicno1) Recover the table entry for opcode 21. 2) Read the handler: check whether the 4th operand is loaded and passed to the animation-speed setter (a float rate written into the slot, probably near the AnimTime update in FUN_1003abf4). 3) If it is passed, the approximation is refuted and the speed formula is the next question.
RIDES-009code_logicyes1) Read FUN_10018b40 and FUN_10124a08 to see how each layer is pushed (order of layers vs flag 0/1). 2) In FUN_10119328, find which file name is passed as the base for shared (non-Info.Id) .sam files and the call order relative to the category defaults and the object file. 3) Confirm the chosen base file: the online/standard distinction is verified at FUN_1010474c.
RIDES-010code_logicyes1) Read the FUN_10111b94 table loader and find the lookup by string key (compare with strcmp/strncpy at calls.tsv 10434 region). 2) Check whether an object's index is found by comparing its English name text or by a stored numeric id from the table row. 3) Locate the caller that binds the theme block to OBJECT_NAMES (around SimThemePark.c:175050).
RIDES-011code_logicyes1) Grep SimThemePark.c for 0x10225acc or the constant form of the Shape key, then read the .sam parser that stores it. 2) Find the character comparisons on the shape string: look for compares against 0x4e (N), 0x45 (E), 0x3c (<), 0x3e (>), 0x2b (+), 0x57 (W), 0x32 (2), 0x53 (S), 0x2a (*), 0x2e (.). 3) Map each compare to its use (exit, station end, upgrade cell, occupied). 4) Cross-check with the
RIDES-012code_logicyes1) After locating the shape decoder (RIDES-011), find the loop that assigns access cells. 2) Check the loop nest order: whether the first/last row is scanned before the first/last column. 3) Verify with a ride .sam that has side entrances (Shape values with N/E/W/S on edge cells).
RIDES-013code_logicyes1) Read FUN_100d8fe0 in full and list its angle cases (0/90/180/270 and any fallthrough for other angles). 2) Check whether the 180 case is a cell-by-cell transform of the footprint or a bounding-box swap, and whether non-square footprints go through the same path. 3) Check the callers of FUN_100d8fe0 (calls.tsv, call rows) to confirm it is the footprint rotation used for placed objects, not only
RIDES-014code_logicno1) Find the code that builds a filename from the .hmp literal: search SimThemePark.c for the 101c97f8 string as a pool pointer (DAT101c97f8 or similar) and list the callers. 2) If the loader exists, check whether it reads per-cell heights for ground deformation and whether the object placement code uses those heights for base height. 3) If no .hmp file exists in the shipped data, the extension m
RIDES-015data_fileno1) Find the save-file loader for the placed-object records (the SYSG and TPWS records named in ParkObjects.cs). 2) Identify the ride-state fields in the record and their default when the flag is absent. 3) Check the initial open state of a ride by reading the ride script initial state (mRideScriptHandle usage) in SimThemePark.c. 4) If no save file is available in the data directory, this needs a s
RIDES-016data_fileyes1) Confirm the .sam key-to-struct mapping: the 60-byte key records are in the .sam loader, which is not decompiled; instead, check whether the value at upgrade record +0x1b4 (FUN_10118018 returns the record) is the InitDuration float by comparing with the Rides.sam value 3 for Upgrades[0] of a known ride. [Refuted by QUEUE-R, docs/reverse/QUEUE-plan.md §2: +0x1b4 (436) is Upgrades[L].QueueWaitTimeConstant; InitDuration is +0x1a0 (416).] 2) Test the hypothesis that +0x58/+0x59 are UsageInfo.MinDuration/MaxDuration (values 1 and 1
RIDES-017data_fileyes1) Note that the cited comment "4 = Not to be shown in UI" does not appear in any shipped data file (grep -ra over the data tree returns nothing), and the shipped comment lists only 0-3. The OpenTPW citation should be corrected. 2) Find the build-menu population function that reads the UI category: search for functions that compare an object's category value against 0 to 3 (the data uses 0=rides,
RIDES-018code_logicyes1) Read the callers of FUN_100daf04 and FUN_100dd144 and check whether one of them is the player placement function (the one that receives a click and a grid cell). 2) In that function, list the checks: grid bounds, terrain or slope test, path or land test, overlap test, and the economy purchase call. 3) Compare with the OpenTPW ParkObjects.cs:105 rule (footprint inside grid, terrain, no overlap,
RIDES-020opentpw_extensionnoNo fidelity work is needed. The Totem is a developer prototype with no original counterpart, so no original rule can be found. Keep the approximation flagged as OpenTPW-only and replace it with anchor placement, as the source comment already says.
RIDES-021code_logicyes1) Find the mouse click handler in SimThemePark.c: search for the click/mouse-to-cell conversion (for example the function that the placement routine in FUN_100daf04 or FUN_100dd144 is called from). 2) Check whether the footprint origin is the clicked cell or an offset cell (for example the footprint's anchor index). 3) Check the cursor plane: whether the screen-to-world conversion uses a Z = 0 pl
RIDES-023code_logicyes1) Read FUN_100ed244 and find the state variable that gets set to 0 after a cycle completes (the variable the ride script reads as running). 2) Check where the income or cycle counter is incremented in the same branch. 3) Compare with OpenTPW OriginalObjectRuntime.cs:114 (VAR_RUNNING 1 to 0 as cycle complete).
RIDES-024code_logicyes1) Find the object catalog loader in SimThemePark.c that enumerates object archives (look for the .wad enumeration and the Info.Id field check). 2) Check whether a duplicate Info.Id is skipped, overwritten, or raises an error, and whether the loop continues. 3) Check the bonus-archive path: the Mac data has no bonus archives, so the merge logic can only be read from code. 4) If the loader gives no
RIDES-025code_logicyes1) Find the bonus name resolver by tracing the TbTextResourceManager lookup from the bonus loader (the loader that enumerates archives, see RIDES-024). 2) Check the fallback order: selected language, then English, then the .sam name. 3) Verify the Language directory contents for per-object name files that a bonus name would use. 4) Compare with OpenTPW ObjectCatalog.cs:552.
RIDES-026opentpw_extensionnoLow priority. Only pursue if a rendering-scale question comes up. Would need the MD2 model load/draw path (engine_shared or indirectx_shared, searched by model-load strings such as '.md2' at SimThemePark.strings.tsv 101c977a) and its scale multiply; a runtime capture of a known model's on-screen size would settle it. Otherwise keep as an engine convention.
RIDES-027opentpw_extensionnoNo search needed. The sandbox Totem is a developer prototype with no string or data trace in the original. Close as not applicable to original fidelity.
RIDES-028code_logicyes1) Open FUN_100ddcc4 and FUN_100dd57c and list their callers via SimThemePark.calls.tsv. 2) Find the routine that builds queue cells from CELL_Queue and CELL_Path and check whether a non-walkable queue cell is ever swapped for a neighbouring walkable path cell. 3) Check FUN_100859b4 for the NOMODIFY removal path, since it is the nearest path-cleanup code. 4) If no swap exists, the OpenTPW rule has
RIDES-029opentpw_extensionnoNo search needed. Developer tool with no original counterpart. Mark as out of original-fidelity scope.
UI-001presentation_layoutyes1) Find the code that consumes the chosen resolution after FUN_101268a8 loads it (callers of the settings value, likely in the renderer/engine setup). 2) Check whether any front-end element placement uses the screen width or height, such as an anchor or scale call in the UI or menu layout routines. 3) If no anchor logic exists, the original likely centres or scales the 4:3 layout, which would be a
UI-002presentation_layoutyes1) Open FUN_1011e418 and determine which font it picks and on what argument (screen or logical scale). 2) Trace the callers of FUN_1011e418 to see whether a scale value reaches it. 3) If no scale-based tier exists, record that the original selects fonts by role, not by scale, and the 0.36/0.6 tiers are an OpenTPW invention. A capture at two resolutions would confirm which font file is used.
UI-003code_logicyes1) Find the functions that reference 101c97dc and 101c97e9 (grep the address or the comment text in SimThemePark.c). 2) From the model loader, find the draw routine and its node walk. 3) Check whether the child node translation is accumulated when a state frame is drawn. The earlier search did not find the draw routine; the model-name builders are the verified entry point, but the draw function it
UI-004code_logicyes1) Starting from the model loader that uses 101c97dc, find the triangle submission path (likely the engine or indirectx library, which has a per-texture batching step). 2) Look for a depth comparator or a sort call on triangle or polygon lists. 3) If the original submits triangles in file order with the depth buffer doing the work, the OpenTPW back-to-front sort is an approximation that the binary
UI-006code_logicyes1) For each of FUN_10141068, FUN_1014259c, FUN_10143ee0 and FUN_10144724, read the colour argument at the UseReColour call and trace it to its source (a constant, a palette index or a table entry). 2) Check whether the colour values match white, yellow, green or grey, using the palette in the data files. 3) Trace the menu-text callers (FUN_101403ec @ 101403ec calls LbDraw_Text) to see which colour
UI-007presentation_layoutyes1) Open FUN_10141068 and FUN_1014259c and count the Draw calls per text string. 2) Check whether a second Draw call uses a rect offset by one pixel (x+1, y+1) with a different colour, before the main draw. 3) If only one Draw is made, the original has no drop shadow and the OpenTPW shadow is an approximation. Confirm against a capture of original screens.
UI-008data_fileyes1) Search the Mac data directory for the purple button art: grep -a -l -i 'purple' over the .wad and .sam files, then list the image names inside the matching archive. 2) Find the caller of the 'InterfaceButton' widget constructor (search 101daa02 in SimThemePark.c) and check whether its draw path chooses a texture half by focus state. 3) Compare the half-image split with OpenTPW UiWidgets.cs:252.
UI-009presentation_layoutyes1) Decode the f_optpanel2 model parts in ui.wad (MD2 vertex bounds for the label and value lozenges) and compute their x-extents as fractions of the frame. 2) If the original arrows and labels match those fractions, the approximation is data-driven and can be closed from ui.wad. 3) Only if they do not match, locate the options-row builder via FUN_10138504 callers using the UITEXT index for the opt
UI-010code_logicyes1) Find references to 0x101d9d94 in SimThemePark.c (hex or pool-table form) to locate the help-box creator. 2) Read its position and colour arguments (top-centre anchor and dark blue backdrop colour). 3) Cross-check the anchor against the f_helpbg model bounds in ui.wad.
UI-011code_logicyes1) Read FUN_10099504 and FUN_100995b8 for the per-screen draw loop and for any call that draws a full-screen quad before lower screens. 2) Check that quad's blend or alpha argument (a translucent fill would confirm dimming; an opaque or absent fill would refute it). 3) If the dim is an alpha blend done by the renderer, the answer is runtime_only and needs a capture.
UI-013data_fileyes1) Read the w_med model bounds in ui.wad and compare to the 1760x1380 window in OptionsScreen.cs:92 (window sizes may be authored, not coded). 2) For message boxes, read FUN_10190270's size arguments at its callers. 3) Repeat for game-mode, load and pause dialogs by their callers.
UI-014presentation_layoutyes1) Read the islandlobby and f_lobbutbg bounds in ui.wad to see whether the island name and prev/enter/next positions are inside the authored model, as OpenTPW assumes. 2) Read the lobby UI builder called from FUN_1008cfb0 for its position arguments. FUN_1008cfb0 has no direct callers in calls.tsv, so find its caller through a callback or data pointer.
UI-016data_fileyes1) Find the consumer of the 0.0/35.0 pair in the lobby camera or island setup: trace the struct that FUN_1009829c writes (offsets from the ISLAND path) to its reader. 2) Check whether the angle is passed through a degrees-to-radians conversion (the global constant at offset -0x2f04 that FUN_10093a3c multiplies by). 3) Check that the height value is used as a camera target y, not as a fixed offset.
UI-017code_logicyes1) Read the lobby-camera update that reads the struct at offsets +4 (ISLANDFOV) and +8 (SPINSPEED). 2) Check its FOV constant (the data says ISLANDFOV(100), not 60) and whether the field feeds the projection. 3) Check the time scale in the update for radians per 0.1 s versus per-frame, and the glide rate. 4) Decode the lobby.wad token encoding before trusting the SPINSPEED value.
UI-019code_logicyes1) Decode the lobby.wad token format (or read its reader in the bullfrog library) and check whether any island has ISLANDCAMERAPOSITION. 2) If none does, the default in the island constructor is what the original uses. 3) Find that constructor by searching all library .c files (not only SimThemePark.c) for float constants 400.0 (0x43c80000) and 200.0 (0x43480000). The previous search did only SimT
UI-020presentation_layoutyes1) Find the park HUD panel model name in ui.wad (the model that holds the buy, info, finance, research and map buttons) and read each button's authored bounds. 2) Compare to the 'shared authored centre' in ParkHud.cs:119. 3) If the bounds match, the assumption is data-confirmed.
UI-021code_logicyes1) Find the cash-label text routine by its callers that pass a money value (the function that builds the bank string). 2) Look for a digit loop with divide-by-10 reciprocal constants (0xcccccccd, 0x66666667) and a separator insertion every three digits. 3) If no grouping exists, the original shows ungrouped digits and the approximation is contradicted.
UI-022runtime_onlyyes1) In FUN_100def2c, read the path that writes param_1+0x54 from a table at (table + mode*0x40 + 0x1a8): the speed multipliers may come from data, not constants. 2) Find who reads param_1+0x54 and whether it scales the UTimer or only the economy clock. 3) Check whether rides and guests read the same scaled clock. Final proof of which entities slow down needs a runtime capture.
UI-023code_logicyes1) Find the callers of FUN_100e3d30 and of the LbTime_GetClock/TbTimeStamp paths that advance the clock, and find the game-time tick that increments the day (search for the constant that converts ms to a game day, and for the advance-by-day path). 2) Check whether the day length is a sams value: the calendar keys YEAR/MONTH are 60-byte records in the .sam data (data/global, data/init, data/levels,
UI-024presentation_layoutno1) Statically: extract the ui/ frame and button layout data (positions, slot rectangles) from data/ui and ui.wad and compare with ParkHud.cs layout constants. 2) Find the build-menu catalogue builder by locating the code that reads the object list for the build categories (search for the ui.wad screen name that owns the catalogue) and check its sort key and slot count. 3) Fit the remaining items (
UI-025code_logicyes1) Find the f_tag frame and the message-list HUD code: search for the message title/text UI calls (index 0xd1/0xd2) and follow FUN_10138504 callers that populate a list. 2) In that code, look for a list capacity constant (3) and a timeout (8 s, likely as a frame count or ms value such as 8000) and check the expiry logic. 3) If the timeout is a timer compare, check the LbTime_GetClock__Fv @ 10038bb
UI-026code_logicyes1) Find the loader that builds a mesh path from an object name with the .md2 suffix (xref the .md2 pattern addresses in SimThemePark.c and the lib .c files, then follow the call graph in SimThemePark.calls.tsv to find the build-object mesh path reader). 2) In that icon renderer look for a rotation step and a 30-degree tilt: a float constant (0.8 rad/s; 30 degrees is about 0.5236 rad) in the data s
UI-027code_logicyes1) Find the park-view input handler by searching for mouse-button event constants and the cursor-to-grid conversion, then follow data_ptr rows in SimThemePark.calls.tsv to its callback table. 2) Check whether the handler picks by occupied grid cell or by mesh hit (look for a ray or mesh-pick call versus a cell-index lookup). 3) Confirm with a runtime check if both paths are plausible.
UI-029data_fileyes1) Extract frame and button names from data/ui and ui.wad (the button frame names and their indices are data, not code). 2) Find which frame index maps to a door-down or door-up image for the ride info panel, using the frame sequence for the b_door button. 3) Find the handler that reads the ride's open/closed state and writes the door button frame, then confirm down = closed from that code. 4) Con
UI-030code_logicyes1) Find writers to the option struct: search for stores to offsets +0x10, +0x18, +0x20, +0x28, +0x34 and +0x36 on the option object, especially in a constructor or a reset-to-defaults routine (the object is reached through the global pointer DAT101ec874 used in FUN_10126460). 2) Read the constant stored when no option exists (volume 8 of 10, tooltips on), and check the 0..10 range in the volume
UI-031code_logicyes1) Find the build tool's placement loop: search for the placement call that is paired with the menu return (a loop that either returns to the menu or keeps the tool active after one placement). 2) Check the branch after a successful placement for a return to the menu state versus keeping the tool active. 3) Confirm with a runtime test of the original build flow if the branch is data-driven.
UI-032code_logicyes1) Find the text-draw routine that takes a label and a rectangle (the UITEXT lookup at FUN_10138504 is a source; its consumers are the draw calls). 2) Look for a width comparison that picks a second font size, and for a word-wrap loop that breaks on spaces. 3) Check the font selection and the wrap loop against the original screens with translated text.
UI-033opentpw_extensionyesNone needed for the binary. Confirm once more that no Totem asset name appears in the data directory, then keep the fallback marked as an OpenTPW test-only behaviour.

Focused search with a skeptic (round 3)#

One Haiku per statically answerable approximation (78) followed its triage plan; every claim was then given to a second Haiku told to refute it. Search verdicts: not_found 29, partially_confirmed 28, contradicted 20, confirmed 1. The skeptic rejected 40 of 49 claims; 9 survived. The lead checked the anchors of the survivors and read the key ones. No survivor fully confirms an OpenTPW assumption, so the register count is unchanged; the contradicted rules are implementation work.

IDSearch verdictSkepticLead reviewOriginal behaviour (agent's words)
ADVISOR-007partially_confirmedrefuted → partially_confirmed—The original Mac OpenGL renderer sets the front-face winding to clockwise (GL_CW, 0x900) in the per-draw setup, which is the part of OpenTPW's premise that holds. It never enables GL_CULL_FACE anywhere in the corpus: the renderer init explicitly disables it (0xB44), and no glEnable(0xB44) exists. So the original does no back-face culling at all, and the stated reason for reversing corner order (surviving clockwise back-face culling) does not match the original. Whether the stored triangle corner
ADVISOR-012partially_confirmedrefuted → partially_confirmed—The original never copies a mono speech stream into a second channel in its MPEG decoder. Layer II output is interleaved with the channel count taken from the stream's mode field (mono mode gives one channel), and a mono speech sample is described to the sound pipe as a one-channel buffer. The speech bank itself is mono: every one of the 641 speech entries in speechHD.SDT carries the mono sound type (36) at 22,050 Hz, which agrees with docs/LIPS.md. Any stereo placement therefore happens later,
ADVISOR-014confirmedrefuted → partially_confirmed—The original sound shared library (PEF, Mac PowerPC) stores the MPEG synthesis window as a float table in its data section, at address 0x10029c10 in the library's address space (the data section sits at 0x100217c0). The table is 34 rows of 16 big-endian float32 values; each even/odd row pair is identical, so 17 distinct row pairs remain. Cell (pair p, column c) holds the ISO 11172-3 window value D[i] for i = 32c + p, with i > 256 obtained by the mirror rule OpenTPW also uses, and the stored floa
COMPAT-012contradictedrefuted → partially_confirmed—The original converter (TbIUnicodeToMBF::ConvertString) does not skip and does not substitute unmappable characters. For each input code unit it calls LocateValue, which returns 0 when the code point is outside every mapped range. ConvertString then writes that value as a single byte, so an unmappable character becomes one 0x00 byte in the output and the output position advances by one. No '?' lookup happens anywhere in this path. The loop only stops on the input terminator or when the limit is
ECON-002contradictedrefuted → contradictedhost-origin hypothesis refuted by bounded operandsThe earlier host-local funny-time origin claim is false for normal construction. Initializer 0x100E4348 sets calendar+0 to 2000-01-01 using r4 at 0x100E434C; constructor 0x100E3CEC separately sets r4 to calendar+8 for host session time. Conversion 0x100E4394 adds unsigned64(rate × world turn / 4) seconds to calendar+0 (r4 at 0x100E4430), not session+8. Default rate15000 contributes3750 virtual seconds per turn. Saved mFunnyTimeStart may override the fresh epoch. OS calendar/failure behavior and target-PC execution remain separately unverified; see the identity-pinned clock operand witness through b52dcff.SimThemePark 0x100E3C90, 0x100E4348, 0x100E4394; bullfrog setter 0x1BB50
ECON-012contradictedrefuted → not_found—Hiring is not free in the original. When a hired staff member is brought into the park, the routine that spawns the staff member first takes the staff cost out of the park bank balance (cash field at object offset 0xc) and then creates the staff entity. The amount is the product of a per-staff-type factor (table at offset 0x340, indexed by type) and a per-pay-grade factor (table at offset 0x2ec, stride 0x10, indexed by the staff's grade at offset 0x1e4). The hire window also previews the post-hi Settled in the Mac binary (ORACLE.md F28): the claim does not hold there. The hire path has no debit (the sixteen direct callers of the bank's Spend routine include no hire routine, the keys BaseCostPerStaff and CostPerQualityLevel are never read), the monthly wage is paid at the month's end (executed), and dismissing a staff member charges one more wage (executed). A debit that "takes the cost when the staff member is spawned" is not in the Mac binary.
ECON-015partially_confirmedsurvived (partially_confirmed)anchors checkedEach researcher (a staff object with a grade at +0x1e4) is handled by a per-researcher update, FUN_100f0284. Unless its state check (FUN_100f4170) returns 3, 4 or 5, and the world clock counter is a multiple of 20, it calls FUN_100f0728. That routine reads a per-grade value from a table at DAT101ec92c + grade*0xc + 0x41c. Its value is probably the ResearchAbility field (2 to 6 in Standard.sam), though the field name is inferred, not proven. It logs "Researcher %d doing %d points of research" w
ECON-016partially_confirmedrefuted → partially_confirmed—The research-group opener is FUN_100f15b4. It runs after each research completion (from FUN_100f1838, message type 0x11) and once per category during setup (from FUN_100f0d30). Each category record keeps a highest-open-group value (a byte at category record +0xc). The routine counts projects in the same category whose group is at most that highest value, and counts how many of them are finished (progress >= cost). It then takes an integer percentage of finished over counted. If that percentage i
ECON-017contradictedsurvived (contradicted)read: contradicted (research picks the next available item per category in table order; the player steps the cursor; no cost ordering)The lab's research picker never compares item cost when choosing what to research. Each research category (0 to 4) keeps a cursor to the selected item in the lab's item array. The picker (FUN_100f0ef0 forward, FUN_100f1088 backward, selected by the UI next/previous control) walks the array in slot order from the cursor. It takes the first slot after the cursor whose category matches, whose group is at or below that category's open-group ceiling (byte at lab+cat*0x10+0x1418), and which is not yet
ECON-018partially_confirmedrefuted → partially_confirmed—The original has five research categories (0 Ride, 1 Shop, 2 Sideshow, 3 Feature, 4 Upgrade; Standard.sam gives each an Effort value, upgrade = 10). Research projects are stored as 20-byte records with an object id, a category, a group, an upgrade level, a cost and progress. When a ride, shop, sideshow or feature finishes its base research, the game queues its next upgrade levels (levels 1 and 2, cost taken from that object's Upgrades[n].CostOfResearch) and writes the record category as 4 (Upgra
ECON-019partially_confirmedrefuted → partially_confirmed—Instant Action (game type 2) does not ask the player to hire researchers. The research window in that mode shows the message "Research is automatic in Instant Action mode." instead of the "hire researchers" prompt. Research progress itself is only ticked from researcher staff objects, and the lab is switched off whenever no researcher exists, with no game-type branch in that check. I did not find where an automatic researcher is created, nor any rule that gives it grade 2 or a single-researcher
ECON-023partially_confirmedrefuted → partially_confirmed—A per-ride update (FUN_100e077c) runs every 8 ticks and calls FUN_100dec2c. FUN_100dec2c subtracts an amount from the ride state float at object +0x40 only when the world tick is a multiple of 64 (tick & 0x3f == 0) and the game type is not online (type 1). The amount comes from FUN_100de904, which multiplies a sum of per-ride terms by a per-level value read from the ride-type record at (level * 0x40 + 0x1b0), where level is the object byte at +0x4c (the upgrade level). Breakdown is requested (sc
ECON-026contradictedrefuted → partially_confirmed—The Park value line in the finance graph is not a sum of scrap values. The graph toggle for the "Park value" legend entry (UITEXT 0xa3, control 0x12279) selects the period-history series at park-world offset 0x1fc90. That series is a per-period accumulator that is increased only when money is credited to the bank account: the generic bank deposit routine, the loan-related credit routine, the ride/sale income routine (which also feeds the "Money in" series), and the loan-acceptance deposit. Each Settled in the oracle (ORACLE.md F29): 0xc1d4c is executed. Per object that is not condemned it adds the costs of the levels up to the current one times the state of repair byte / 100, and over the 128 × 128 cells without the unowned flag 0x40 it adds 2 for type 0, 3 for type 1, 5 for type 3 or 9 (+1 for 9), 1 for type 2 and for type 10, and 50 for a cell with a track record (the predicate that would give 10 never holds). The result is cached (0xc9020) per four-turn window and pushed into the Park value series each month. The scrap values play no part.
ECON-027contradictedsurvived (contradicted)read: contradicted (park rating = sum of capped counts: guests/50 up to 20, attraction and facility categories; no happiness or cleanliness)The "Park rating" shown in the graph and the end-of-year panel is a raw 0-100 sample written by FUN_100c7b24. That function does not use guest happiness, cleanliness or litter at all. It sums capped head-counts: guests in park divided by 50 (max 20), subtype-0 attractions times 1.5 (max 20), and further attraction and facility category counts (max 10 each, or 4 each for the last five). The sample is pushed unchanged into the park's ring history for series offset 0x213b0. The series is toggled by Settled in the oracle (ORACLE.md F29): 0xc7b24 is executed with its real count helpers. The sub-kind is the type's Info.WhichUIType (+1960: 0 ride, 1 shop, 2 sideshow, 3 feature; the shipped add-ons declare 0 and count as rides), the visitor term is the census of guests on cells of type 0, 1, 3, 9 or 10 (cut at 1,000), and a staff member counts only with the byte +3 clear.
ECON-028partially_confirmedrefuted → partially_confirmed—The original has a balance check in the build and placement path, but it is not a single purchase gate and the debit itself never checks the balance. Both checks run only when the economy flag at +0x24 of the game object is zero. (1) The build-mode selector (FUN_10082ac4, modes 1 and 3) reads the bank balance (CBankAccount +0xc) and refuses to select the mode when the balance is below the mode cost (cost globals filled by FUN_1010f29c from a level-config record, values such as Costs.PathCell 20
ECON-029partially_confirmedrefuted → partially_confirmed—Buying a ride or shop whose ticket cost (object field +0xc4, the GoldenTicketCost key) is above zero, and that the park does not already own, debits golden tickets instead of cash. The ticket count is earned minus spent. The purchase is allowed only when the cost is at most the available tickets (earned minus spent). On success the cost is added to the spent counter (park +0x1c) and the item is added to the owned set (+0x28). Cash is not debited on that path. Already-owned items and items with c
ECON-034contradictedrefuted → partially_confirmed—The original never reads Challenges.sam comments. Its .sam text parser skips any line whose first non-blank character is '#' (no entry is parsed from it). The challenge loader parses data:challenges.sam with that parser and stores Type as a number. Completion checks then dispatch on that number through a 34-entry handler table (index bounded to 0..0x21), so a type's meaning lives in the binary's handler code and table. The comment texts ("Sell 30 Drinks" etc.) do not occur in the binary's string
ECON-036partially_confirmedrefuted → partially_confirmed—Challenge completion is a per-type handler table (34 entries, read from the PEF data section; table pointer at 0x101ef004 resolves to 0x1022c794). Type 28 (upgrade a ride to a level) passes when the challenge's stored TargetVal (2 in Challenges.sam) is less than or equal to the highest level byte (+0x4c) among rides with the target object id. The threshold comes from TargetVal, not a constant 3. Types 30 and 31 (build or research-and-build) share one handler that only tests whether the build cou
ECON-037contradictedrefuted → contradicted—The staff skill shown in the staff panel bar and in the staff list is the integer part of a float value: 20.0 times (grade + training percent / 100), where grade is the staff member's pay grade (+0x1e4) and the percent is the byte at +0x1e8 (mPercentageThroughGrade). The result is fed through a clamp helper whose table is 0, 2^31, 2^32, so below 2^31 the helper returns the integer value. The caller scales that integer by 1024/100 for the bar, so the integer is the displayed percent. Therefore sk
ECON-038partially_confirmedsurvived (partially_confirmed)anchors checkedThe original has four global golden-ticket awards, decided in FUN_100d34c0 by comparing four threshold fields of one config struct (offsets 0x76c, 0x770, 0x774, 0x77c). Index 3 is the only cell-based award, labelled "Global ticket award big park", and it counts map squares with FUN_100c8cc0 against field 0x77c. No camera-coverage award appears in the global award path. Which sam key feeds 0x77c is not proven.
ECON-039contradictedrefuted → contradicted—The original keeps one signed running total for the year in the bank object (field at offset 0x124, saved as mProfitThisYear). It is not a window over the last 12 closed months: there is no per-month history for profit. The total is raised by income and deposits, lowered by withdrawals and loan instalments, and set back to zero when the bank receives message type 13. Message 13 is sent by a timed-event sender that fires only when its schedule condition is met. The claim that message 13 is the ye
ECON-040partially_confirmedrefuted → partially_confirmed—The original keeps a golden-key count per player profile. The key count is the profile's extra-key field plus the earned tickets (four global, the per-theme ones and two secret ones) divided by three, truncated. Spent tickets are not subtracted. A new profile is zeroed, so its extra-key field starts at 0, and the only code that adds to that field is a single UI command branch (+1), not profile setup. Nothing decrements the extra-key field, so the key count cannot drop when a theme is entered. Th
ECON-042partially_confirmedsurvived (partially_confirmed)anchors checkedOn a sideshow (WhichUIType 2) win, the win handler takes the object's cost-of-goods value (object offset +0x184) and charges it per win: it adds the amount to the object's cost totals (+0x180, the mTotalCosts field) and deducts it from the park-level balance at +0xc of the object returned by FUN_10108424, also recording it in a statistic. The +0x184 value is copied at object creation from the UsageInfo record entry at index 0x50, which by key-table order is InitCostOfGoods (sideshow value 30). T
ECON-043partially_confirmedsurvived (partially_confirmed)anchors checkedThe original computes a staff member's wage as the product of two table lookups with no scaling and no clamp. The per-type factor is an int at a fixed offset in the global staff-constants block, indexed by a type index 0-4 (4 bytes per entry). The per-grade factor is an int at offset 0x2ec in 16-byte per-grade records, indexed by the raw grade. The result is an integer shown in the staff list under the header "Monthly Wage" (UITEXT 0x67) and in the hire-candidate list under "Monthly Wage" (UITEX
ECON-044contradictedrefuted → partially_confirmed—In the original, guests do carry balloons. A shop-use routine (FUN_100d5d2c) writes a balloon value into the guest record at offset 0x210 when a balloon item is handed out, taken from a game-wide setting. The count of in-park guests holding a balloon is computed live (FUN_100c3bec, which counts guests with a nonzero 0x210 field that are in the park). Advisor congratulation checks compare that live count against thresholds (CongratBalloons.MoreThan = 20 in Advisor.sam; FUN_100129a4 applies the th
ECON-046contradictedsurvived (contradicted)read: contradicted (upgrade purchase checks money only and queues the upgrade without a mechanic check)The buy-time upgrade path in SimThemePark never tests for mechanics. The click handler (FUN_10165d34) passes the ride id straight to FUN_10166f1c. That routine compares the ride's cost with the bank balance (FUN_100cbf48 returns the balance field). If the balance is too low it shows message 29 and refuses. If it is enough, it purchases. For an upgrade that is already a level, it calls FUN_100df928(obj,1), which only checks the object's upgrade-allowed flag (bit 4 at +0x2e), sets the object to st
RIDES-001partially_confirmedrefuted → partially_confirmed—The original drives clip frames from a wall-clock timer in milliseconds. Each animation record keeps a current frame, computed as speed times (30 times elapsed ms, divided by 1000). The 30 and 1000 are float constants stored in the program's data. Their ratio gives 30 frames per second at speed multiplier 1.0. A second helper converts remaining frames to remaining time using 1000/30 ms per frame, which confirms the same rate in the original's own code. Frames advance with clock time, not with th
RIDES-002partially_confirmedrefuted → partially_confirmed—Within one animation slot, starting a new clip replaces the clip already there: the old one is stopped and the slot takes the new AnimID and SubAnim. Across slots, the per-frame passes walk the slots in ascending index order, and the slot record holds no start serial or start-order field. The slot index is chosen by the calling script opcode (many callers pass slot 0), not derived from start order. The triage start point FUN_1003abf4 is not the slot blend: it samples a 0x38-byte track/path list
RIDES-003partially_confirmedrefuted → partially_confirmed—The original animation slot (56-byte record: Flags, AnimID, SubAnim, Start/AnimTime, NoPause time, TotalAnimFrames, AnimFrame) is advanced in FUN_100a7190. When a non-looping clip (slot Flags bit 1 clear) runs past its TotalAnimFrames, and the object state word at +4 has bits 0x18 both clear, the code calls FUN_100a67d8 with the pseudo-animation id 0xe. That path does not change AnimID or SubAnim; it sets slot Flags bits 0x4 and 0x10, resets the start time to the current clock, and sets AnimFram
RIDES-009contradictedrefuted → partially_confirmed—The original object loader (FUN_10119328) builds one settings table per object. Its first layer is the object's own main .sam, loaded with the reset flag 0, so nothing stacked earlier survives. After that it adds overlays with flag 1: the Online_ variant in game type 1 (FUN_10123f28 / FUN_10124bb8), a base-named variant found through FUN_10124a08, and the Easy_ variant in game type 2 (FUN_10124ac4). A separate table gets a conditional flag-0 load for some objects (FUN_10124cac). The loader never
RIDES-013partially_confirmedrefuted → partially_confirmed—The original's only 2D angle-rotation helper, named "MapDelta::Rotate" in its error string, is rigid for the four quarter turns. It maps 0 to the identity, 90 to (y, -x), 180 to (-x, -y) and 270 to (-y, x), with negative equivalents mapped to the same results. Any other angle logs "illegal angle" and copies the input unchanged. The helper takes only the angle and one 2-vector, with no footprint width or height, so it has no square versus non-square branch. Its 180 case therefore matches OpenTPW'
RIDES-017partially_confirmedrefuted → partially_confirmed—The original build/browse UI has four category tabs labelled All Rides, All Shops, All Sideshows and All Miscellaneous Items (UITEXT 0x4e to 0x51). Each tab sets a mode of 0, 1, 2 or 3 and asks the list builder for objects whose cached category field equals that mode: 0 rides, 1 shops, 2 sideshows, 3 features (mask 0x80 for rides, 0x200 shops, 0x100 sideshows, 0x400 features). So the 0-3 category numbering matches the Info.WhichUIType data values. The list builder adds no test for fixed items, t
RIDES-018partially_confirmedrefuted → not_found—The original does not use a single "no slope, path or land" rule as OpenTPW assumes. Its placement code tests the grid cell type before accepting a staff placement and draws an invalid-cell indicator from the same predicates. The cell types include path and land-type cells, and the data charges per cell for map, path, queue and track cells. The economy side is supported: purchases are gated by cash versus cost in the ride/shop UI state code. What is not established is that the ride build path (P
RIDES-023contradictedrefuted → partially_confirmed—The original has no edge-triggered "cycle completed" event tied to script variable 9 (VAR_RUNNING). Native code only ever reads that variable as a level (nonzero means running), for per-tick wear/progress and for admission gating. Nothing native counts 1-to-0 transitions. The native cycle end is a count-based event: each ride record keeps a counter of active cars/things launched (capped by a capacity field and at 0x40). When the last one finishes, the native update logs "Ride Over - reset to loa
RIDES-024contradictedrefuted → partially_confirmed—The original has no bonus-archive merge. The theme's object catalog is built by FUN_101183e8, which clears the existing list and then scans fixed category directories (Rides, Features, Upgrades, Shops, Sideshow) through FUN_10118f98. FUN_10118f98 calls FUN_10119328 once per object file. FUN_10119328 reads a short id from offset 8 of the new record and checks the existing list for an earlier entry with the same id. That check only decides which display name the new object gets: it either copies t
RIDES-025partially_confirmedrefuted → partially_confirmed—The original bonus archives carry one text entry per language, named after the language (american.txt, english.txt, German.txt and the rest). Each is UTF-16 with a byte order mark and NAME, SIGNA and SIGNB sections, and stored refpack-compressed inside the wad. In the sampled archive bushiv3.wad the American and English entries both give the name "Leafy Bush" and the German entry gives "Blattbusch". The data side of OpenTPW's assumption is confirmed. The resolver that chooses among these files
RIDES-028contradictedrefuted → partially_confirmed—The original never swaps a non-walkable object access cell for a nearby walkable path cell. Each ride gets its stand (queue/entry) and exit points from fixed per-object SAM offsets applied to the object's own cell and rotation (FUN_100de1d8). Peeps walk to those fixed points; if the exit cannot be reached the game logs "SetDest on ride exit failed, exit of object %d is blocked!" and keeps the object's cell. Queue ends use the object's stored back-of-queue cell. FUN_100dd744 only checks whether t
UI-002contradictedrefuted → partially_confirmed—The original does not pick a font tier from a logical scale. The font loader (FUN_1011e418) reads a discrete resolution setting and maps it to one of four font tiers (0 to 3), each loading its own set of font resources by ID. The inputs are integers: a Res.RESOLUTION override value at field +0xc of one settings object, and the Options screen Resolution index at field +4 of the config object. If the override is below 1, the Options index is used directly (0 to 3, with 3 also catching larger value
UI-006partially_confirmedrefuted → partially_confirmed—The main executable draws UI text through per-widget draw routines (reached via a dispatch table at 101f38xx-101f3axx, not direct calls). Four of them call UseReColour with a 4-byte ARGB colour: (a) the plain text routine FUN_1014259c uses opaque white (ff ff ff ff) unless a per-widget flag is zero-set otherwise; (b) FUN_10143ee0 uses either the font's own pre-coloured glyphs or an opaque colour built from three per-widget RGB bytes at widget offsets 0x48-0x4a, so the colour is data-driven, not
UI-007contradictedrefuted → partially_confirmed—The original's UI text path draws each string once, with no second copy at a one-pixel offset. The control draw FUN_1015e2a0 calls FUN_1014160c, which calls FUN_10141068. FUN_10141068 makes a single TbTextFormatter Draw call, with the same rect and no offset. FUN_1014259c (the sprite-text callback) also makes one Draw call. The only shadow-like double draw found is in a different sprite-text routine, FUN_10144724. It draws a 0x80 grey copy of the text with its rect moved 2 units left and 2 units
UI-013contradictedrefuted → partially_confirmed—The original does not size these windows in code. The window frames are authored models in ui.wad, drawn on the 2048x1536 virtual canvas (the dialog root rectangle is 0..0x7ff by 0..0x5ff in the Mac code). The frame models OpenTPW uses are w_med (options) and w_dialog (message box). Decoded from ui.wad, w_med's root mesh sits at its authored place and is about 1552.1 x 977.1 canvas units, centred near (1024.0, 518.6) with y down. w_dialog is about 1016.6 x 597.6, centred near (1008.0, 531.6). Op
UI-017contradictedrefuted → partially_confirmed—The lobby parser stores ISLANDFOV as a float at lobby struct +4 and SPINSPEED at +8. Per frame, a lobby camera update adds SPINSPEED times a per-frame time value (lobby object +8) to a view angle at +0x18, wrapping it modulo a TOC constant. The struct's +4 value is copied into the view object's +4, and the projection path uses that value as the third argument of CMatrix::Projection and as the input to CGamut::Init, which takes the tangent of a half angle converted from the value. So ISLANDFOV is
UI-019contradictedrefuted → not_found—The original never writes a default island camera position. The lobby camera parser (FUN_10097bac) stores ISLANDCAMERAPOSITION(index,x,y) values only when such a line is present, for index 0..9, into a 0x6c-byte object that the loader FUN_1008cfb0 allocates with no initialization of the per-island x and y slots. No 400.0 or 200.0 float constant (0x43c80000 or 0x43480000) appears in any corpus file, and no integer 200/400 arithmetic appears in camera code. So the original has no (400 + index*200,
UI-023partially_confirmedrefuted → partially_confirmedsession-origin hypothesis refuted by bounded operandsThe park date uses mFunnyTimeStart at calendar+0, freshly set to 2000-01-01, plus unsigned64(rate × world turn / 4) seconds. mSessionStart at +8 holds host local time and is saved/read independently; it is not the date-conversion base. Setter destinations r4=calendar+0 (0x100E434C), r4=calendar+8 (0x100E3CEC) and timestamp-add receiver r4=calendar+0 (0x100E4430) prove the field distinction. World turn +0x1DA70C and default rate15000 yield3750 virtual seconds per turn; runtime clock/cadence and Windows behavior remain separate qualifications.SimThemePark 0x100E3C90, 0x100E4348, 0x100E4394
UI-026partially_confirmedrefuted → partially_confirmed—The original has a preview-mesh convention. Ride wad files carry a P-prefixed mesh per object (for example Pcoaster1.md2 in levels/jungle/rides/coaster1.wad). The mesh loader FUN_100594c8 adds a lowercase "p%s" name and loads it as a second mesh when flag 0x20000 is set, and FUN_10058a3c appends ".md2" to that name. The sam data gives the preview as the "main loop" animation (type "m", anim number 1), not as a stated turn rate. The 0.8 rad/s turn, the 30 degree tilt, the orthographic CPU project
UI-027partially_confirmedrefuted → partially_confirmed—The original never picks the park with a mesh ray in the input path I traced. A left press is delivered to the park view's message handler as a mouse-down code (0x10005) with the pixel position. The position is scaled from the window size into a 2048 by 1536 virtual space and then clamped. The hover cell is stored as a 1-based index, index = x + 128*y + 1, in a view-state field at +0x24. The default-mode logic reads that hovered cell, looks up the cell's occupant record in a per-cell table (stri
UI-030partially_confirmedsurvived (partially_confirmed)partial: one cited function is not in the cited program; tooltip default traced, volume defaults come from sound.samThe options object's default initializer (FUN_10125b7c, called from the options static-init FUN_10127820) sets the popup/tooltip flag byte at offset +0x36 to 1, so tooltips default ON. It also sets the tutorial, confirm-delete, RMB-cancel and isometric bytes to 1. The four volume defaults are not written as literal 8s. They are copied from fields +0x38, +0x3c, +0x40 and +0x44 of a separate table object (global pointer 101ec828) into the volume slots at +0x14 (SFX), +0x1c (music), +0x24 (speech)
UI-031partially_confirmedsurvived (partially_confirmed)not accepted: help text only (UIHELPTEXT 440), no code tracedThe original's build prompt for placing an item says a plain click builds the item, and that holding Cmd and clicking is what builds more than one. The sibling detail-view prompt uses the same pattern for buying: Cmd-hold is needed to buy another. So a single placement is the default, and repeat placement is an explicit modifier. The help text does not say what happens to the tool after the one placement (whether it returns to the menu), and the code that owns purchase, guest linkage and scrap c
UI-032partially_confirmedrefuted → partially_confirmed—The original's text layout wraps greedily within the control width. The TbTextFormatter layout (LayoutLines) fills each line and, on overflow, breaks at the last break opportunity before the overflowing character (a space or a line break character), or after the overflowing character when the word has no break opportunity. Text controls take their font from a per-control style index stored in the control (byte at +0xe0), and the draw and measure callbacks do not compare the text width against th

Not found in round 3: ADVISOR-002, ADVISOR-003, ADVISOR-004, ADVISOR-005, COMPAT-007, COMPAT-008, ECON-004, ECON-025, ECON-030, ECON-041, ONLINE-002, RIDES-010, RIDES-011, RIDES-012, RIDES-016, RIDES-021, UI-001, UI-003, UI-004, UI-008, UI-009, UI-010, UI-011, UI-014, UI-016, UI-020, UI-021, UI-025, UI-029.

Review while implementing (main session)#

While implementing the traced rules, the main session re-read the cited code and found two corrections.

Implemented from the trace#

These rules now run in OpenTPW, each with a [BIN:STP-PPC:…] tag at its code site and a test:

RuleWhat OpenTPW does nowMac address
ADVISOR-001 (part)Mouth node rand() % 5 + 1 every 100 ms of speech, node 1 while silent0x10007434
ECON-046Upgrades are queued without a mechanic on the staff0x10166F1C
ECON-017Research takes the first open item in table order; cost is not compared0x100F0EF0
ECON-027Park rating = capped counts of guests, attractions and staff0x100C7B24
ECON-033Golden tickets checked every 100 turns, Full Simulation only0x100D67F0
ECON-005Loans received count as money in (graph series +0x1FC90)0x100CC904
ECON-011Staff pool refills by each role's shortfall, capped, then tops up to the minimum0x100F6E24
ECON-037Staff skill = trunc(20 × (grade + training % / 100))0x100F41DC
ECON-001/002/003One turn per 248 ms; date = 2000-01-01 + turn × 3750 s through the civil calendar0x101C22E0, 0x100E4394
COMPAT-013Default detail preset by memory and processor thresholds0x10125B7C
COMPAT-003 (part).sgn read in the loader's layout; a line is coloured by its colour block, or not drawn in mode 00x100ABA40, 0x100ABF14
ECON-039The profit ticket reads the year's running profit, reset by the year event0x100CBF50, 0x100CC120
ECON-029The first copy of a ticket object costs tickets and no cash0x100DA874
ECON-042, ECON-043Confirmed through the descriptor schema (cost of goods per win; wage product)0x100EAAF8, 0x100F46BC
ECON-015/016Research every 20 turns per researcher with the work load; cumulative group opener0x100F0DF0, 0x100F15B4

Still open, with the reason:

Source: docs/reverse/APPROX-TRACE.md in the project repository.