//
// DialogObject::create from 0x1003b0130 to 0x1003b0268 (312 bytes)
//
// 235 xrefs:
// > PlayLayer::destroyPlayer @ 0x100088244
// > DailyLevelPage::dailyStatusFailed @ 0x1002162d0
// > LevelAreaLayer::showDialog @ 0x100265c49
// > LevelAreaLayer::showDialog @ 0x100265cf7
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x100267abf
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x100267b90
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x100267c5e
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x100267d2f
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x100267db4
// > CreatorLayer::onMultiplayer @ 0x100283366
// > CreatorLayer::onOnlyFullVersion @ 0x100283a55
// > CreatorLayer::onSecretVault @ 0x100283fe1
// > CreatorLayer::onTreasureRoom @ 0x1002841f0
// > CreatorLayer::onTreasureRoom @ 0x1002842b0
// > CreatorLayer::onTreasureRoom @ 0x100284378
// > CreatorLayer::onTreasureRoom @ 0x100284535
// > sub_10029EC20 @ 0x10029ede9
// > sub_1002EC240 @ 0x1002ec370
// > sub_100310700 @ 0x100310830
// > GJShopLayer::didPurchaseItem @ 0x100310ef5
// > GJShopLayer::didPurchaseItem @ 0x100310fd5
// > GJShopLayer::didPurchaseItem @ 0x1003110ad
// > GJShopLayer::didPurchaseItem @ 0x10031115a
// > GJShopLayer::didPurchaseItem @ 0x1003111e2
// > GJShopLayer::showReactMessage @ 0x100311533
// > GJShopLayer::showReactMessage @ 0x100311604
// > GJShopLayer::showReactMessage @ 0x1003116d3
// > GJShopLayer::showReactMessage @ 0x1003117f4
// > GJShopLayer::showReactMessage @ 0x1003118db
// > GJShopLayer::showReactMessage @ 0x100311a1f
// > GJShopLayer::showReactMessage @ 0x100311ade
// > GJShopLayer::showReactMessage @ 0x100311cab
// > GJShopLayer::showReactMessage @ 0x100311d4a
// > GJShopLayer::showReactMessage @ 0x100311e1c
// > GJShopLayer::showReactMessage @ 0x1003120f7
// > GJShopLayer::showReactMessage @ 0x1003121d9
// > GJShopLayer::showReactMessage @ 0x1003122c4
// > LevelListLayer::onClaimReward @ 0x10034a890
// > GJGarageLayer::onRewardedVideo @ 0x1003558b8
// > GJGarageLayer::onRewardedVideo @ 0x100355962
// > GJGarageLayer::onRewardedVideo @ 0x100355a04
// > GJGarageLayer::showUnlockPopup @ 0x100358527
// > GJGarageLayer::showUnlockPopup @ 0x1003585f1
// > GJGarageLayer::showUnlockPopup @ 0x1003586bb
// > GJGarageLayer::showUnlockPopup @ 0x100358773
// > GJGarageLayer::showUnlockPopup @ 0x100358820
// > GJGarageLayer::showUnlockPopup @ 0x1003588ac
// > SecretLayer4::showFirstDialog @ 0x10039ada4
// > SecretLayer4::showFirstDialog @ 0x10039ae5e
// > SecretLayer4::showFirstDialog @ 0x10039af1b
// > SecretLayer4::showFirstDialog @ 0x10039afe0
// > sub_10039C370 @ 0x10039c448
// > sub_10039C370 @ 0x10039c4ee
// > sub_10039C370 @ 0x10039c5af
// > sub_10039C370 @ 0x10039c640
// > sub_10039C370 @ 0x10039c764
// > sub_10039C370 @ 0x10039c80a
// > sub_10039C370 @ 0x10039c8d7
// > sub_10039C370 @ 0x10039c96b
// > sub_10039C370 @ 0x10039ca35
// > sub_10039C370 @ 0x10039cadb
// > WorldSelectLayer::showCompleteDialog @ 0x1003ac1ad
// > WorldSelectLayer::showCompleteDialog @ 0x1003ac272
// > WorldSelectLayer::showCompleteDialog @ 0x1003ac320
// > sub_10040E060 @ 0x10040e198
// > sub_10040E060 @ 0x10040e242
// > sub_10040E060 @ 0x10040e2e4
// > LevelPage::onTheTower @ 0x100423b72
// > LevelPage::onTheTower @ 0x100423c52
// > LevelPage::onTheTower @ 0x100423ce1
// > LevelPage::onTheTower @ 0x100423da6
// > LevelPage::onTheTower @ 0x100423e69
// > LevelPage::onSecretDoor @ 0x1004248b5
// > LevelPage::onSecretDoor @ 0x10042496a
// > LevelPage::onSecretDoor @ 0x1004249ee
// > LevelPage::onSecretDoor @ 0x100424ad8
// > LevelPage::onSecretDoor @ 0x100424ba7
// > LevelPage::onSecretDoor @ 0x100424c78
// > SecretLayer5::showFirstDialog @ 0x100470461
// > SecretLayer5::showFirstDialog @ 0x100470536
// > SecretLayer5::showFirstDialog @ 0x10047061a
// > SecretLayer5::showFirstDialog @ 0x1004706e4
// > SecretLayer5::showFirstDialog @ 0x1004707ae
// > sub_100472510 @ 0x1004725e8
// > sub_100472510 @ 0x10047268e
// > sub_100472510 @ 0x10047274f
// > sub_100472510 @ 0x1004727e0
// > sub_100472510 @ 0x100472904
// > sub_100472510 @ 0x1004729aa
// > sub_100472510 @ 0x100472a77
// > sub_100472510 @ 0x100472b0b
// > sub_100472510 @ 0x100472bd5
// > sub_100472510 @ 0x100472c7b
// > SecretLayer2::onDoor @ 0x100498c32
// > SecretLayer2::onSecretLevel @ 0x100498e1e
// > SecretLayer2::showCompletedLevel @ 0x100498f66
// > SecretLayer2::showCompletedLevel @ 0x10049902a
// > SecretLayer2::showCompletedLevel @ 0x1004990f9
// > SecretLayer2::showCompletedLevel @ 0x1004991c4
// > SecretLayer2::showCompletedLevel @ 0x100499288
// > SecretLayer2::showCompletedLevel @ 0x100499341
// > SecretLayer2::showCompletedLevel @ 0x100499417
// > SecretLayer2::showCompletedLevel @ 0x1004994bf
// > SecretLayer2::showCompletedLevel @ 0x100499582
// > SecretLayer2::showCompletedLevel @ 0x100499637
// > SecretLayer2::showCompletedLevel @ 0x1004996f1
// > SecretLayer2::showCompletedLevel @ 0x1004997d7
// > SecretLayer3::onClick @ 0x10049e1d4
// > SecretLayer3::onClick @ 0x10049e298
// > SecretLayer3::onClick @ 0x10049e35c
// > SecretLayer3::onClick @ 0x10049e431
// > SecretLayer3::onClick @ 0x10049e516
// > SecretLayer3::onClick @ 0x10049e5e1
// > SecretLayer3::onClick @ 0x10049e69f
// > SecretLayer3::onClick @ 0x10049e75f
// > SecretLayer3::onClick @ 0x10049e83b
// > SecretLayer3::onClick @ 0x10049e90a
// > SecretLayer3::onClick @ 0x10049e9e4
// > SecretLayer3::firstInteractionStep2 @ 0x10049f129
// > SecretLayer3::firstInteractionStep2 @ 0x10049f1e6
// > SecretLayer3::firstInteractionStep2 @ 0x10049f2a6
// > SecretLayer3::firstInteractionStep2 @ 0x10049f35e
// > SecretLayer3::firstInteractionStep4 @ 0x10049f6ac
// > SecretLayer3::firstInteractionStep4 @ 0x10049f748
// > SecretLayer3::firstInteractionStep4 @ 0x10049f7e4
// > SecretLayer3::firstInteractionStep4 @ 0x10049f8a1
// > SecretLayer3::showUnlockDialog @ 0x10049fb41
// > SecretLayer3::showUnlockDialog @ 0x10049fbe4
// > SecretLayer3::showUnlockDialog @ 0x10049fc7d
// > SecretLayer3::showUnlockDialog @ 0x10049fd2e
// > SecretLayer3::revealStep2 @ 0x1004a009a
// > SecretLayer3::revealStep2 @ 0x1004a0153
// > SecretLayer3::revealStep2 @ 0x1004a0204
// > SecretLayer3::revealStep4 @ 0x1004a0474
// > SecretLayer3::revealStep4 @ 0x1004a0538
// > SecretLayer3::revealStep4 @ 0x1004a0744
// > SecretLayer3::revealStep4 @ 0x1004a081f
// > SecretLayer3::revealStep4 @ 0x1004a08e6
// > SecretLayer3::revealStep4 @ 0x1004a099c
// > SecretLayer3::revealStep5 @ 0x1004a0c83
// > SecretLayer3::revealStep5 @ 0x1004a0d43
// > SecretLayer3::revealStep5 @ 0x1004a0dfd
// > SecretLayer3::revealStep5 @ 0x1004a0eac
// > SecretLayer3::revealStep5 @ 0x1004a0f71
// > RetryLevelLayer::onRewardedVideo @ 0x1004f82c8
// > RetryLevelLayer::onRewardedVideo @ 0x1004f8372
// > RetryLevelLayer::onRewardedVideo @ 0x1004f8414
// > GauntletSelectLayer::onPlay @ 0x10059fef6
// > GauntletSelectLayer::onPlay @ 0x10059ffa8
// > GauntletSelectLayer::onPlay @ 0x1005a005a
// > sub_100602BF0 @ 0x100602db9
// > SongInfoLayer::showCustomMusicUnlockInfo @ 0x1006d980b
// > SecretRewardsLayer::onGoldChest @ 0x10070f2bf
// > SecretRewardsLayer::onSpecialItem @ 0x10070fb7f
// > SecretRewardsLayer::showLockedChest @ 0x10070feb0
// > SecretRewardsLayer::onSelectItem @ 0x1007116d2
// > SecretRewardsLayer::showDialog01 @ 0x1007118a8
// > SecretRewardsLayer::showDialog01 @ 0x100711980
// > SecretRewardsLayer::showDialog01 @ 0x100711a4d
// > SecretRewardsLayer::showDialog01 @ 0x100711b00
// > SecretRewardsLayer::showDialog01 @ 0x100711beb
// > SecretRewardsLayer::showDialog01 @ 0x100711cc3
// > SecretRewardsLayer::showDialog01 @ 0x100711d76
// > SecretRewardsLayer::showDialog01 @ 0x100711ecb
// > SecretRewardsLayer::showDialog01 @ 0x100711f98
// > SecretRewardsLayer::showDialog01 @ 0x10071206d
// > SecretRewardsLayer::showDialog01 @ 0x10071212f
// > SecretRewardsLayer::showDialog01 @ 0x1007121e2
// > SecretRewardsLayer::showDialog01 @ 0x1007122d1
// > SecretRewardsLayer::showDialog01 @ 0x1007123a6
// > SecretRewardsLayer::showDialog01 @ 0x100712468
// > SecretRewardsLayer::showDialog01 @ 0x10071251b
// > SecretRewardsLayer::showDialog01 @ 0x1007125ec
// > SecretRewardsLayer::showDialog01 @ 0x1007126b6
// > SecretRewardsLayer::showDialog01 @ 0x10071277c
// > SecretRewardsLayer::showDialog01 @ 0x10071289e
// > SecretRewardsLayer::showDialog01 @ 0x1007129b3
// > SecretRewardsLayer::showDialog01 @ 0x100712a7e
// > SecretRewardsLayer::showDialog01 @ 0x100712b2e
// > SecretRewardsLayer::showDialog01 @ 0x100712bd6
// > SecretRewardsLayer::showDialog01 @ 0x100712ca5
// > SecretRewardsLayer::showDialog01 @ 0x100712d64
// > SecretRewardsLayer::showDialog01 @ 0x100712e17
// > SecretRewardsLayer::showDialog03 @ 0x1007135a5
// > SecretRewardsLayer::showDialog03 @ 0x10071369c
// > SecretRewardsLayer::showDialog03 @ 0x10071375a
// > SecretRewardsLayer::showDialog03 @ 0x10071380c
// > SecretRewardsLayer::showDialog03 @ 0x1007138ea
// > SecretRewardsLayer::showDialog03 @ 0x1007139a8
// > SecretRewardsLayer::showDialog03 @ 0x100713a71
// > SecretRewardsLayer::showDialog03 @ 0x100713bc7
// > SecretRewardsLayer::showDialog03 @ 0x100713cb1
// > SecretRewardsLayer::showDialog03 @ 0x100713d90
// > SecretRewardsLayer::showDialog03 @ 0x100713e59
// > SecretRewardsLayer::showDialog03 @ 0x100713f99
// > SecretRewardsLayer::showDialog03 @ 0x100714078
// > SecretRewardsLayer::showDialog03 @ 0x100714143
// > SecretRewardsLayer::showDialog03 @ 0x1007141e9
// > SecretRewardsLayer::showDialog03 @ 0x1007142b0
// > SecretRewardsLayer::showDialog03 @ 0x100714350
// > SecretRewardsLayer::showDialog03 @ 0x1007143f2
// > SecretRewardsLayer::showDialog03 @ 0x100714493
// > SecretRewardsLayer::showDialog03 @ 0x100714545
// > SecretRewardsLayer::showDialogMechanic @ 0x100714b62
// > SecretRewardsLayer::showDialogMechanic @ 0x100714c25
// > SecretRewardsLayer::showDialogMechanic @ 0x100714cfe
// > SecretRewardsLayer::showDialogMechanic @ 0x100714dc5
// > SecretRewardsLayer::showDialogMechanic @ 0x100714e97
// > SecretRewardsLayer::showDialogMechanic @ 0x100714f94
// > SecretRewardsLayer::showDialogMechanic @ 0x100715066
// > SecretRewardsLayer::showDialogMechanic @ 0x10071513b
// > SecretRewardsLayer::showDialogMechanic @ 0x100715295
// > SecretRewardsLayer::showDialogMechanic @ 0x100715351
// > SecretRewardsLayer::showDialogMechanic @ 0x100715431
// > SecretRewardsLayer::showDialogMechanic @ 0x100715570
// > SecretRewardsLayer::showDialogMechanic @ 0x10071562c
// > SecretRewardsLayer::showDialogMechanic @ 0x100715709
// > SecretRewardsLayer::showDialogMechanic @ 0x1007157af
// > SecretRewardsLayer::showDialogMechanic @ 0x100715881
// > SecretRewardsLayer::showDialogMechanic @ 0x100715957
// > SecretRewardsLayer::showDialogMechanic @ 0x1007159fc
// > SecretRewardsLayer::showDialogMechanic @ 0x100715ad9
// > SecretRewardsLayer::showDialogDiamond @ 0x1007160e2
// > SecretRewardsLayer::showDialogDiamond @ 0x1007161b2
// > SecretRewardsLayer::showDialogDiamond @ 0x100716274
// > SecretRewardsLayer::showDialogDiamond @ 0x100716378
// > SecretRewardsLayer::showDialogDiamond @ 0x10071643a
// > SecretRewardsLayer::showDialogDiamond @ 0x100716516
// > SecretRewardsLayer::showDialogDiamond @ 0x1007166ee
// > SecretRewardsLayer::showDialogDiamond @ 0x1007167c9
// > SecretRewardsLayer::showDialogDiamond @ 0x100716873
// > SecretRewardsLayer::showDialogDiamond @ 0x100716939
// > SecretRewardsLayer::showDialogDiamond @ 0x1007169e2
// > CharacterColorPage::onMode @ 0x10073cf95
// > OptionsLayer::onSecretVault @ 0x10087bca5
//
// 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:25 +0000
//
char *__fastcall DialogObject::create(std::string *a1, std::string *a2, int a3, int a4, int a5, float a6)
{
char *v8; // rbx
std::string __str; // [rsp+0h] [rbp-70h] BYREF
std::string v11; // [rsp+20h] [rbp-50h] BYREF
int v12; // [rsp+40h] [rbp-30h]
float v13; // [rsp+44h] [rbp-2Ch]
v12 = a4;
v13 = a6;
v8 = (char *)operator new(0x78u);
cocos2d::CCObject::CCObject(v8);
*(_QWORD *)v8 = off_100B37390;
*(_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->__r_.__value_.__s.0 & 1) != 0 )
{
sub_10001AD30(&__str, a1->__r_.__value_.__l.__data_, a1->__r_.__value_.__l.__size_);
if ( (*(_BYTE *)&a2->__r_.__value_.__s.0 & 1) != 0 )
goto LABEL_3;
}
else
{
__str = *a1;
if ( (*(_BYTE *)&a2->__r_.__value_.__s.0 & 1) != 0 )
{
LABEL_3:
sub_10001AD30(&v11, a2->__r_.__value_.__l.__data_, a2->__r_.__value_.__l.__size_);
goto LABEL_6;
}
}
v11 = *a2;
LABEL_6:
std::string::operator=((std::string *)(v8 + 80), &__str);
std::string::operator=((std::string *)(v8 + 56), &v11);
*((_DWORD *)v8 + 26) = a3;
*((float *)v8 + 28) = v13;
*((_WORD *)v8 + 54) = a5;
v8[110] = BYTE2(a5);
v8[116] = v12;
if ( (*(_BYTE *)&v11.__r_.__value_.__s.0 & 1) != 0 )
operator delete(v11.__r_.__value_.__l.__data_);
if ( (*(_BYTE *)&__str.__r_.__value_.__s.0 & 1) != 0 )
operator delete(__str.__r_.__value_.__l.__data_);
cocos2d::CCObject::autorelease(v8);
return v8;
}