//
// DialogLayer::animateInRandomSide from 0x6095b8 to 0x6095f8 (64 bytes)
//
// 28 xrefs:
// > CreatorLayer::onOnlyFullVersion @ 0x493b16
// > CreatorLayer::onMultiplayer @ 0x493cd4
// > CreatorLayer::onSecretVault @ 0x493ef4
// > CreatorLayer::onTreasureRoom @ 0x4941ce
// > GJGarageLayer::onRewardedVideo @ 0x50c1ba
// > LevelPage::onTheTower @ 0x513910
// > OptionsLayer::onSecretVault @ 0x532872
// > RetryLevelLayer::onRewardedVideo @ 0x54750c
// > GauntletSelectLayer::onPlay @ 0x60aeea
// > GJShopLayer::didPurchaseItem @ 0x611af2
// > GJShopLayer::showReactMessage @ 0x6121b8
// > GJShopLayer::showReactMessage @ 0x61270e
// > SecretLayer2::onSecretLevel @ 0x61ba7a
// > SecretLayer3::showUnlockDialog @ 0x61cb24
// > SecretLayer2::onDoor @ 0x61e64e
// > WorldSelectLayer::showCompleteDialog @ 0x62d63e
// > FollowRewardPage::onRewardedVideo @ 0x6301f2
// > CharacterColorPage::onMode @ 0x69ded2
// > LevelAreaLayer::showDialog @ 0x6a3d4a
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x6a4034
// > SecretRewardsLayer::showDialog01 @ 0x6cb78a
// > SecretRewardsLayer::showDialog03 @ 0x6cc2d2
// > SecretRewardsLayer::showDialogMechanic @ 0x6cccb6
// > SecretRewardsLayer::showDialogDiamond @ 0x6cd43a
// > SecretRewardsLayer::showLockedChest @ 0x6cd976
// > SecretRewardsLayer::onSpecialItem @ 0x6cdb20
// > SecretRewardsLayer::onGoldChest @ 0x6cdcbc
// > SecretRewardsLayer::onSelectItem @ 0x6cde90
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:54:46 +0000
//
unsigned int __fastcall DialogLayer::animateInRandomSide(DialogLayer *this)
{
float v2; // s15
cocos2d::CCNode *v3; // r0
unsigned int v4; // r1
v2 = vcvts_n_f32_s32(rand(), 0x1Fu);
if ( v2 <= 0.66 )
{
v3 = this;
if ( v2 <= 0.33 )
v4 = 1;
else
v4 = 3;
}
else
{
v3 = this;
v4 = 2;
}
return DialogLayer::animateIn(v3, v4);
}