// // DialogLayer::animateIn from 0x140175a20 to 0x140175c75 (597 bytes) // // 23 xrefs: // > CreatorLayer::onTreasureRoom @ 0x140139178 // > DailyLevelPage::dailyStatusFailed @ 0x140170d25 // > DialogLayer::animateInRandomSide @ 0x14017586e // > DialogLayer::animateInRandomSide @ 0x1401759f9 // > GameSettingsLayer::showPracticeMusicSyncUnlockInfo @ 0x1402c8b43 // > GJGarageLayer::showUnlockPopup @ 0x140380be8 // > GJPathPage::showCantAffordMessage @ 0x1403959c2 // > GJShopLayer::showCantAffordMessage @ 0x1403b27e2 // > LevelListLayer::onClaimReward @ 0x14042e408 // > LevelPage::onSecretDoor @ 0x140446c35 // > SecretLayer2::showCompletedLevel @ 0x14057a087 // > SecretLayer3::firstInteractionStep2 @ 0x140581a08 // > SecretLayer3::firstInteractionStep4 @ 0x140581ed9 // > SecretLayer3::onClick @ 0x140583130 // > SecretLayer3::revealStep2 @ 0x140583c36 // > SecretLayer3::revealStep4 @ 0x14058435c // > SecretLayer3::revealStep5 @ 0x140584990 // > SecretLayer4::showFirstDialog @ 0x140588525 // > SecretLayer5::showFirstDialog @ 0x14058d7d6 // > SongInfoLayer::showCustomMusicUnlockInfo @ 0x140636173 // > @ 0x14089d38c // > @ 0x14089d39c // > @ 0x1409184dc // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:27:33 +0000 // struct cocos2d::CCAction *__fastcall DialogLayer::animateIn(cocos2d::CCNode *a1, __int64 a2) { int v2; // ebx const struct cocos2d::CCPoint *v4; // rax __int64 v5; // rcx float v6; // xmm2_4 __int64 *v7; // rbx float v8; // xmm1_4 __int64 v9; // rdi cocos2d::CCDirector *v10; // rax float ScreenRight; // xmm0_4 cocos2d::CCDirector *v12; // rax float ScreenTop; // xmm0_4 __int64 v14; // rax struct cocos2d::CCActionInterval *v15; // rax struct cocos2d::CCAction *v16; // rax struct cocos2d::CCActionInterval *v17; // rax struct cocos2d::CCAction *v18; // rax struct cocos2d::CCAction *result; // rax float v20; // xmm6_4 struct cocos2d::CCAction *v21; // rax float v22; // [rsp+20h] [rbp-38h] BYREF float v23; // [rsp+24h] [rbp-34h] struct __timeb64 Time; // [rsp+28h] [rbp-30h] BYREF v2 = a2; LOBYTE(a2) = 1; (*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)a1 + 336LL))(a1, a2); ftime64(&Time); *((double *)a1 + 69) = (double)Time.millitm / 1000.0 + (double)SLODWORD(Time.time); if ( v2 != 1 ) { if ( v2 != 2 && v2 != 3 && (unsigned int)(v2 - 4) > 1 ) goto LABEL_15; v4 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)a1 + 70) + 200LL))(*((_QWORD *)a1 + 70)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v22, v4); if ( v2 == 2 ) { v6 = v23; v7 = *((__int64 **)a1 + 70); v8 = -191.0; v9 = *v7; } else { if ( v2 == 3 ) { v9 = **((_QWORD **)a1 + 70); v10 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v5); ScreenRight = cocos2d::CCDirector::getScreenRight(v10); v6 = v23; v8 = (float)(ScreenRight + 190.0) + 1.0; } else { if ( v2 != 4 ) { LABEL_13: v15 = cocos2d::CCMoveTo::create(0.5, (const struct cocos2d::CCPoint *)&v22); v16 = cocos2d::CCEaseElasticOut::create(v15, 0.60000002); cocos2d::CCNode::runAction(*((cocos2d::CCNode **)a1 + 70), v16); goto LABEL_15; } v9 = **((_QWORD **)a1 + 70); v12 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v5); ScreenTop = cocos2d::CCDirector::getScreenTop(v12); v8 = v22; v6 = (float)(ScreenTop + 50.0) + 1.0; } v7 = *((__int64 **)a1 + 70); } cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&Time, v8, v6); (*(void (__fastcall **)(__int64 *, __int64))(v9 + 184))(v7, v14); goto LABEL_13; } (*(void (__fastcall **)(_QWORD))(**((_QWORD **)a1 + 70) + 160LL))(*((_QWORD *)a1 + 70)); v17 = cocos2d::CCScaleTo::create(0.5, 1.0); v18 = cocos2d::CCEaseElasticOut::create(v17, 0.60000002); cocos2d::CCNode::runAction(*((cocos2d::CCNode **)a1 + 70), v18); LABEL_15: result = (struct cocos2d::CCAction *)(*(unsigned __int8 (__fastcall **)(__int64))(*((_QWORD *)a1 + 51) + 32LL))((__int64)a1 + 408); v20 = (float)(unsigned __int8)result; if ( v20 > 0.0 ) { (*(void (__fastcall **)(__int64, _QWORD))(*((_QWORD *)a1 + 51) + 40LL))((__int64)a1 + 408, 0); v21 = cocos2d::CCFadeTo::create(0.14, (int)v20); return cocos2d::CCNode::runAction(a1, v21); } return result; }