metadata:
{
  "callingConvention": "unknown",
  "isExternal": "false",
  "signature": "undefined FUN_008182c0(void)",
  "parameterCount": "0",
  "isThunk": "false",
  "returnType": "undefined"
}
address:
0x008182c0
sizeInBytes:
166
calleeCount:
4
offset:
1
functionName:
FUN_008182c0
startAddress:
0x008182c0
callees:
[
  {
    "address": "0x00924fb6",
    "signature": "void * operator_new(uint param_1)",
    "name": "operator_new",
    "callCount": 1
  },
  {
    "address": "0x006e18e0",
    "signature": "undefined FUN_006e18e0(void)",
    "name": "FUN_006e18e0",
    "callCount": 1
  },
  {
    "address": "0x00924faa",
    "signature": "void operator_delete(void * param_1)",
    "name": "operator_delete",
    "callCount": 1
  },
  {
    "address": "0x006e18c0",
    "signature": "undefined FUN_006e18c0(void)",
    "name": "FUN_006e18c0",
    "callCount": 2
  }
]
inputAddress:
0x008182c0
decompSignature:
void __fastcall FUN_008182c0(int param_1);
programName:
Sword of the Stars.exe
isUndefinedFunction:
false
resolvedFrom:
address/symbol
totalLines:
45
limit:
250
decompilation:
   1	
   2	void __fastcall FUN_008182c0(int param_1)
   3	
   4	{
   5	  undefined4 *puVar1;
   6	  char cVar2;
   7	  uint uVar3;
   8	  undefined4 uVar4;
   9	  undefined4 local_20;
  10	  undefined4 local_1c;
  11	  undefined4 local_18;
  12	  void *local_14;
  13	  void *local_10;
  14	  undefined1 *puStack_c;
  15	  undefined4 local_8;
  16	  
  17	  local_8 = 0xffffffff;
  18	  puStack_c = &LAB_0096f03b;
  19	  local_10 = ExceptionList;
  20	  uVar3 = DAT_00af8b78 ^ (uint)&stack0xfffffffc;
  21	  ExceptionList = &local_10;
  22	  FUN_006e18c0(uVar3);
  23	  cVar2 = FUN_006e18e0(&local_20,param_1);
  24	  if (cVar2 != '\0') {
  25	    if (*(int *)(param_1 + 0x308) == 0) {
  26	      local_14 = operator_new(0xc);
  27	      local_8 = 0;
  28	      if (local_14 == (void *)0x0) {
  29	        uVar4 = 0;
  30	      }
  31	      else {
  32	        uVar4 = FUN_006e18c0(uVar3);
  33	      }
  34	      *(undefined4 *)(param_1 + 0x308) = uVar4;
  35	    }
  36	    puVar1 = *(undefined4 **)(param_1 + 0x308);
  37	    *puVar1 = local_20;
  38	    puVar1[1] = local_1c;
  39	    puVar1[2] = local_18;
  40	    ExceptionList = local_10;
  41	    return;
  42	  }
  43	                    /* WARNING: Subroutine does not return */
  44	  operator_delete(*(void **)(param_1 + 0x308));
  45	}

totalCalleeCount:
4
parameters:
[]
endAddress:
0x00818365
