; ; DialogLayer::updateChatPlacement from 0x4d5dd8 to 0x4d5e94 (188 bytes) ; ; 49 xrefs: ; > PlayLayer::destroyPlayer @ 0x314236 ; > CreatorLayer::onMultiplayer @ 0x3aa6e8 ; > CreatorLayer::onSecretVault @ 0x3aab6a ; > CreatorLayer::onTreasureRoom @ 0x3aad6a ; > CreatorLayer::onTreasureRoom @ 0x3aae12 ; > CreatorLayer::onOnlyFullVersion @ 0x3ab184 ; > GJGarageLayer::onRewardedVideo @ 0x402714 ; > GJGarageLayer::showUnlockPopup @ 0x405b1e ; > LevelPage::onTheTower @ 0x4088f8 ; > LevelPage::onSecretDoor @ 0x408d24 ; > OptionsLayer::onSecretVault @ 0x4219f6 ; > SongInfoLayer::showCustomMusicUnlockInfo @ 0x42d87e ; > RetryLevelLayer::onRewardedVideo @ 0x43625a ; > GameOptionsLayer::showPracticeMusicSyncUnlockInfo @ 0x4b198e ; > DailyLevelPage::dailyStatusFailed @ 0x4d39c8 ; > GauntletSelectLayer::onPlay @ 0x4d6cda ; > GJShopLayer::didPurchaseItem @ 0x4e1b60 ; > GJShopLayer::showReactMessage @ 0x4e25de ; > GJShopLayer::showReactMessage @ 0x4e2a3e ; > GJShopLayer::showCantAffordMessage @ 0x4e47d2 ; > SecretLayer2::showCompletedLevel @ 0x4ea3fc ; > SecretLayer3::firstInteractionStep4 @ 0x4ea67e ; > SecretLayer3::revealStep2 @ 0x4ea834 ; > SecretLayer3::revealStep5 @ 0x4eaa68 ; > SecretLayer2::onSecretLevel @ 0x4eac00 ; > SecretLayer3::showUnlockDialog @ 0x4eadf4 ; > SecretLayer3::revealStep4 @ 0x4eb0cc ; > SecretLayer3::firstInteractionStep2 @ 0x4eb620 ; > SecretLayer3::onClick @ 0x4ebb3e ; > SecretLayer2::onDoor @ 0x4edfbc ; > SecretLayer4::showFirstDialog @ 0x4f00d4 ; > SecretLayer4::showDialog @ 0x4f06a6 ; > WorldSelectLayer::showCompleteDialog @ 0x4fc7b6 ; > FollowRewardPage::onRewardedVideo @ 0x4ffb74 ; > CharacterColorPage::onMode @ 0x565036 ; > LevelAreaLayer::showDialog @ 0x56b676 ; > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x56b8a6 ; > SecretRewardsLayer::showLockedChest @ 0x585486 ; > SecretRewardsLayer::onSpecialItem @ 0x5859ca ; > SecretRewardsLayer::onSelectItem @ 0x585caa ; > SecretRewardsLayer::onGoldChest @ 0x587404 ; > SecretRewardsLayer::showDialog01 @ 0x587d5e ; > SecretRewardsLayer::showDialog03 @ 0x5886c0 ; > SecretRewardsLayer::showDialogMechanic @ 0x588f1a ; > SecretRewardsLayer::showDialogDiamond @ 0x589596 ; > GJPathPage::showCantAffordMessage @ 0x58e8e6 ; > LevelListLayer::onClaimReward @ 0x58ed7a ; > SecretLayer5::showFirstDialog @ 0x59c2c4 ; > SecretLayer5::showDialog @ 0x59d9e2 ; ; 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 ; PUSH {R4-R7,LR} ; +0x0, 0x4d5dd8 SUB SP, SP, #0x1C ; +0x2, 0x4d5dda LDR R5, =(__stack_chk_guard_ptr - 0x4D5DE6) ; +0x4, 0x4d5ddc MOV R6, R1 ; +0x6, 0x4d5dde MOV R4, R0 ; +0x8, 0x4d5de0 ADD R5, PC; __stack_chk_guard_ptr ; +0xa, 0x4d5de2 LDR R5, [R5]; __stack_chk_guard ; +0xc, 0x4d5de4 LDR R3, [R5] ; +0xe, 0x4d5de6 STR R3, [SP,#0x1C+var_8] ; +0x10, 0x4d5de8 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x12, 0x4d5dea MOV R1, R0 ; +0x16, 0x4d5dee ADD R0, SP, #0x1C+var_18; this ; +0x18, 0x4d5df0 BL _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x1a, 0x4d5df2 CBNZ R6, loc_4D5E1E ; +0x1e, 0x4d5df6 VMOV.F32 S15, #0.5 ; +0x20, 0x4d5df8 LDR.W R6, [R4,#0x1C0] ; +0x24, 0x4d5dfc VLDR S14, [SP,#0x1C+var_18] ; +0x28, 0x4d5e00 ADD R4, SP, #0x1C+var_10 ; +0x2c, 0x4d5e04 LDR R3, [R6] ; +0x2e, 0x4d5e06 MOV R0, R4 ; +0x30, 0x4d5e08 LDR R7, [R3,#0x5C] ; +0x32, 0x4d5e0a VMUL.F32 S14, S14, S15 ; +0x34, 0x4d5e0c VMOV R1, S14 ; +0x38, 0x4d5e10 VLDR S14, [SP,#0x1C+var_14] ; +0x3c, 0x4d5e14 VMUL.F32 S15, S14, S15 ; +0x40, 0x4d5e18 B loc_4D5E52 ; +0x44, 0x4d5e1c CMP R6, #1 ; +0x46, 0x4d5e1e BNE loc_4D5E58 ; +0x48, 0x4d5e20 VLDR S14, =50.0 ; +0x4a, 0x4d5e22 LDR.W R6, [R4,#0x1C0] ; +0x4e, 0x4d5e26 ADD R4, SP, #0x1C+var_10 ; +0x52, 0x4d5e2a VLDR S15, [SP,#0x1C+var_14] ; +0x54, 0x4d5e2c MOV R0, R4 ; +0x58, 0x4d5e30 LDR R3, [R6] ; +0x5a, 0x4d5e32 VLDR S13, [SP,#0x1C+var_18] ; +0x5c, 0x4d5e34 LDR R7, [R3,#0x5C] ; +0x60, 0x4d5e38 VSUB.F32 S15, S15, S14 ; +0x62, 0x4d5e3a VMOV.F32 S14, #0.5 ; +0x66, 0x4d5e3e VMUL.F32 S14, S13, S14 ; +0x6a, 0x4d5e42 VMOV R1, S14 ; +0x6e, 0x4d5e46 VMOV.F32 S14, #20.0 ; +0x72, 0x4d5e4a VSUB.F32 S15, S15, S14 ; +0x76, 0x4d5e4e VMOV R2, S15 ; +0x7a, 0x4d5e52 B loc_4D5E7A ; +0x7e, 0x4d5e56 CMP R6, #2 ; +0x80, 0x4d5e58 BNE loc_4D5E84 ; +0x82, 0x4d5e5a VMOV.F32 S15, #0.5 ; +0x84, 0x4d5e5c LDR.W R6, [R4,#0x1C0] ; +0x88, 0x4d5e60 VLDR S14, [SP,#0x1C+var_18] ; +0x8c, 0x4d5e64 ADD R4, SP, #0x1C+var_10 ; +0x90, 0x4d5e68 LDR R2, flt_4D5E98; float ; +0x92, 0x4d5e6a LDR R3, [R6] ; +0x94, 0x4d5e6c MOV R0, R4; this ; +0x96, 0x4d5e6e LDR R7, [R3,#0x5C] ; +0x98, 0x4d5e70 VMUL.F32 S15, S14, S15 ; +0x9a, 0x4d5e72 VMOV R1, S15; float ; +0x9e, 0x4d5e76 BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xa2, 0x4d5e7a MOV R0, R6 ; +0xa6, 0x4d5e7e MOV R1, R4 ; +0xa8, 0x4d5e80 BLX R7 ; +0xaa, 0x4d5e82 LDR R2, [SP,#0x1C+var_8] ; +0xac, 0x4d5e84 LDR R3, [R5] ; +0xae, 0x4d5e86 CMP R2, R3 ; +0xb0, 0x4d5e88 BEQ loc_4D5E90 ; +0xb2, 0x4d5e8a BLX __stack_chk_fail ; +0xb4, 0x4d5e8c ADD SP, SP, #0x1C ; +0xb8, 0x4d5e90 POP {R4-R7,PC} ; +0xba, 0x4d5e92