// // DialogLayer::updateChatPlacement from 0x1003c7cf0 to 0x1003c7db9 (201 bytes) // // 49 xrefs: // > PlayLayer::destroyPlayer @ 0x1000ba772 // > DailyLevelPage::dailyStatusFailed @ 0x100231cd0 // > LevelAreaLayer::showDialog @ 0x10027976c // > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x10027b822 // > CreatorLayer::onMultiplayer @ 0x1002987a2 // > CreatorLayer::onOnlyFullVersion @ 0x100298db1 // > CreatorLayer::onSecretVault @ 0x1002990dd // > CreatorLayer::onTreasureRoom @ 0x10029949e // > CreatorLayer::onTreasureRoom @ 0x100299637 // > GameOptionsLayer::showPracticeMusicSyncUnlockInfo @ 0x1002b1b07 // > GJPathPage::showCantAffordMessage @ 0x1003016e2 // > GJShopLayer::showCantAffordMessage @ 0x100325222 // > GJShopLayer::didPurchaseItem @ 0x100325b29 // > GJShopLayer::showReactMessage @ 0x100326251 // > GJShopLayer::showReactMessage @ 0x100326c12 // > LevelListLayer::onClaimReward @ 0x10035f2b0 // > GJGarageLayer::onRewardedVideo @ 0x10036c63b // > GJGarageLayer::showUnlockPopup @ 0x10036f441 // > SecretLayer4::showFirstDialog @ 0x1003b1c3d // > SecretLayer4::showDialog @ 0x1003b32a7 // > WorldSelectLayer::showCompleteDialog @ 0x1003c2f77 // > FollowRewardPage::onRewardedVideo @ 0x1004216df // > LevelPage::onTheTower @ 0x100436473 // > LevelPage::onSecretDoor @ 0x100437241 // > SecretLayer5::showFirstDialog @ 0x10047beab // > SecretLayer5::showDialog @ 0x10047dee7 // > SecretLayer2::onDoor @ 0x10049fcae // > SecretLayer2::onSecretLevel @ 0x10049fe9c // > SecretLayer2::showCompletedLevel @ 0x1004a0872 // > SecretLayer3::onClick @ 0x1004a5a78 // > SecretLayer3::firstInteractionStep2 @ 0x1004a6407 // > SecretLayer3::firstInteractionStep4 @ 0x1004a694a // > SecretLayer3::showUnlockDialog @ 0x1004a6dd3 // > SecretLayer3::revealStep2 @ 0x1004a72aa // > SecretLayer3::revealStep4 @ 0x1004a7a4b // > SecretLayer3::revealStep5 @ 0x1004a801a // > RetryLevelLayer::onRewardedVideo @ 0x1004f95df // > GauntletSelectLayer::onPlay @ 0x100572d27 // > SongInfoLayer::showCustomMusicUnlockInfo @ 0x100601eeb // > SecretRewardsLayer::onGoldChest @ 0x1006326cf // > SecretRewardsLayer::onSpecialItem @ 0x100632fad // > SecretRewardsLayer::showLockedChest @ 0x1006332c0 // > SecretRewardsLayer::onSelectItem @ 0x100634ae2 // > SecretRewardsLayer::showDialog01 @ 0x10063629d // > SecretRewardsLayer::showDialog03 @ 0x1006379cb // > SecretRewardsLayer::showDialogMechanic @ 0x100638f5f // > SecretRewardsLayer::showDialogDiamond @ 0x100639e62 // > CharacterColorPage::onMode @ 0x10065d995 // > OptionsLayer::onSecretVault @ 0x10079b081 // // 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::updateChatPlacement(DialogLayer *a1, DialogChatPlacement a2) { cocos2d::CCLayer *m_mainLayer; // rbx float v3; // xmm0_4 float v4; // xmm1_4 float v5; // [rsp+0h] [rbp-20h] BYREF float v6; // [rsp+8h] [rbp-18h] BYREF float v7; // [rsp+Ch] [rbp-14h] cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v6); if ( a2 == Bottom ) { m_mainLayer = a1->m_mainLayer; v3 = v6 * 0.5; v4 = 70.0; } else if ( a2 == Top ) { m_mainLayer = a1->m_mainLayer; v3 = v6 * 0.5; v4 = (float)(v7 + -50.0) + -20.0; } else { if ( a2 ) return; m_mainLayer = a1->m_mainLayer; v3 = v6 * 0.5; v4 = 0.5 * v7; } sub_10028CBE0(&v5, v3, v4); ((void (__fastcall *)(cocos2d::CCLayer *, float *))m_mainLayer->setPosition)(m_mainLayer, &v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source