Updating userdata after body creation

I know how to set the userdata of a body when I'm creating it, but I need to reset that data to reflect changes in the data it points to. Calling Body->SetUserdata() compiles and runs but I get jibberish when I ask to GetUserdata(); I'm working on destroying and resizing fixtures right now, and I am avoiding destroying the body itself. I'm wondering if I have to destroy/recreate the body in order to change the body's userdata
May have just figured it out. I'm going to have multiple fixtures on a body so it seems I should set the userdata on the fixtures instead, since they will have different data. Haven't put it in yet but hopefully all goes well.
Still pulling my hair out on this one. I tried setting userdata individually for each fixture attached to the body but it comes back messed up when I try to access it. I tried setting the userdata in FixtureDef before the fixture was created:

FixtureDefinition.userData=&NewBody->Fixtures[Counter];

And tried setting it after th fixture was created:

ActualBody->CreateFixture(&FixtureDefinition);
b2Fixture* FList=ActualBody->GetFixtureList();
// Cycle through list to desired fixture(blah,blah,blah)

FList->SetUserdata(&NewBody->Fixtures[Counter]);

Casting to (void*) doesn't seem to change anything either. Also I'm still not able to update the userdata on the body itself after the initial setting. Calling SetUserdata() for the body right after creation works perfectly fine and the data comes back fine with GetUserdata, but if I alter the userdata and call SetUserdata to save the updated userdata in the body I get the same results. Numbers that are supposed to say 21.0 or whatever are coming back as -1.0373848.0 and similar seriously messed up values.

Very annoying. And the body is already created when the first successful call to SetUserdata() goes through,or else I would think it was because userdata needs to be set before body creation. Please help.
Now I think I've really got it. Just went back over everything after scouring forums and I realized that SetUserdata() fails because I'm setting it to data declared locally in the function where it is set. The initial setting sets it to data that is global, which is probably why the first setting of Userdata works fine. About to test this out but I'm pretty sure that's the problem. Hopefully this post will keep someone from making the same mistake.

Original thread: https://box2d.org/forum/viewtopic.php?t=9400