Function at 0x4618ec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a7b6a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0xa75c
call fcn.004a5250
mov dword [ebp - 0xa708], ecx
mov eax, dword [ebp - 0xa708]
cmp dword [eax + 0x258], 1
jne 0x461ec2
lea ecx, [ebp - 0xa49c]
call dword [sym.imp.SLXJsTools.dll_public:_void___thiscall_CGetGrid::constructor_void_]
mov dword [ebp - 4], 0
push str.SHUIGONG_RUANJIAN_SHUIZHA_V1.0
lea ecx, [ebp - 0x10]
call fcn.004a4cf0
lea ecx, [ebp - 0xa5a0]
push ecx
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0xa5a0]
push edx
push str._sLzSg_TmpFile_Dat.DAT
lea eax, [ebp - 0xa6a4]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
cmp dword [ebp + 0xc], 0
jne 0x461d11
mov ecx, dword [ebp - 0xa708]
mov edx, dword [ebp - 0xa708]
fld dword [ecx + 0x2b0]
fdiv dword [edx + 0x2ac]
fstp dword [ebp - 0xa6a8]
mov eax, dword [ebp - 0xa708]
fld dword [ebp + 0x10]
fdiv dword [eax + 0x2ac]
fstp dword [ebp - 0xa6b0]
mov ecx, dword [ebp - 0xa708]
fld dword [ebp + 0x14]
fdiv dword [ecx + 0x2ac]
fstp dword [ebp - 0xa6ac]
fld dword [ebp - 0xa6b0]
fcomp dword [0x4af54c]
fnstsw ax
test ah, 1
jne 0x4619ed
fld dword [ebp - 0xa6b0]
fcomp dword [0x4af548]
fnstsw ax
test ah, 0x41
jne 0x461a15
mov dword [ebp - 0xa6c0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa49c]
call dword [sym.imp.SLXJsTools.dll_public_virtual:_void___thiscall_CGetGrid::destructor_void_]
mov eax, dword [ebp - 0xa6c0]
jmp 0x461ed8
fld dword [ebp - 0xa6ac]
fcomp dword [0x4af0e4]
fnstsw ax
test ah, 1
jne 0x461a3b
fld dword [ebp - 0xa6ac]
fcomp dword [0x4af544]
fnstsw ax
test ah, 0x41
jne 0x461a63
mov dword [ebp - 0xa6c4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa49c]
call dword [sym.imp.SLXJsTools.dll_public_virtual:_void___thiscall_CGetGrid::destructor_void_]
mov eax, dword [ebp - 0xa6c4]
jmp 0x461ed8
fld dword [ebp - 0xa6a8]
fsub dword [0x4af124]
fcomp dword [0x4af124]
fnstsw ax
test ah, 1
je 0x461b21
push ecx
mov ecx, esp
mov dword [ebp - 0xa6c8], esp
lea edx, [ebp - 0xa6a4]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xa70c], eax
mov eax, dword [ebp - 0xa70c]
mov dword [ebp - 0xa710], eax
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0xa6cc], esp
push str.3_11_21
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xa714], eax
mov ecx, dword [ebp - 0xa714]
mov dword [ebp - 0xa718], ecx
mov byte [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0xa6d0], esp
push 0x4d3bc0
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xa71c], eax
mov byte [ebp - 4], 0
call dword [sym.imp.JsTools3D.dll_int___cdecl_SaveResouceDataToFile_class_CString__class_CString__class_CString_]
add esp, 0xc
mov dword [ebp - 0xa720], eax
cmp dword [ebp - 0xa720], 1
jne 0x461b1c
lea edx, [ebp - 0xa6a4]
push edx
lea ecx, [ebp - 0xa49c]
call dword [sym.imp.SLXJsTools.dll_public_virtual:_int___thiscall_CGetGrid::LoadData_char__]
jmp 0x461cc2
fld dword [ebp - 0xa6a8]
fsub dword [0x4af0d0]
fcomp dword [0x4af124]
fnstsw ax
test ah, 1
je 0x461bdf
push ecx
mov ecx, esp
mov dword [ebp - 0xa6d4], esp
lea eax, [ebp - 0xa6a4]
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xa724], eax
mov ecx, dword [ebp - 0xa724]
mov dword [ebp - 0xa728], ecx
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0xa6d8], esp
push str.3_11_22
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xa72c], eax
mov edx, dword [ebp - 0xa72c]
mov dword [ebp - 0xa730], edx
mov byte [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0xa6dc], esp
push 0x4d3bd0
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xa734], eax
mov byte [ebp - 4], 0
call dword [sym.imp.JsTools3D.dll_int___cdecl_SaveResouceDataToFile_class_CString__class_CString__class_CString_]
add esp, 0xc
mov dword [ebp - 0xa738], eax
cmp dword [ebp - 0xa738], 1
jne 0x461bda
lea eax, [ebp - 0xa6a4]
push eax
lea ecx, [ebp - 0xa49c]
call dword [sym.imp.SLXJsTools.dll_public_virtual:_int___thiscall_CGetGrid::LoadData_char__]
jmp 0x461cc2
fld dword [ebp - 0xa6a8]
fsub dword [0x4af540]
fcomp dword [0x4af124]
fnstsw ax
test ah, 1
je 0x461c9a
push ecx
mov ecx, esp
mov dword [ebp - 0xa6e0], esp
lea edx, [ebp - 0xa6a4]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xa73c], eax
mov eax, dword [ebp - 0xa73c]
mov dword [ebp - 0xa740], eax
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0xa6e4], esp
push str.3_11_23
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xa744], eax
mov ecx, dword [ebp - 0xa744]
mov dword [ebp - 0xa748], ecx
mov byte [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0xa6e8], esp
push 0x4d3be0
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xa74c], eax
mov byte [ebp - 4], 0
call dword [sym.imp.JsTools3D.dll_int___cdecl_SaveResouceDataToFile_class_CString__class_CString__class_CString_]
add esp, 0xc
mov dword [ebp - 0xa750], eax
cmp dword [ebp - 0xa750], 1
jne 0x461c98
lea edx, [ebp - 0xa6a4]
push edx
lea ecx, [ebp - 0xa49c]
call dword [sym.imp.SLXJsTools.dll_public_virtual:_int___thiscall_CGetGrid::LoadData_char__]
jmp 0x461cc2
mov dword [ebp - 0xa6ec], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa49c]
call dword [sym.imp.SLXJsTools.dll_public_virtual:_void___thiscall_CGetGrid::destructor_void_]
mov eax, dword [ebp - 0xa6ec]
jmp 0x461ed8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xa6b0]
push ecx
mov edx, dword [ebp - 0xa6ac]
push edx
lea ecx, [ebp - 0xa49c]
call dword [sym.imp.SLXJsTools.dll_public:_int___thiscall_CGetGrid::GetValue_float__float__float__]
test eax, eax
je 0x461d0c
mov dword [ebp - 0xa6f0], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa49c]
call dword [sym.imp.SLXJsTools.dll_public_virtual:_void___thiscall_CGetGrid::destructor_void_]
mov eax, dword [ebp - 0xa6f0]
jmp 0x461ed8
jmp 0x461ead
mov eax, dword [ebp - 0xa708]
mov ecx, dword [ebp - 0xa708]
fld dword [eax + 0x240]
fsub dword [ecx + 0x24c]
fst dword [ebp - 0xa6b8]
fdiv dword [ebp + 0x10]
fstp dword [ebp - 0xa6b4]
mov edx, dword [ebp - 0xa708]
mov eax, dword [ebp - 0xa708]
fld dword [edx + 0x24c]
fsub dword [eax + 0x248]
fstp dword [ebp - 0xa6bc]
fld dword [ebp - 0xa6b4]
fcomp dword [0x4af51c]
fnstsw ax
test ah, 1
jne 0x461da2
fld dword [ebp - 0xa6b4]
fcomp dword [0x4af53c]
fnstsw ax
test ah, 0x41
je 0x461da2
fld dword [ebp - 0xa6bc]
fcomp dword [0x4af538]
fnstsw ax
test ah, 1
jne 0x461da2
fld dword [ebp - 0xa6bc]
fcomp dword [0x4af534]
fnstsw ax
test ah, 0x41
jne 0x461dca
mov dword [ebp - 0xa6f4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa49c]
call dword [sym.imp.SLXJsTools.dll_public_virtual:_void___thiscall_CGetGrid::destructor_void_]
mov eax, dword [ebp - 0xa6f4]
jmp 0x461ed8
push ecx
mov ecx, esp
mov dword [ebp - 0xa6f8], esp
lea edx, [ebp - 0xa6a4]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xa754], eax
mov eax, dword [ebp - 0xa754]
mov dword [ebp - 0xa758], eax
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0xa6fc], esp
push str.3_11_26
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xa75c], eax
mov ecx, dword [ebp - 0xa75c]
mov dword [ebp - 0xa760], ecx
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0xa700], esp
push str.GRID
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xa764], eax
mov byte [ebp - 4], 0
call dword [sym.imp.JsTools3D.dll_int___cdecl_SaveResouceDataToFile_class_CString__class_CString__class_CString_]
add esp, 0xc
mov dword [ebp - 0xa768], eax
cmp dword [ebp - 0xa768], 1
jne 0x461e66
lea edx, [ebp - 0xa6a4]
push edx
lea ecx, [ebp - 0xa49c]
call dword [sym.imp.SLXJsTools.dll_public_virtual:_int___thiscall_CGetGrid::LoadData_char__]
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xa6bc]
push ecx
mov edx, dword [ebp - 0xa6b4]
push edx
lea ecx, [ebp - 0xa49c]
call dword [sym.imp.SLXJsTools.dll_public:_int___thiscall_CGetGrid::GetValue_float__float__float__]
test eax, eax
je 0x461ead
mov dword [ebp - 0xa704], 0xffffffff
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa49c]
call dword [sym.imp.SLXJsTools.dll_public_virtual:_void___thiscall_CGetGrid::destructor_void_]
mov eax, dword [ebp - 0xa704]
jmp 0x461ed8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa49c]
call dword [sym.imp.SLXJsTools.dll_public_virtual:_void___thiscall_CGetGrid::destructor_void_]
jmp 0x461ed3
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xa708]
mov edx, dword [ecx + 0x25c]
mov dword [eax], edx
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10