{"type": "func", "start": 5073136, "end": 5073200, "name": "DialogLayer::animateInRandomSide", "pseudocode": "// \n// DialogLayer::animateInRandomSide from 0x4d68f0 to 0x4d6930 (64 bytes)\n// \n// 28 xrefs:\n// > CreatorLayer::onMultiplayer @ 0x3aa6ee\n// > CreatorLayer::onSecretVault @ 0x3aab70\n// > CreatorLayer::onTreasureRoom @ 0x3aae18\n// > CreatorLayer::onOnlyFullVersion @ 0x3ab18a\n// > GJGarageLayer::onRewardedVideo @ 0x40271a\n// > LevelPage::onTheTower @ 0x4088fe\n// > OptionsLayer::onSecretVault @ 0x4219fc\n// > RetryLevelLayer::onRewardedVideo @ 0x436260\n// > GauntletSelectLayer::onPlay @ 0x4d6ce0\n// > GJShopLayer::didPurchaseItem @ 0x4e1b66\n// > GJShopLayer::showReactMessage @ 0x4e25e4\n// > GJShopLayer::showReactMessage @ 0x4e2a44\n// > SecretLayer2::onSecretLevel @ 0x4eac06\n// > SecretLayer3::showUnlockDialog @ 0x4eadfa\n// > SecretLayer2::onDoor @ 0x4edfc2\n// > WorldSelectLayer::showCompleteDialog @ 0x4fc7bc\n// > FollowRewardPage::onRewardedVideo @ 0x4ffb7a\n// > CharacterColorPage::onMode @ 0x56503c\n// > LevelAreaLayer::showDialog @ 0x56b67c\n// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x56b8ac\n// > SecretRewardsLayer::showLockedChest @ 0x58548c\n// > SecretRewardsLayer::onSpecialItem @ 0x5859d0\n// > SecretRewardsLayer::onSelectItem @ 0x585cb0\n// > SecretRewardsLayer::onGoldChest @ 0x58740a\n// > SecretRewardsLayer::showDialog01 @ 0x587d64\n// > SecretRewardsLayer::showDialog03 @ 0x5886c6\n// > SecretRewardsLayer::showDialogMechanic @ 0x588f20\n// > SecretRewardsLayer::showDialogDiamond @ 0x58959c\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 DialogLayer::animateInRandomSide(DialogLayer *a1)\n{\n  float v2; // s15\n  DialogLayer *v3; // r0\n  DialogAnimationType v4; // r1\n\n  v2 = vcvts_n_f32_s32(rand(), 0x1Fu);\n  if ( v2 <= 0.66 )\n  {\n    v3 = a1;\n    if ( v2 <= 0.33 )\n      v4 = FromCenter;\n    else\n      v4 = FromRight;\n  }\n  else\n  {\n    v3 = a1;\n    v4 = FromLeft;\n  }\n  DialogLayer::animateIn(v3, v4);\n}", "assembly": "; \n; DialogLayer::animateInRandomSide from 0x4d68f0 to 0x4d6930 (64 bytes)\n; \n; 28 xrefs:\n; > CreatorLayer::onMultiplayer @ 0x3aa6ee\n; > CreatorLayer::onSecretVault @ 0x3aab70\n; > CreatorLayer::onTreasureRoom @ 0x3aae18\n; > CreatorLayer::onOnlyFullVersion @ 0x3ab18a\n; > GJGarageLayer::onRewardedVideo @ 0x40271a\n; > LevelPage::onTheTower @ 0x4088fe\n; > OptionsLayer::onSecretVault @ 0x4219fc\n; > RetryLevelLayer::onRewardedVideo @ 0x436260\n; > GauntletSelectLayer::onPlay @ 0x4d6ce0\n; > GJShopLayer::didPurchaseItem @ 0x4e1b66\n; > GJShopLayer::showReactMessage @ 0x4e25e4\n; > GJShopLayer::showReactMessage @ 0x4e2a44\n; > SecretLayer2::onSecretLevel @ 0x4eac06\n; > SecretLayer3::showUnlockDialog @ 0x4eadfa\n; > SecretLayer2::onDoor @ 0x4edfc2\n; > WorldSelectLayer::showCompleteDialog @ 0x4fc7bc\n; > FollowRewardPage::onRewardedVideo @ 0x4ffb7a\n; > CharacterColorPage::onMode @ 0x56503c\n; > LevelAreaLayer::showDialog @ 0x56b67c\n; > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x56b8ac\n; > SecretRewardsLayer::showLockedChest @ 0x58548c\n; > SecretRewardsLayer::onSpecialItem @ 0x5859d0\n; > SecretRewardsLayer::onSelectItem @ 0x585cb0\n; > SecretRewardsLayer::onGoldChest @ 0x58740a\n; > SecretRewardsLayer::showDialog01 @ 0x587d64\n; > SecretRewardsLayer::showDialog03 @ 0x5886c6\n; > SecretRewardsLayer::showDialogMechanic @ 0x588f20\n; > SecretRewardsLayer::showDialogDiamond @ 0x58959c\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            {R4,LR}                                                ; +0x0, 0x4d68f0\nMOV             R4, R0                                                 ; +0x2, 0x4d68f2\nBLX             rand                                                   ; +0x4, 0x4d68f4\nVLDR            S14, =0.66                                             ; +0x8, 0x4d68f8\nVMOV            S15, R0                                                ; +0xc, 0x4d68fc\nVCVT.F32.S32    S15, S15, #0x1F                                        ; +0x10, 0x4d6900\nVCMPE.F32       S15, S14                                               ; +0x14, 0x4d6904\nVMRS            APSR_nzcv, FPSCR                                       ; +0x18, 0x4d6908\nBLE             loc_4D6914                                             ; +0x1c, 0x4d690c\nMOV             R0, R4                                                 ; +0x1e, 0x4d690e\nMOVS            R1, #2                                                 ; +0x20, 0x4d6910\nB               loc_4D6928                                             ; +0x22, 0x4d6912\nVLDR            S14, =0.33                                             ; +0x24, 0x4d6914\nMOV             R0, R4                                                 ; +0x28, 0x4d6918\nVCMPE.F32       S15, S14                                               ; +0x2a, 0x4d691a\nVMRS            APSR_nzcv, FPSCR                                       ; +0x2e, 0x4d691e\nITE GT                                                                 ; +0x32, 0x4d6922\nMOVGT           R1, #3                                                 ; +0x34, 0x4d6924\nMOVLE           R1, #1                                                 ; +0x36, 0x4d6926\nPOP.W           {R4,LR}                                                ; +0x38, 0x4d6928\nB.W             _ZN11DialogLayer9animateInE19DialogAnimationType; DialogLayer::animateIn(DialogAnimationType) ; +0x3c, 0x4d692c", "xrefs": ["CreatorLayer::onMultiplayer @ 0x3aa6ee", "CreatorLayer::onSecretVault @ 0x3aab70", "CreatorLayer::onTreasureRoom @ 0x3aae18", "CreatorLayer::onOnlyFullVersion @ 0x3ab18a", "GJGarageLayer::onRewardedVideo @ 0x40271a", "LevelPage::onTheTower @ 0x4088fe", "OptionsLayer::onSecretVault @ 0x4219fc", "RetryLevelLayer::onRewardedVideo @ 0x436260", "GauntletSelectLayer::onPlay @ 0x4d6ce0", "GJShopLayer::didPurchaseItem @ 0x4e1b66", "GJShopLayer::showReactMessage @ 0x4e25e4", "GJShopLayer::showReactMessage @ 0x4e2a44", "SecretLayer2::onSecretLevel @ 0x4eac06", "SecretLayer3::showUnlockDialog @ 0x4eadfa", "SecretLayer2::onDoor @ 0x4edfc2", "WorldSelectLayer::showCompleteDialog @ 0x4fc7bc", "FollowRewardPage::onRewardedVideo @ 0x4ffb7a", "CharacterColorPage::onMode @ 0x56503c", "LevelAreaLayer::showDialog @ 0x56b67c", "LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x56b8ac", "SecretRewardsLayer::showLockedChest @ 0x58548c", "SecretRewardsLayer::onSpecialItem @ 0x5859d0", "SecretRewardsLayer::onSelectItem @ 0x585cb0", "SecretRewardsLayer::onGoldChest @ 0x58740a", "SecretRewardsLayer::showDialog01 @ 0x587d64", "SecretRewardsLayer::showDialog03 @ 0x5886c6", "SecretRewardsLayer::showDialogMechanic @ 0x588f20", "SecretRewardsLayer::showDialogDiamond @ 0x58959c"], "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"}