// // DialogLayer::addToMainScene from 0x1003b1530 to 0x1003b157c (76 bytes) // // 8 xrefs: // > DailyLevelPage::dailyStatusFailed @ 0x100216306 // > sub_10029EC20 @ 0x10029ee1d // > LevelListLayer::onClaimReward @ 0x10034a8c6 // > sub_100602BF0 @ 0x100602ded // > SongInfoLayer::showCustomMusicUnlockInfo @ 0x1006d9841 // > SecretRewardsLayer::onGoldChest @ 0x10070f2f5 // > SecretRewardsLayer::showLockedChest @ 0x10070fee6 // > SecretRewardsLayer::onSelectItem @ 0x100711708 // // 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 12:29:26 +0000 // __int64 __fastcall DialogLayer::addToMainScene(__int64 a1, __int64 a2) { __int64 v2; // r14 int HighestChildZ; // eax __int64 v4; // rdx v2 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector(a1, a2) + 272); HighestChildZ = cocos2d::CCScene::getHighestChildZ(v2); v4 = 1000; if ( HighestChildZ >= 1000 ) v4 = (unsigned int)cocos2d::CCScene::getHighestChildZ(v2) + 1; return (*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v2 + 464LL))(v2, a1, v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source