// // DialogLayer::animateInRandomSide from 0x100087524 to 0x100087574 (80 bytes) // // 22 xrefs: // > CreatorLayer::onMultiplayer @ 0x1000b5ffc // > CreatorLayer::onSecretVault @ 0x1000b6650 // > CreatorLayer::onTreasureRoom @ 0x1000b69dc // > OptionsLayer::onSecretVault @ 0x1000ed2e4 // > CharacterColorPage::onMode @ 0x10012982c // > GJShopLayer::didPurchaseItem @ 0x10014c810 // > GJShopLayer::showReactMessage @ 0x10014cdc0 // > GJShopLayer::showReactMessage @ 0x10014d268 // > GauntletSelectLayer::onPlay @ 0x1001bfbd8 // > SecretRewardsLayer::onGoldChest @ 0x1002e9ecc // > SecretRewardsLayer::onSpecialItem @ 0x1002ea4ec // > SecretRewardsLayer::onSelectItem @ 0x1002eb670 // > SecretRewardsLayer::showDialog01 @ 0x1002ec334 // > SecretRewardsLayer::showDialog03 @ 0x1002ed150 // > SecretRewardsLayer::showDialogMechanic @ 0x1002eddd0 // > SecretRewardsLayer::showDialogDiamond @ 0x1002ee6dc // > SecretLayer2::onDoor @ 0x10030ba78 // > SecretLayer2::onSecretLevel @ 0x10030bc00 // > SecretLayer3::showUnlockDialog @ 0x100310898 // > LevelAreaLayer::showDialog @ 0x1003453c0 // > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x100346b40 // > LevelPage::onTheTower @ 0x100404c88 // // 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 v2; // s0 int v3; // w8 DialogAnimationType v4; // w1 v2 = vcvts_n_f32_s32(rand(), 0x1Fu); if ( v2 <= 0.33 ) v3 = 1; else v3 = 3; if ( v2 <= 0.66 ) v4 = v3; else v4 = FromLeft; DialogLayer::animateIn(a1, v4); }