//
// DialogLayer::animateInRandomSide from 0xa70970 to 0xa709e0 (112 bytes)
//
// 29 xrefs:
// > CreatorLayer::onOnlyFullVersion @ 0x7dbea0
// > CreatorLayer::onMultiplayer @ 0x7dc0a0
// > CreatorLayer::onSecretVault @ 0x7dc434
// > CreatorLayer::onTreasureRoom @ 0x7dc78c
// > GJGarageLayer::onRewardedVideo @ 0x8bb62c
// > LevelPage::onTheTower @ 0x8c688c
// > OptionsLayer::onSecretVault @ 0x8f73dc
// > RetryLevelLayer::onRewardedVideo @ 0x918e1c
// > GauntletSelectLayer::onPlay @ 0xa73b50
// > GJShopLayer::didPurchaseItem @ 0xa7d770
// > GJShopLayer::showReactMessage @ 0xa7de30
// > GJShopLayer::showReactMessage @ 0xa7e1d0
// > SecretLayer2::onSecretLevel @ 0xa8c104
// > SecretLayer3::showUnlockDialog @ 0xa8d7f8
// > SecretLayer2::onDoor @ 0xa93a08
// > WorldSelectLayer::showCompleteDialog @ 0xaa6f64
// > FollowRewardPage::onRewardedVideo @ 0xaaaba0
// > CharacterColorPage::onMode @ 0xb51f40
// > LevelAreaLayer::showDialog @ 0xb5a710
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0xb5aa90
// > SecretRewardsLayer::showDialog01 @ 0xb9ad64
// > SecretRewardsLayer::showDialog03 @ 0xb9bee4
// > SecretRewardsLayer::showDialogMechanic @ 0xb9cc58
// > SecretRewardsLayer::showDialogDiamond @ 0xb9d934
// > SecretRewardsLayer::showLockedChest @ 0xb9e4f0
// > SecretRewardsLayer::onSpecialItem @ 0xb9e83c
// > SecretRewardsLayer::onGoldChest @ 0xb9eb58
// > SecretRewardsLayer::onSelectItem @ 0xb9ee2c
// > ??> @ 0x91888
//
// This function is hookable on this platform (idp: arm, 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 13:00:23 +0000
//
__int64 __fastcall DialogLayer::animateInRandomSide(DialogLayer *this)
{
float v2; // s0
unsigned int v3; // w1
v2 = (float)rand() * 4.6566e-10;
if ( v2 > 0.66 )
return DialogLayer::animateIn(this, 2u);
if ( v2 > 0.33 )
v3 = 3;
else
v3 = 1;
return DialogLayer::animateIn(this, v3);
}