//
// DialogLayer::animateInRandomSide from 0x1003b1900 to 0x1003b1947 (71 bytes)
//
// 28 xrefs:
// > LevelAreaLayer::showDialog @ 0x100265d74
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x100267e2a
// > CreatorLayer::onMultiplayer @ 0x1002833ba
// > CreatorLayer::onOnlyFullVersion @ 0x100283aa9
// > CreatorLayer::onSecretVault @ 0x100284035
// > CreatorLayer::onTreasureRoom @ 0x10028458f
// > GJShopLayer::didPurchaseItem @ 0x100311241
// > GJShopLayer::showReactMessage @ 0x100311969
// > GJShopLayer::showReactMessage @ 0x10031232a
// > GJGarageLayer::onRewardedVideo @ 0x100355a63
// > WorldSelectLayer::showCompleteDialog @ 0x1003ac37f
// > sub_10040E060 @ 0x10040e347
// > LevelPage::onTheTower @ 0x100423f1b
// > SecretLayer2::onDoor @ 0x100498c86
// > SecretLayer2::onSecretLevel @ 0x100498e72
// > SecretLayer3::showUnlockDialog @ 0x10049fdab
// > RetryLevelLayer::onRewardedVideo @ 0x1004f8477
// > GauntletSelectLayer::onPlay @ 0x1005a00bf
// > SecretRewardsLayer::onGoldChest @ 0x10070f307
// > SecretRewardsLayer::onSpecialItem @ 0x10070fbe5
// > SecretRewardsLayer::showLockedChest @ 0x10070fef8
// > SecretRewardsLayer::onSelectItem @ 0x10071171a
// > SecretRewardsLayer::showDialog01 @ 0x100712ed5
// > SecretRewardsLayer::showDialog03 @ 0x100714603
// > SecretRewardsLayer::showDialogMechanic @ 0x100715b97
// > SecretRewardsLayer::showDialogDiamond @ 0x100716a9a
// > CharacterColorPage::onMode @ 0x10073cfed
// > OptionsLayer::onSecretVault @ 0x10087bcf9
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:29:26 +0000
//
__int64 __fastcall DialogLayer::animateInRandomSide(__int64 a1)
{
float v1; // xmm0_4
__int64 v2; // rsi
v1 = (float)rand() * 4.6566129e-10;
v2 = 2;
if ( v1 <= 0.66000003 )
v2 = 2 * (unsigned int)(v1 > 0.33000001) + 1;
return DialogLayer::animateIn(a1, v2);
}