//
// DialogObject::create from 0x1003c6c40 to 0x1003c6d78 (312 bytes)
//
// 234 xrefs:
// > PlayLayer::destroyPlayer @ 0x1000ba707
// > DailyLevelPage::dailyStatusFailed @ 0x100231c90
// > LevelAreaLayer::showDialog @ 0x100279649
// > LevelAreaLayer::showDialog @ 0x1002796f7
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x10027b4bf
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x10027b590
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x10027b65e
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x10027b72f
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x10027b7b4
// > CreatorLayer::onMultiplayer @ 0x100298756
// > CreatorLayer::onOnlyFullVersion @ 0x100298d65
// > CreatorLayer::onSecretVault @ 0x100299091
// > CreatorLayer::onTreasureRoom @ 0x1002992a0
// > CreatorLayer::onTreasureRoom @ 0x100299360
// > CreatorLayer::onTreasureRoom @ 0x100299428
// > CreatorLayer::onTreasureRoom @ 0x1002995e5
// > GameOptionsLayer::showPracticeMusicSyncUnlockInfo @ 0x1002b1ac9
// > GJPathPage::showCantAffordMessage @ 0x100301690
// > GJShopLayer::showCantAffordMessage @ 0x1003251d0
// > GJShopLayer::didPurchaseItem @ 0x1003257e5
// > GJShopLayer::didPurchaseItem @ 0x1003258c5
// > GJShopLayer::didPurchaseItem @ 0x10032599d
// > GJShopLayer::didPurchaseItem @ 0x100325a4a
// > GJShopLayer::didPurchaseItem @ 0x100325ad2
// > GJShopLayer::showReactMessage @ 0x100325e23
// > GJShopLayer::showReactMessage @ 0x100325ef4
// > GJShopLayer::showReactMessage @ 0x100325fc3
// > GJShopLayer::showReactMessage @ 0x1003260e4
// > GJShopLayer::showReactMessage @ 0x1003261cb
// > GJShopLayer::showReactMessage @ 0x10032630f
// > GJShopLayer::showReactMessage @ 0x1003263ce
// > GJShopLayer::showReactMessage @ 0x10032659b
// > GJShopLayer::showReactMessage @ 0x10032663a
// > GJShopLayer::showReactMessage @ 0x10032670c
// > GJShopLayer::showReactMessage @ 0x1003269e7
// > GJShopLayer::showReactMessage @ 0x100326ac9
// > GJShopLayer::showReactMessage @ 0x100326bb4
// > LevelListLayer::onClaimReward @ 0x10035f270
// > GJGarageLayer::onRewardedVideo @ 0x10036c498
// > GJGarageLayer::onRewardedVideo @ 0x10036c542
// > GJGarageLayer::onRewardedVideo @ 0x10036c5e4
// > GJGarageLayer::showUnlockPopup @ 0x10036f057
// > GJGarageLayer::showUnlockPopup @ 0x10036f121
// > GJGarageLayer::showUnlockPopup @ 0x10036f1eb
// > GJGarageLayer::showUnlockPopup @ 0x10036f2a3
// > GJGarageLayer::showUnlockPopup @ 0x10036f350
// > GJGarageLayer::showUnlockPopup @ 0x10036f3dc
// > SecretLayer4::showFirstDialog @ 0x1003b19a4
// > SecretLayer4::showFirstDialog @ 0x1003b1a5e
// > SecretLayer4::showFirstDialog @ 0x1003b1b1b
// > SecretLayer4::showFirstDialog @ 0x1003b1be0
// > SecretLayer4::showDialog @ 0x1003b3048
// > SecretLayer4::showDialog @ 0x1003b30ee
// > SecretLayer4::showDialog @ 0x1003b31af
// > SecretLayer4::showDialog @ 0x1003b3240
// > SecretLayer4::showDialog @ 0x1003b3364
// > SecretLayer4::showDialog @ 0x1003b340a
// > SecretLayer4::showDialog @ 0x1003b34d7
// > SecretLayer4::showDialog @ 0x1003b356b
// > SecretLayer4::showDialog @ 0x1003b3635
// > SecretLayer4::showDialog @ 0x1003b36db
// > WorldSelectLayer::showCompleteDialog @ 0x1003c2dad
// > WorldSelectLayer::showCompleteDialog @ 0x1003c2e72
// > WorldSelectLayer::showCompleteDialog @ 0x1003c2f20
// > FollowRewardPage::onRewardedVideo @ 0x100421538
// > FollowRewardPage::onRewardedVideo @ 0x1004215e2
// > FollowRewardPage::onRewardedVideo @ 0x100421684
// > LevelPage::onTheTower @ 0x1004360d2
// > LevelPage::onTheTower @ 0x1004361b2
// > LevelPage::onTheTower @ 0x100436241
// > LevelPage::onTheTower @ 0x100436306
// > LevelPage::onTheTower @ 0x1004363c9
// > LevelPage::onSecretDoor @ 0x100436e15
// > LevelPage::onSecretDoor @ 0x100436eca
// > LevelPage::onSecretDoor @ 0x100436f4e
// > LevelPage::onSecretDoor @ 0x100437038
// > LevelPage::onSecretDoor @ 0x100437107
// > LevelPage::onSecretDoor @ 0x1004371d8
// > SecretLayer5::showFirstDialog @ 0x10047bb01
// > SecretLayer5::showFirstDialog @ 0x10047bbd6
// > SecretLayer5::showFirstDialog @ 0x10047bcba
// > SecretLayer5::showFirstDialog @ 0x10047bd84
// > SecretLayer5::showFirstDialog @ 0x10047be4e
// > SecretLayer5::showDialog @ 0x10047dc88
// > SecretLayer5::showDialog @ 0x10047dd2e
// > SecretLayer5::showDialog @ 0x10047ddef
// > SecretLayer5::showDialog @ 0x10047de80
// > SecretLayer5::showDialog @ 0x10047dfa4
// > SecretLayer5::showDialog @ 0x10047e04a
// > SecretLayer5::showDialog @ 0x10047e117
// > SecretLayer5::showDialog @ 0x10047e1ab
// > SecretLayer5::showDialog @ 0x10047e275
// > SecretLayer5::showDialog @ 0x10047e31b
// > SecretLayer2::onDoor @ 0x10049fc62
// > SecretLayer2::onSecretLevel @ 0x10049fe50
// > SecretLayer2::showCompletedLevel @ 0x10049ff96
// > SecretLayer2::showCompletedLevel @ 0x1004a005a
// > SecretLayer2::showCompletedLevel @ 0x1004a0129
// > SecretLayer2::showCompletedLevel @ 0x1004a01f4
// > SecretLayer2::showCompletedLevel @ 0x1004a02b8
// > SecretLayer2::showCompletedLevel @ 0x1004a0371
// > SecretLayer2::showCompletedLevel @ 0x1004a0447
// > SecretLayer2::showCompletedLevel @ 0x1004a04ef
// > SecretLayer2::showCompletedLevel @ 0x1004a05b2
// > SecretLayer2::showCompletedLevel @ 0x1004a0667
// > SecretLayer2::showCompletedLevel @ 0x1004a0721
// > SecretLayer2::showCompletedLevel @ 0x1004a0807
// > SecretLayer3::onClick @ 0x1004a5204
// > SecretLayer3::onClick @ 0x1004a52c8
// > SecretLayer3::onClick @ 0x1004a538c
// > SecretLayer3::onClick @ 0x1004a5461
// > SecretLayer3::onClick @ 0x1004a5546
// > SecretLayer3::onClick @ 0x1004a5611
// > SecretLayer3::onClick @ 0x1004a56cf
// > SecretLayer3::onClick @ 0x1004a578f
// > SecretLayer3::onClick @ 0x1004a586b
// > SecretLayer3::onClick @ 0x1004a593a
// > SecretLayer3::onClick @ 0x1004a5a14
// > SecretLayer3::firstInteractionStep2 @ 0x1004a6159
// > SecretLayer3::firstInteractionStep2 @ 0x1004a6216
// > SecretLayer3::firstInteractionStep2 @ 0x1004a62d6
// > SecretLayer3::firstInteractionStep2 @ 0x1004a638e
// > SecretLayer3::firstInteractionStep4 @ 0x1004a66dc
// > SecretLayer3::firstInteractionStep4 @ 0x1004a6778
// > SecretLayer3::firstInteractionStep4 @ 0x1004a6814
// > SecretLayer3::firstInteractionStep4 @ 0x1004a68d1
// > SecretLayer3::showUnlockDialog @ 0x1004a6b71
// > SecretLayer3::showUnlockDialog @ 0x1004a6c14
// > SecretLayer3::showUnlockDialog @ 0x1004a6cad
// > SecretLayer3::showUnlockDialog @ 0x1004a6d5e
// > SecretLayer3::revealStep2 @ 0x1004a70ca
// > SecretLayer3::revealStep2 @ 0x1004a7183
// > SecretLayer3::revealStep2 @ 0x1004a7234
// > SecretLayer3::revealStep4 @ 0x1004a74a4
// > SecretLayer3::revealStep4 @ 0x1004a7568
// > SecretLayer3::revealStep4 @ 0x1004a7774
// > SecretLayer3::revealStep4 @ 0x1004a784f
// > SecretLayer3::revealStep4 @ 0x1004a7916
// > SecretLayer3::revealStep4 @ 0x1004a79cc
// > SecretLayer3::revealStep5 @ 0x1004a7cb3
// > SecretLayer3::revealStep5 @ 0x1004a7d73
// > SecretLayer3::revealStep5 @ 0x1004a7e2d
// > SecretLayer3::revealStep5 @ 0x1004a7edc
// > SecretLayer3::revealStep5 @ 0x1004a7fa1
// > RetryLevelLayer::onRewardedVideo @ 0x1004f9438
// > RetryLevelLayer::onRewardedVideo @ 0x1004f94e2
// > RetryLevelLayer::onRewardedVideo @ 0x1004f9584
// > GauntletSelectLayer::onPlay @ 0x100572b66
// > GauntletSelectLayer::onPlay @ 0x100572c18
// > GauntletSelectLayer::onPlay @ 0x100572cca
// > SongInfoLayer::showCustomMusicUnlockInfo @ 0x100601eab
// > SecretRewardsLayer::onGoldChest @ 0x10063268f
// > SecretRewardsLayer::onSpecialItem @ 0x100632f4f
// > SecretRewardsLayer::showLockedChest @ 0x100633280
// > SecretRewardsLayer::onSelectItem @ 0x100634aa2
// > SecretRewardsLayer::showDialog01 @ 0x100634c78
// > SecretRewardsLayer::showDialog01 @ 0x100634d50
// > SecretRewardsLayer::showDialog01 @ 0x100634e1d
// > SecretRewardsLayer::showDialog01 @ 0x100634ed0
// > SecretRewardsLayer::showDialog01 @ 0x100634fbb
// > SecretRewardsLayer::showDialog01 @ 0x100635093
// > SecretRewardsLayer::showDialog01 @ 0x100635146
// > SecretRewardsLayer::showDialog01 @ 0x10063529b
// > SecretRewardsLayer::showDialog01 @ 0x100635368
// > SecretRewardsLayer::showDialog01 @ 0x10063543d
// > SecretRewardsLayer::showDialog01 @ 0x1006354ff
// > SecretRewardsLayer::showDialog01 @ 0x1006355b2
// > SecretRewardsLayer::showDialog01 @ 0x1006356a1
// > SecretRewardsLayer::showDialog01 @ 0x100635776
// > SecretRewardsLayer::showDialog01 @ 0x100635838
// > SecretRewardsLayer::showDialog01 @ 0x1006358eb
// > SecretRewardsLayer::showDialog01 @ 0x1006359bc
// > SecretRewardsLayer::showDialog01 @ 0x100635a86
// > SecretRewardsLayer::showDialog01 @ 0x100635b4c
// > SecretRewardsLayer::showDialog01 @ 0x100635c6e
// > SecretRewardsLayer::showDialog01 @ 0x100635d83
// > SecretRewardsLayer::showDialog01 @ 0x100635e4e
// > SecretRewardsLayer::showDialog01 @ 0x100635efe
// > SecretRewardsLayer::showDialog01 @ 0x100635fa6
// > SecretRewardsLayer::showDialog01 @ 0x100636075
// > SecretRewardsLayer::showDialog01 @ 0x100636134
// > SecretRewardsLayer::showDialog01 @ 0x1006361e7
// > SecretRewardsLayer::showDialog03 @ 0x100636975
// > SecretRewardsLayer::showDialog03 @ 0x100636a6c
// > SecretRewardsLayer::showDialog03 @ 0x100636b2a
// > SecretRewardsLayer::showDialog03 @ 0x100636bdc
// > SecretRewardsLayer::showDialog03 @ 0x100636cba
// > SecretRewardsLayer::showDialog03 @ 0x100636d78
// > SecretRewardsLayer::showDialog03 @ 0x100636e41
// > SecretRewardsLayer::showDialog03 @ 0x100636f97
// > SecretRewardsLayer::showDialog03 @ 0x100637081
// > SecretRewardsLayer::showDialog03 @ 0x100637160
// > SecretRewardsLayer::showDialog03 @ 0x100637229
// > SecretRewardsLayer::showDialog03 @ 0x100637369
// > SecretRewardsLayer::showDialog03 @ 0x100637448
// > SecretRewardsLayer::showDialog03 @ 0x100637513
// > SecretRewardsLayer::showDialog03 @ 0x1006375b9
// > SecretRewardsLayer::showDialog03 @ 0x100637680
// > SecretRewardsLayer::showDialog03 @ 0x100637720
// > SecretRewardsLayer::showDialog03 @ 0x1006377c2
// > SecretRewardsLayer::showDialog03 @ 0x100637863
// > SecretRewardsLayer::showDialog03 @ 0x100637915
// > SecretRewardsLayer::showDialogMechanic @ 0x100637f32
// > SecretRewardsLayer::showDialogMechanic @ 0x100637ff5
// > SecretRewardsLayer::showDialogMechanic @ 0x1006380ce
// > SecretRewardsLayer::showDialogMechanic @ 0x100638195
// > SecretRewardsLayer::showDialogMechanic @ 0x100638267
// > SecretRewardsLayer::showDialogMechanic @ 0x100638364
// > SecretRewardsLayer::showDialogMechanic @ 0x100638436
// > SecretRewardsLayer::showDialogMechanic @ 0x10063850b
// > SecretRewardsLayer::showDialogMechanic @ 0x100638665
// > SecretRewardsLayer::showDialogMechanic @ 0x100638721
// > SecretRewardsLayer::showDialogMechanic @ 0x100638801
// > SecretRewardsLayer::showDialogMechanic @ 0x100638940
// > SecretRewardsLayer::showDialogMechanic @ 0x1006389fc
// > SecretRewardsLayer::showDialogMechanic @ 0x100638ad9
// > SecretRewardsLayer::showDialogMechanic @ 0x100638b7f
// > SecretRewardsLayer::showDialogMechanic @ 0x100638c51
// > SecretRewardsLayer::showDialogMechanic @ 0x100638d27
// > SecretRewardsLayer::showDialogMechanic @ 0x100638dcc
// > SecretRewardsLayer::showDialogMechanic @ 0x100638ea9
// > SecretRewardsLayer::showDialogDiamond @ 0x1006394b2
// > SecretRewardsLayer::showDialogDiamond @ 0x100639582
// > SecretRewardsLayer::showDialogDiamond @ 0x100639644
// > SecretRewardsLayer::showDialogDiamond @ 0x100639748
// > SecretRewardsLayer::showDialogDiamond @ 0x10063980a
// > SecretRewardsLayer::showDialogDiamond @ 0x1006398e6
// > SecretRewardsLayer::showDialogDiamond @ 0x100639abe
// > SecretRewardsLayer::showDialogDiamond @ 0x100639b99
// > SecretRewardsLayer::showDialogDiamond @ 0x100639c43
// > SecretRewardsLayer::showDialogDiamond @ 0x100639d09
// > SecretRewardsLayer::showDialogDiamond @ 0x100639db2
// > CharacterColorPage::onMode @ 0x10065d945
// > OptionsLayer::onSecretVault @ 0x10079b035
//
// 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
//
char *__fastcall DialogObject::create(__int128 *a1, std::string *a2, int a3, int a4, int a5, float a6)
{
char *v8; // rbx
__int128 v9; // xmm0
std::string __str; // [rsp+0h] [rbp-70h] BYREF
std::string v12; // [rsp+20h] [rbp-50h] BYREF
int v13; // [rsp+40h] [rbp-30h]
float v14; // [rsp+44h] [rbp-2Ch]
v13 = a4;
v14 = a6;
v8 = (char *)operator new(0x78u);
cocos2d::CCObject::CCObject(v8);
*(_QWORD *)v8 = off_10092EA80;
*(_QWORD *)&v9 = 0;
*(_OWORD *)(v8 + 56) = 0;
*(_OWORD *)(v8 + 72) = 0;
*(_OWORD *)(v8 + 88) = 0;
*((_DWORD *)v8 + 26) = 0;
*((_DWORD *)v8 + 28) = 1065353216;
v8[116] = 0;
if ( (*(_BYTE *)a1 & 1) != 0 )
{
sub_100006B70(&__str, *((const void **)a1 + 2), *((_QWORD *)a1 + 1), 0.0);
if ( (*(_BYTE *)&a2->__r_.__value_.__s.0 & 1) != 0 )
goto LABEL_3;
}
else
{
__str.__r_.__value_.__r.__words[2] = *((_QWORD *)a1 + 2);
v9 = *a1;
*(_OWORD *)&__str.__r_.__value_.__l.0 = *a1;
if ( (*(_BYTE *)&a2->__r_.__value_.__s.0 & 1) != 0 )
{
LABEL_3:
sub_100006B70(&v12, a2->__r_.__value_.__l.__data_, a2->__r_.__value_.__l.__size_, *(double *)&v9);
goto LABEL_6;
}
}
v12 = *a2;
LABEL_6:
std::string::operator=((std::string *)(v8 + 80), &__str);
std::string::operator=((std::string *)(v8 + 56), &v12);
*((_DWORD *)v8 + 26) = a3;
*((float *)v8 + 28) = v14;
*((_WORD *)v8 + 54) = a5;
v8[110] = BYTE2(a5);
v8[116] = v13;
if ( (*(_BYTE *)&v12.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v12.__r_.__value_.__l.__data_);
if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 )
operator delete(__str.__r_.__value_.__l.__data_);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8);
return v8;
}