//
// DialogLayer::animateInRandomSide from 0x9177c0 to 0x917830 (112 bytes)
//
// 29 xrefs:
// > CreatorLayer::onMultiplayer @ 0x6caa98
// > CreatorLayer::onSecretVault @ 0x6cafa0
// > CreatorLayer::onTreasureRoom @ 0x6cb41c
// > CreatorLayer::onOnlyFullVersion @ 0x6cbc38
// > GJGarageLayer::onRewardedVideo @ 0x79073c
// > LevelPage::onTheTower @ 0x79b8f4
// > OptionsLayer::onSecretVault @ 0x7c7988
// > RetryLevelLayer::onRewardedVideo @ 0x7ee9c0
// > GauntletSelectLayer::onPlay @ 0x917ef8
// > GJShopLayer::didPurchaseItem @ 0x92afe4
// > GJShopLayer::showReactMessage @ 0x92c424
// > GJShopLayer::showReactMessage @ 0x92c7fc
// > SecretLayer2::onSecretLevel @ 0x93afa0
// > SecretLayer3::showUnlockDialog @ 0x93df5c
// > SecretLayer2::onDoor @ 0x946374
// > WorldSelectLayer::showCompleteDialog @ 0x95eb8c
// > FollowRewardPage::onRewardedVideo @ 0x963700
// > CharacterColorPage::onMode @ 0xa24cf4
// > LevelAreaLayer::showDialog @ 0xa2dbec
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0xa2e0a0
// > SecretRewardsLayer::showLockedChest @ 0xa60e74
// > SecretRewardsLayer::onSpecialItem @ 0xa618cc
// > SecretRewardsLayer::onSelectItem @ 0xa61f48
// > SecretRewardsLayer::onGoldChest @ 0xa64520
// > SecretRewardsLayer::showDialog01 @ 0xa647e4
// > SecretRewardsLayer::showDialog03 @ 0xa66584
// > SecretRewardsLayer::showDialogMechanic @ 0xa67c0c
// > SecretRewardsLayer::showDialogDiamond @ 0xa6918c
// > ??> @ 0x6bb08
//
// 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 DialogLayer::animateInRandomSide(DialogLayer *a1)
{
float v2; // s0
DialogAnimationType v3; // w1
v2 = (float)rand() * 4.6566e-10;
if ( v2 > 0.66 )
{
DialogLayer::animateIn(a1, FromLeft);
}
else
{
if ( v2 > 0.33 )
v3 = FromRight;
else
v3 = FromCenter;
DialogLayer::animateIn(a1, v3);
}
}