; ; DialogLayer::createDialogLayer from 0x1400d3490 to 0x1400d35dd (333 bytes) ; ; 43 xrefs: ; > CharacterColorPage::onMode @ 0x140089787 ; > CreatorLayer::onMultiplayer @ 0x14009e109 ; > CreatorLayer::onSecretVault @ 0x14009ec87 ; > CreatorLayer::onTreasureRoom @ 0x14009f1ac ; > CreatorLayer::onTreasureRoom @ 0x14009f527 ; > DailyLevelPage::dailyStatusFailed @ 0x1400cfdc4 ; > GauntletSelectLayer::onPlay @ 0x1401fab02 ; > GJGarageLayer::showUnlockPopup @ 0x140278163 ; > GJPathPage::showCantAffordMessage @ 0x140287b3a ; > GameOptionsLayer::showPracticeMusicSyncUnlockInfo @ 0x1402a0057 ; > GJShopLayer::showCantAffordMessage @ 0x1402ac39a ; > GJShopLayer::didPurchaseItem @ 0x1402accba ; > GJShopLayer::showReactMessage @ 0x1402ad5c2 ; > GJShopLayer::showReactMessage @ 0x1402ae47f ; > LevelAreaLayer::showDialog @ 0x1402c54e9 ; > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x1402c7ae5 ; > LevelListLayer::onClaimReward @ 0x14030653a ; > LevelPage::onTheTower @ 0x14031c24d ; > LevelPage::onSecretDoor @ 0x14031d360 ; > LevelPage::onSecretDoor @ 0x14031d5ef ; > OptionsLayer::onSecretVault @ 0x1403732fd ; > PlayLayer::destroyPlayer @ 0x1403b450f ; > SecretRewardsLayer::onSelectItem @ 0x1403d646f ; > SecretRewardsLayer::onSpecialItem @ 0x1403d6cbc ; > SecretRewardsLayer::onGoldChest @ 0x1403d797f ; > SecretRewardsLayer::showDialog01 @ 0x1403d96bb ; > SecretRewardsLayer::showDialog03 @ 0x1403da9a4 ; > SecretRewardsLayer::showDialogMechanic @ 0x1403dbc3a ; > SecretRewardsLayer::showDialogDiamond @ 0x1403dc8ec ; > SecretLayer2::showCompletedLevel @ 0x1403e442e ; > SecretLayer2::onSecretLevel @ 0x1403e487f ; > SecretLayer2::onDoor @ 0x1403e5150 ; > SecretLayer3::firstInteractionStep2 @ 0x1403ebd0b ; > SecretLayer3::firstInteractionStep4 @ 0x1403ec278 ; > SecretLayer3::onClick @ 0x1403ed5ab ; > SecretLayer3::showUnlockDialog @ 0x1403edb6e ; > SecretLayer3::revealStep2 @ 0x1403ee124 ; > SecretLayer3::revealStep4 @ 0x1403ee923 ; > SecretLayer3::revealStep5 @ 0x1403eefed ; > SecretLayer4::showFirstDialog @ 0x1403f2c83 ; > SecretLayer5::showFirstDialog @ 0x1403f7de4 ; > SongInfoLayer::showCustomMusicUnlockInfo @ 0x1404940e2 ; > @ 0x1406c8634 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x1400d3490 mov [rsp+arg_8], rbp ; +0x5, 0x1400d3495 push rsi ; +0xa, 0x1400d349a push rdi ; +0xb, 0x1400d349b push r14 ; +0xc, 0x1400d349c sub rsp, 20h ; +0xe, 0x1400d349e mov ebx, r8d ; +0x12, 0x1400d34a2 mov rdi, rdx ; +0x15, 0x1400d34a5 mov rsi, rcx ; +0x18, 0x1400d34a8 mov ecx, 288h; Size ; +0x1b, 0x1400d34ab call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x20, 0x1400d34b0 mov r14, rax ; +0x25, 0x1400d34b5 mov [rsp+38h+arg_18], rax ; +0x28, 0x1400d34b8 mov rcx, rax ; +0x2d, 0x1400d34bd call cs:??0CCLayerColor@cocos2d@@QEAA@XZ; cocos2d::CCLayerColor::CCLayerColor(void) ; +0x30, 0x1400d34c0 lea rax, ??_7DialogLayer@@6B@; const DialogLayer::`vftable' ; +0x36, 0x1400d34c6 mov [r14], rax ; +0x3d, 0x1400d34cd lea rax, ??_7DialogLayer@@6B@_0; const DialogLayer::`vftable' ; +0x40, 0x1400d34d0 mov [r14+140h], rax ; +0x47, 0x1400d34d7 lea rax, ??_7DialogLayer@@6B@_1; const DialogLayer::`vftable' ; +0x4e, 0x1400d34de mov [r14+148h], rax ; +0x55, 0x1400d34e5 lea rax, ??_7DialogLayer@@6B@_2; const DialogLayer::`vftable' ; +0x5c, 0x1400d34ec mov [r14+150h], rax ; +0x63, 0x1400d34f3 lea rax, ??_7DialogLayer@@6B@_3; const DialogLayer::`vftable' ; +0x6a, 0x1400d34fa mov [r14+158h], rax ; +0x71, 0x1400d3501 lea rax, ??_7DialogLayer@@6B@_4; const DialogLayer::`vftable' ; +0x78, 0x1400d3508 mov [r14+160h], rax ; +0x7f, 0x1400d350f lea rax, ??_7DialogLayer@@6B@_5; const DialogLayer::`vftable' ; +0x86, 0x1400d3516 mov [r14+198h], rax ; +0x8d, 0x1400d351d lea rax, ??_7DialogLayer@@6B@_6; const DialogLayer::`vftable' ; +0x94, 0x1400d3524 mov [r14+1B0h], rax ; +0x9b, 0x1400d352b lea rax, ??_7DialogLayer@@6B@_7; const DialogLayer::`vftable' ; +0xa2, 0x1400d3532 mov [r14+220h], rax ; +0xa9, 0x1400d3539 xor ebp, ebp ; +0xb0, 0x1400d3540 mov [r14+228h], ebp ; +0xb2, 0x1400d3542 mov [r14+238h], rbp ; +0xb9, 0x1400d3549 mov [r14+240h], rbp ; +0xc0, 0x1400d3550 mov [r14+248h], rbp ; +0xc7, 0x1400d3557 mov [r14+250h], rbp ; +0xce, 0x1400d355e mov dword ptr [r14+258h], 0FFFFFFFFh ; +0xd5, 0x1400d3565 mov [r14+268h], bp ; +0xe0, 0x1400d3570 mov [r14+270h], rbp ; +0xe8, 0x1400d3578 mov [r14+278h], bpl ; +0xef, 0x1400d357f mov dword ptr [r14+27Ch], 1 ; +0xf6, 0x1400d3586 mov [r14+280h], bpl ; +0x101, 0x1400d3591 mov r9d, ebx ; +0x108, 0x1400d3598 mov r8, rdi ; +0x10b, 0x1400d359b mov rdx, rsi ; +0x10e, 0x1400d359e mov rcx, r14 ; +0x111, 0x1400d35a1 call DialogLayer__init ; +0x114, 0x1400d35a4 mov rcx, r14 ; +0x119, 0x1400d35a9 test al, al ; +0x11c, 0x1400d35ac jz short loc_1400D35BB ; +0x11e, 0x1400d35ae call cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x120, 0x1400d35b0 mov rax, r14 ; +0x126, 0x1400d35b6 jmp short loc_1400D35CA ; +0x129, 0x1400d35b9 mov r8, [r14] ; +0x12b, 0x1400d35bb mov edx, 1 ; +0x12e, 0x1400d35be call qword ptr [r8+8] ; +0x133, 0x1400d35c3 mov rax, rbp ; +0x137, 0x1400d35c7 mov rbx, [rsp+38h+arg_0] ; +0x13a, 0x1400d35ca mov rbp, [rsp+38h+arg_8] ; +0x13f, 0x1400d35cf add rsp, 20h ; +0x144, 0x1400d35d4 pop r14 ; +0x148, 0x1400d35d8 pop rdi ; +0x14a, 0x1400d35da pop rsi ; +0x14b, 0x1400d35db retn ; +0x14c, 0x1400d35dc