Moin Leute
Wollte mal so ein wenig meine syserr säubern und dabei debugge ich grad meine binary um zu sehen wie jedes einzelne fehler auftretet usw und bin nun auf folgenden syserr eintrag gestolpert:
ActorInstance::ProcessMotionEventFly No Target
An sich scheint es kein schwerwiegendes problem zu sein, aber Ich hab mir mal die funktion angeschaut wo dieser eintrag zur syserr hinzugefügt wird und verstehe da nicht den sinn dahinter.
Im spoiler ist die funktion drin
PHP Code:
int __thiscall sub_4EA6F0(void *this, int a2)
{
int result; // eax@1
int v3; // esi@1
int v4; // edi@3
char v5; // ST18_1@6
float v6; // [sp+1Ch] [bp-30h]@3
float v7; // [sp+20h] [bp-2Ch]@3
float v8; // [sp+24h] [bp-28h]@3
float v9; // [sp+28h] [bp-24h]@3
float v10; // [sp+2Ch] [bp-20h]@3
float v11; // [sp+30h] [bp-1Ch]@3
float v12; // [sp+34h] [bp-18h]@3
float v13; // [sp+38h] [bp-14h]@3
float v14; // [sp+3Ch] [bp-10h]@3
float v15; // [sp+40h] [bp-Ch]@3
float v16; // [sp+44h] [bp-8h]@3
float v17; // [sp+48h] [bp-4h]@3
result = a2;
v3 = (int)this;
if ( *(_DWORD *)(a2 + 4) == 9 )
{
if ( Win95IsDebuggerPresent((int)((char *)this + 552)) )
{
v12 = *(float *)(v3 + 1096);
v13 = *(float *)(v3 + 1100);
v14 = *(float *)(v3 + 1104);
sub_4CB260(&v6);
v9 = v6 - v12;
v10 = v7 - v13;
v11 = v8 - v14;
sub_59188F(&v9, &v9);
v12 = v9 * 270.0;
v13 = v10 * 270.0;
v14 = 270.0 * v11;
v15 = v6 - v12;
v16 = v7 - v13;
v17 = v8 - v14;
v4 = sub_4BFA50();
if ( !(unsigned __int8)(*(int (__thiscall **)(int, signed int, signed int))(*(_DWORD *)v4 + 4))(
v4,
(signed int)v15,
(signed int)-v16) )
sub_4C6B70(v3, (int)&v15);
sub_4D0E60(v3, v6, v7);
result = sub_4C7130((void *)v3);
}
else
{
result = sub_53E190("ActorInstance::ProcessMotionEventFly No Target", v5);
}
}
return result;
}
Was zum teufel hat "Win95IsDebuggerPresent" mit ProcessMotionEventFly zu tun?
Bin zwar kurz davor den call auszu NOP'en aber würd trzd. gerne wissen was das so auf sich haben sollte lol
Danke im vorraus.
Legend