CLEO getAimPoint

CLEO related
PHP:
:getAimPoint
{
    0AB1: @getAimPoint 0 _Returned: camera_to 4@ 5@ 6@ point_to 7@ 8@ 9@
}
0470: 31@ = actor $PLAYER_ACTOR current_weapon
31@ *= 0x70 // BLOCK_SIZE_OFFSET
31@ += 0xC8AAB8 // CWEAPON_INFO_OFFSET
31@ += 0x8 // WEAPON_RANGE_OFFSET
0A8D: 31@ = read_memory 31@ size 4 virtual_protect 1
00A0: store_actor $PLAYER_ACTOR position_to 0@ 1@ 2@
//                                                                                                         {$4-$6}          {$7-$9}         {z}         {y}         {x}     {target range}
0AA6: call_method_Find3rdPersonCamTargetVector 0x514970 struct_CCamera 0xB6F028 num_params 6 pop 0 pPoint 0xA49970 pCamera 0xA4997C fOriginZ 2@ fOriginY 1@ fOriginX 0@ fRange 31@ 
0AB2: ret 6 $7 $8 $9 $4 $5 $6
 
Top