{"type": "func", "start": 4298933280, "end": 4298933351, "name": "DialogLayer::animateInRandomSide", "pseudocode": "// \n// DialogLayer::animateInRandomSide from 0x1003c8420 to 0x1003c8467 (71 bytes)\n// \n// 28 xrefs:\n// > LevelAreaLayer::showDialog @ 0x100279774\n// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x10027b82a\n// > CreatorLayer::onMultiplayer @ 0x1002987aa\n// > CreatorLayer::onOnlyFullVersion @ 0x100298db9\n// > CreatorLayer::onSecretVault @ 0x1002990e5\n// > CreatorLayer::onTreasureRoom @ 0x10029963f\n// > GJShopLayer::didPurchaseItem @ 0x100325b31\n// > GJShopLayer::showReactMessage @ 0x100326259\n// > GJShopLayer::showReactMessage @ 0x100326c1a\n// > GJGarageLayer::onRewardedVideo @ 0x10036c643\n// > WorldSelectLayer::showCompleteDialog @ 0x1003c2f7f\n// > FollowRewardPage::onRewardedVideo @ 0x1004216e7\n// > LevelPage::onTheTower @ 0x10043647b\n// > SecretLayer2::onDoor @ 0x10049fcb6\n// > SecretLayer2::onSecretLevel @ 0x10049fea4\n// > SecretLayer3::showUnlockDialog @ 0x1004a6ddb\n// > RetryLevelLayer::onRewardedVideo @ 0x1004f95e7\n// > GauntletSelectLayer::onPlay @ 0x100572d2f\n// > SecretRewardsLayer::onGoldChest @ 0x1006326d7\n// > SecretRewardsLayer::onSpecialItem @ 0x100632fb5\n// > SecretRewardsLayer::showLockedChest @ 0x1006332c8\n// > SecretRewardsLayer::onSelectItem @ 0x100634aea\n// > SecretRewardsLayer::showDialog01 @ 0x1006362a5\n// > SecretRewardsLayer::showDialog03 @ 0x1006379d3\n// > SecretRewardsLayer::showDialogMechanic @ 0x100638f67\n// > SecretRewardsLayer::showDialogDiamond @ 0x100639e6a\n// > CharacterColorPage::onMode @ 0x10065d99d\n// > OptionsLayer::onSecretVault @ 0x10079b089\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall DialogLayer::animateInRandomSide(DialogLayer *a1)\n{\n  float v1; // xmm0_4\n  DialogAnimationType v2; // esi\n\n  v1 = (float)rand() * 4.6566129e-10;\n  v2 = FromLeft;\n  if ( v1 <= 0.66000003 )\n    v2 = 2 * (v1 > 0.33000001) + 1;\n  DialogLayer::animateIn(a1, v2);\n}", "assembly": "; \n; DialogLayer::animateInRandomSide from 0x1003c8420 to 0x1003c8467 (71 bytes)\n; \n; 28 xrefs:\n; > LevelAreaLayer::showDialog @ 0x100279774\n; > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x10027b82a\n; > CreatorLayer::onMultiplayer @ 0x1002987aa\n; > CreatorLayer::onOnlyFullVersion @ 0x100298db9\n; > CreatorLayer::onSecretVault @ 0x1002990e5\n; > CreatorLayer::onTreasureRoom @ 0x10029963f\n; > GJShopLayer::didPurchaseItem @ 0x100325b31\n; > GJShopLayer::showReactMessage @ 0x100326259\n; > GJShopLayer::showReactMessage @ 0x100326c1a\n; > GJGarageLayer::onRewardedVideo @ 0x10036c643\n; > WorldSelectLayer::showCompleteDialog @ 0x1003c2f7f\n; > FollowRewardPage::onRewardedVideo @ 0x1004216e7\n; > LevelPage::onTheTower @ 0x10043647b\n; > SecretLayer2::onDoor @ 0x10049fcb6\n; > SecretLayer2::onSecretLevel @ 0x10049fea4\n; > SecretLayer3::showUnlockDialog @ 0x1004a6ddb\n; > RetryLevelLayer::onRewardedVideo @ 0x1004f95e7\n; > GauntletSelectLayer::onPlay @ 0x100572d2f\n; > SecretRewardsLayer::onGoldChest @ 0x1006326d7\n; > SecretRewardsLayer::onSpecialItem @ 0x100632fb5\n; > SecretRewardsLayer::showLockedChest @ 0x1006332c8\n; > SecretRewardsLayer::onSelectItem @ 0x100634aea\n; > SecretRewardsLayer::showDialog01 @ 0x1006362a5\n; > SecretRewardsLayer::showDialog03 @ 0x1006379d3\n; > SecretRewardsLayer::showDialogMechanic @ 0x100638f67\n; > SecretRewardsLayer::showDialogDiamond @ 0x100639e6a\n; > CharacterColorPage::onMode @ 0x10065d99d\n; > OptionsLayer::onSecretVault @ 0x10079b089\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x1003c8420\nmov     rbp, rsp                                                       ; +0x1, 0x1003c8421\npush    rbx                                                            ; +0x4, 0x1003c8424\npush    rax                                                            ; +0x5, 0x1003c8425\nmov     rbx, rdi                                                       ; +0x6, 0x1003c8426\ncall    _rand                                                          ; +0x9, 0x1003c8429\ncvtsi2ss xmm0, eax                                                     ; +0xe, 0x1003c842e\nmulss   xmm0, cs:dword_100815710                                       ; +0x12, 0x1003c8432\nxor     eax, eax                                                       ; +0x1a, 0x1003c843a\nucomiss xmm0, cs:dword_10081AE18                                       ; +0x1c, 0x1003c843c\nsetnbe  al                                                             ; +0x23, 0x1003c8443\nucomiss xmm0, cs:dword_100815D34                                       ; +0x26, 0x1003c8446\nlea     eax, [rax+rax+1]                                               ; +0x2d, 0x1003c844d\nmov     esi, 2                                                         ; +0x31, 0x1003c8451\ncmovbe  esi, eax                                                       ; +0x36, 0x1003c8456\nmov     rdi, rbx                                                       ; +0x39, 0x1003c8459\nadd     rsp, 8                                                         ; +0x3c, 0x1003c845c\npop     rbx                                                            ; +0x40, 0x1003c8460\npop     rbp                                                            ; +0x41, 0x1003c8461\njmp     DialogLayer__animateIn                                         ; +0x42, 0x1003c8462", "xrefs": ["LevelAreaLayer::showDialog @ 0x100279774", "LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x10027b82a", "CreatorLayer::onMultiplayer @ 0x1002987aa", "CreatorLayer::onOnlyFullVersion @ 0x100298db9", "CreatorLayer::onSecretVault @ 0x1002990e5", "CreatorLayer::onTreasureRoom @ 0x10029963f", "GJShopLayer::didPurchaseItem @ 0x100325b31", "GJShopLayer::showReactMessage @ 0x100326259", "GJShopLayer::showReactMessage @ 0x100326c1a", "GJGarageLayer::onRewardedVideo @ 0x10036c643", "WorldSelectLayer::showCompleteDialog @ 0x1003c2f7f", "FollowRewardPage::onRewardedVideo @ 0x1004216e7", "LevelPage::onTheTower @ 0x10043647b", "SecretLayer2::onDoor @ 0x10049fcb6", "SecretLayer2::onSecretLevel @ 0x10049fea4", "SecretLayer3::showUnlockDialog @ 0x1004a6ddb", "RetryLevelLayer::onRewardedVideo @ 0x1004f95e7", "GauntletSelectLayer::onPlay @ 0x100572d2f", "SecretRewardsLayer::onGoldChest @ 0x1006326d7", "SecretRewardsLayer::onSpecialItem @ 0x100632fb5", "SecretRewardsLayer::showLockedChest @ 0x1006332c8", "SecretRewardsLayer::onSelectItem @ 0x100634aea", "SecretRewardsLayer::showDialog01 @ 0x1006362a5", "SecretRewardsLayer::showDialog03 @ 0x1006379d3", "SecretRewardsLayer::showDialogMechanic @ 0x100638f67", "SecretRewardsLayer::showDialogDiamond @ 0x100639e6a", "CharacterColorPage::onMode @ 0x10065d99d", "OptionsLayer::onSecretVault @ 0x10079b089"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}