//
// DialogLayer::animateInRandomSide from 0x1003c8420 to 0x1003c8467 (71 bytes)
//
// 28 xrefs:
// > LevelAreaLayer::showDialog @ 0x100279774
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x10027b82a
// > CreatorLayer::onMultiplayer @ 0x1002987aa
// > CreatorLayer::onOnlyFullVersion @ 0x100298db9
// > CreatorLayer::onSecretVault @ 0x1002990e5
// > CreatorLayer::onTreasureRoom @ 0x10029963f
// > GJShopLayer::didPurchaseItem @ 0x100325b31
// > GJShopLayer::showReactMessage @ 0x100326259
// > GJShopLayer::showReactMessage @ 0x100326c1a
// > GJGarageLayer::onRewardedVideo @ 0x10036c643
// > WorldSelectLayer::showCompleteDialog @ 0x1003c2f7f
// > FollowRewardPage::onRewardedVideo @ 0x1004216e7
// > LevelPage::onTheTower @ 0x10043647b
// > SecretLayer2::onDoor @ 0x10049fcb6
// > SecretLayer2::onSecretLevel @ 0x10049fea4
// > SecretLayer3::showUnlockDialog @ 0x1004a6ddb
// > RetryLevelLayer::onRewardedVideo @ 0x1004f95e7
// > GauntletSelectLayer::onPlay @ 0x100572d2f
// > SecretRewardsLayer::onGoldChest @ 0x1006326d7
// > SecretRewardsLayer::onSpecialItem @ 0x100632fb5
// > SecretRewardsLayer::showLockedChest @ 0x1006332c8
// > SecretRewardsLayer::onSelectItem @ 0x100634aea
// > SecretRewardsLayer::showDialog01 @ 0x1006362a5
// > SecretRewardsLayer::showDialog03 @ 0x1006379d3
// > SecretRewardsLayer::showDialogMechanic @ 0x100638f67
// > SecretRewardsLayer::showDialogDiamond @ 0x100639e6a
// > CharacterColorPage::onMode @ 0x10065d99d
// > OptionsLayer::onSecretVault @ 0x10079b089
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall DialogLayer::animateInRandomSide(DialogLayer *a1)
{
float v1; // xmm0_4
DialogAnimationType v2; // esi
v1 = (float)rand() * 4.6566129e-10;
v2 = FromLeft;
if ( v1 <= 0.66000003 )
v2 = 2 * (v1 > 0.33000001) + 1;
DialogLayer::animateIn(a1, v2);
}