Skip to content

Commit 4dc1d36

Browse files
committed
Updated SDKtoGhidra results with latest pull request
1 parent 6f1fc01 commit 4dc1d36

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

SDKtoGhidra/GhidraScript/ImportSporeSDK.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ private boolean setSignature(Function func, FunctionSignature signature,
313313
CompilerSpec compilerSpec = currentProgram.getCompilerSpec();
314314
String conventionName = getCallingConvention(func, signature, compilerSpec);
315315

316-
func.setCustomVariableStorage(true);
316+
func.setCustomVariableStorage(true);
317317
ParameterDefinition[] args = signature.getArguments();
318318
List<Parameter> params = createParameters(compilerSpec, conventionName, args);
319319

SDKtoGhidra/SporeGhidra_disk.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29147,6 +29147,10 @@
2914729147
<MEMBER OFFSET="0x40" DATATYPE="float" DATATYPE_NAMESPACE="/" NAME="mAmountDamageReceived" SIZE="0x4" />
2914829148
<MEMBER OFFSET="0x44" DATATYPE="float" DATATYPE_NAMESPACE="/" NAME="mAmountEnergyUsed" SIZE="0x4" />
2914929149
</STRUCTURE>
29150+
<FUNCTION_DEF NAME="Initialize" NAMESPACE="/Spore/Simulator/cScenarioPlayMode" CONVENTION="thiscall">
29151+
<RETURN_TYPE DATATYPE="void" DATATYPE_NAMESPACE="/" SIZE="0" />
29152+
<PARAMETER ORDINAL="0" DATATYPE="cScenarioPlayMode *" DATATYPE_NAMESPACE="/Spore/Simulator" NAME="this" SIZE="4" />
29153+
</FUNCTION_DEF>
2915029154
<FUNCTION_DEF NAME="SetCurrentAct" NAMESPACE="/Spore/Simulator/cScenarioPlayMode" CONVENTION="thiscall">
2915129155
<RETURN_TYPE DATATYPE="void" DATATYPE_NAMESPACE="/" SIZE="0" />
2915229156
<PARAMETER ORDINAL="0" DATATYPE="cScenarioPlayMode *" DATATYPE_NAMESPACE="/Spore/Simulator" NAME="this" SIZE="4" />
@@ -50042,6 +50046,7 @@
5004250046
<FUNCTION ADDRESS="00fc26b0" NAME="Simulator::GetPlanetTemperatureType" NAMESPACE="" DATATYPE="GetPlanetTemperatureType" DATATYPE_NAMESPACE="/Spore/Simulator" />
5004350047
<FUNCTION ADDRESS="00c8a770" NAME="Simulator::IsBinaryStar" NAMESPACE="" DATATYPE="IsBinaryStar" DATATYPE_NAMESPACE="/Spore/Simulator" />
5004450048
<FUNCTION ADDRESS="00c8a840" NAME="Simulator::IsNotStarOrBinaryStar" NAMESPACE="" DATATYPE="IsNotStarOrBinaryStar" DATATYPE_NAMESPACE="/Spore/Simulator" />
50049+
<FUNCTION ADDRESS="00f1f450" NAME="Simulator::cScenarioPlayMode::Initialize" NAMESPACE="" DATATYPE="Initialize" DATATYPE_NAMESPACE="/Spore/Simulator/cScenarioPlayMode" />
5004550050
<FUNCTION ADDRESS="00f1f260" NAME="Simulator::cScenarioPlayMode::SetCurrentAct" NAMESPACE="" DATATYPE="SetCurrentAct" DATATYPE_NAMESPACE="/Spore/Simulator/cScenarioPlayMode" />
5004650051
<FUNCTION ADDRESS="00f1f7b0" NAME="Simulator::cScenarioPlayMode::JumpToAct" NAMESPACE="" DATATYPE="JumpToAct" DATATYPE_NAMESPACE="/Spore/Simulator/cScenarioPlayMode" />
5004750052
<FUNCTION ADDRESS="004df3e0" NAME="Editors::cSpeciesManager::GetSpeciesProfile" NAMESPACE="" DATATYPE="GetSpeciesProfile" DATATYPE_NAMESPACE="/Spore/Editors/cSpeciesManager" />

SDKtoGhidra/SporeGhidra_march2017.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29147,6 +29147,10 @@
2914729147
<MEMBER OFFSET="0x40" DATATYPE="float" DATATYPE_NAMESPACE="/" NAME="mAmountDamageReceived" SIZE="0x4" />
2914829148
<MEMBER OFFSET="0x44" DATATYPE="float" DATATYPE_NAMESPACE="/" NAME="mAmountEnergyUsed" SIZE="0x4" />
2914929149
</STRUCTURE>
29150+
<FUNCTION_DEF NAME="Initialize" NAMESPACE="/Spore/Simulator/cScenarioPlayMode" CONVENTION="thiscall">
29151+
<RETURN_TYPE DATATYPE="void" DATATYPE_NAMESPACE="/" SIZE="0" />
29152+
<PARAMETER ORDINAL="0" DATATYPE="cScenarioPlayMode *" DATATYPE_NAMESPACE="/Spore/Simulator" NAME="this" SIZE="4" />
29153+
</FUNCTION_DEF>
2915029154
<FUNCTION_DEF NAME="SetCurrentAct" NAMESPACE="/Spore/Simulator/cScenarioPlayMode" CONVENTION="thiscall">
2915129155
<RETURN_TYPE DATATYPE="void" DATATYPE_NAMESPACE="/" SIZE="0" />
2915229156
<PARAMETER ORDINAL="0" DATATYPE="cScenarioPlayMode *" DATATYPE_NAMESPACE="/Spore/Simulator" NAME="this" SIZE="4" />
@@ -46683,6 +46687,7 @@
4668346687
<FUNCTION ADDRESS="00fc1f90" NAME="Simulator::GetPlanetTemperatureType" NAMESPACE="" DATATYPE="GetPlanetTemperatureType" DATATYPE_NAMESPACE="/Spore/Simulator" />
4668446688
<FUNCTION ADDRESS="00c8b5e0" NAME="Simulator::IsBinaryStar" NAMESPACE="" DATATYPE="IsBinaryStar" DATATYPE_NAMESPACE="/Spore/Simulator" />
4668546689
<FUNCTION ADDRESS="00c8b6b0" NAME="Simulator::IsNotStarOrBinaryStar" NAMESPACE="" DATATYPE="IsNotStarOrBinaryStar" DATATYPE_NAMESPACE="/Spore/Simulator" />
46690+
<FUNCTION ADDRESS="00f1f060" NAME="Simulator::cScenarioPlayMode::Initialize" NAMESPACE="" DATATYPE="Initialize" DATATYPE_NAMESPACE="/Spore/Simulator/cScenarioPlayMode" />
4668646691
<FUNCTION ADDRESS="00f1ee70" NAME="Simulator::cScenarioPlayMode::SetCurrentAct" NAMESPACE="" DATATYPE="SetCurrentAct" DATATYPE_NAMESPACE="/Spore/Simulator/cScenarioPlayMode" />
4668746692
<FUNCTION ADDRESS="00f1f3c0" NAME="Simulator::cScenarioPlayMode::JumpToAct" NAMESPACE="" DATATYPE="JumpToAct" DATATYPE_NAMESPACE="/Spore/Simulator/cScenarioPlayMode" />
4668846693
<FUNCTION ADDRESS="004df5c0" NAME="Editors::cSpeciesManager::GetSpeciesProfile" NAMESPACE="" DATATYPE="GetSpeciesProfile" DATATYPE_NAMESPACE="/Spore/Editors/cSpeciesManager" />

0 commit comments

Comments
 (0)