.text:084B2ED2 ; int __cdecl GNET_SKILL_MANIFEST_VIRTUE_STATE(int, int)
.text:084B2ED2 public GNET_SKILL_MANIFEST_VIRTUE_STATE ; weak
.text:084B2ED2 GNET_SKILL_MANIFEST_VIRTUE_STATE proc near
.text:084B2ED2
.text:084B2ED2 var_14 = dword ptr -14h
.text:084B2ED2 var_4 = dword ptr -4
.text:084B2ED2 arg_0 = dword ptr 8
.text:084B2ED2 arg_4 = dword ptr 0Ch
.text:084B2ED2
.text:084B2ED2 push ebp
.text:084B2ED3 mov ebp, esp
.text:084B2ED5 sub esp, 8
.text:084B2ED8 sub esp, 8
.text:084B2EDB mov eax, 42C80000h
.text:084B2EE0 push eax ; float
.text:084B2EE1 push [ebp+arg_4]
.text:084B2EE4 call GNET_GetSkillVictim9
.text:084B2EE9 add esp, 4
.text:084B2EEC push eax ; param : skill id
.text:084B2EED call Calc_probability__INT_sid_
.text:084B2EF2 add esp, 10h
.text:084B2EF5 sub esp, 8
.text:084B2EF8 mov eax, 46EA6000h ; what the hell
.text:084B2EFD push eax ; pointer to static GNET action getVictim
.text:084B2EFE push [ebp+arg_4]
.text:084B2F01 call GNET_GetSkillVictim9
.text:084B2F06 add esp, 4
.text:084B2F09 push eax ; microtimestamp
.text:084B2F0A call Set_Cast_Start_Microtimestamp
.text:084B2F0F add esp, 10h ; Y U NO USE compiler optimization
.text:084B2F12 sub esp, 8
.text:084B2F15 sub esp, 4
.text:084B2F18 push [ebp+arg_4]
.text:084B2F1B call GNET_GETPlayerInfo9
.text:084B2F20 add esp, 4
.text:084B2F23 push eax ; UK... seems to be ptr to struct
.text:084B2F24 call GNET_MAXMP_PLAYERW
.text:084B2F29 add esp, 8 ; +8 byte stack pointer
.text:084B2F2C push eax ; push result maxmp
.text:084B2F2D fild [esp+14h+var_14]
.text:084B2F30 lea esp, [esp+4] ; set esp to ptr of struct (return from playerinfo)
.text:084B2F34 fld ds:dbl_8880B30
.text:084B2F3A fmulp st(1), st
.text:084B2F3C fstp [ebp+var_4]
.text:084B2F3F mov eax, [ebp+var_4]
.text:084B2F42 push eax
.text:084B2F43 push [ebp+arg_4]
.text:084B2F46 call GNET_GetSkillVictim9
.text:084B2F4B add esp, 4
.text:084B2F4E push eax
.text:084B2F4F call _ZN4GNET13PlayerWrapper8SetRatioEf ; What the hell
.text:084B2F54 add esp, 10h
.text:084B2F57 sub esp, 8
.text:084B2F5A push 1
.text:084B2F5C push [ebp+arg_4]
.text:084B2F5F call GNET_GetSkillVictim9
.text:084B2F64 add esp, 4
.text:084B2F67 push eax
.text:084B2F68 call _ZN4GNET13PlayerWrapper11SetIncmagicEb ; This confuses me to...
.text:084B2F6D add esp, 10h
.text:084B2F70 mov eax, 1
.text:084B2F75 leave
.text:084B2F76 retn
.text:084B2F76 GNET_SKILL_MANIFEST_VIRTUE_STATE endp