//
// DialogObject::create from 0x60967c to 0x609752 (214 bytes)
//
// 235 xrefs:
// > PlayLayer::destroyPlayer @ 0x405f92
// > CreatorLayer::onOnlyFullVersion @ 0x493ae4
// > CreatorLayer::onMultiplayer @ 0x493ca2
// > CreatorLayer::onSecretVault @ 0x493ec4
// > CreatorLayer::onTreasureRoom @ 0x494018
// > CreatorLayer::onTreasureRoom @ 0x494072
// > CreatorLayer::onTreasureRoom @ 0x4940ca
// > CreatorLayer::onTreasureRoom @ 0x49419c
// > GJGarageLayer::onRewardedVideo @ 0x50c0b8
// > GJGarageLayer::onRewardedVideo @ 0x50c11c
// > GJGarageLayer::onRewardedVideo @ 0x50c180
// > GJGarageLayer::showUnlockPopup @ 0x50e978
// > GJGarageLayer::showUnlockPopup @ 0x50e9d4
// > GJGarageLayer::showUnlockPopup @ 0x50ea2e
// > GJGarageLayer::showUnlockPopup @ 0x50ea88
// > GJGarageLayer::showUnlockPopup @ 0x50eae2
// > GJGarageLayer::showUnlockPopup @ 0x50eb3c
// > LevelPage::onTheTower @ 0x513744
// > LevelPage::onTheTower @ 0x51379c
// > LevelPage::onTheTower @ 0x5137f4
// > LevelPage::onTheTower @ 0x51384c
// > LevelPage::onTheTower @ 0x5138a4
// > LevelPage::onSecretDoor @ 0x513bea
// > LevelPage::onSecretDoor @ 0x513c46
// > LevelPage::onSecretDoor @ 0x513ca0
// > LevelPage::onSecretDoor @ 0x513cf2
// > LevelPage::onSecretDoor @ 0x513d4c
// > LevelPage::onSecretDoor @ 0x513da6
// > OptionsLayer::onSecretVault @ 0x532842
// > SongInfoLayer::showCustomMusicUnlockInfo @ 0x53adbe
// > RetryLevelLayer::onRewardedVideo @ 0x547408
// > RetryLevelLayer::onRewardedVideo @ 0x54746c
// > RetryLevelLayer::onRewardedVideo @ 0x5474d0
// > GameOptionsLayer::showPracticeMusicSyncUnlockInfo @ 0x5db6a0
// > DailyLevelPage::dailyStatusFailed @ 0x607da4
// > GauntletSelectLayer::onPlay @ 0x60ae00
// > GauntletSelectLayer::onPlay @ 0x60ae58
// > GauntletSelectLayer::onPlay @ 0x60aeb0
// > GJShopLayer::didPurchaseItem @ 0x61194c
// > GJShopLayer::didPurchaseItem @ 0x6119a8
// > GJShopLayer::didPurchaseItem @ 0x611a02
// > GJShopLayer::didPurchaseItem @ 0x611a5c
// > GJShopLayer::didPurchaseItem @ 0x611ab6
// > GJShopLayer::showReactMessage @ 0x611f80
// > GJShopLayer::showReactMessage @ 0x611ff6
// > GJShopLayer::showReactMessage @ 0x61206a
// > GJShopLayer::showReactMessage @ 0x6120f4
// > GJShopLayer::showReactMessage @ 0x612168
// > GJShopLayer::showReactMessage @ 0x6122ca
// > GJShopLayer::showReactMessage @ 0x612336
// > GJShopLayer::showReactMessage @ 0x6123a2
// > GJShopLayer::showReactMessage @ 0x61244c
// > GJShopLayer::showReactMessage @ 0x6124ba
// > GJShopLayer::showReactMessage @ 0x6125e4
// > GJShopLayer::showReactMessage @ 0x612650
// > GJShopLayer::showReactMessage @ 0x6126d8
// > GJShopLayer::showCantAffordMessage @ 0x613bc6
// > SecretLayer2::showCompletedLevel @ 0x61b3e8
// > SecretLayer2::showCompletedLevel @ 0x61b458
// > SecretLayer2::showCompletedLevel @ 0x61b4c4
// > SecretLayer2::showCompletedLevel @ 0x61b530
// > SecretLayer2::showCompletedLevel @ 0x61b596
// > SecretLayer2::showCompletedLevel @ 0x61b5fc
// > SecretLayer2::showCompletedLevel @ 0x61b662
// > SecretLayer2::showCompletedLevel @ 0x61b6c8
// > SecretLayer2::showCompletedLevel @ 0x61b72e
// > SecretLayer2::showCompletedLevel @ 0x61b794
// > SecretLayer2::showCompletedLevel @ 0x61b7fe
// > SecretLayer2::showCompletedLevel @ 0x61b866
// > SecretLayer2::onSecretLevel @ 0x61ba48
// > SecretLayer3::firstInteractionStep2 @ 0x61bc64
// > SecretLayer3::firstInteractionStep2 @ 0x61bcbe
// > SecretLayer3::firstInteractionStep2 @ 0x61bd18
// > SecretLayer3::firstInteractionStep2 @ 0x61bd72
// > SecretLayer3::firstInteractionStep4 @ 0x61be94
// > SecretLayer3::firstInteractionStep4 @ 0x61beee
// > SecretLayer3::firstInteractionStep4 @ 0x61bf48
// > SecretLayer3::firstInteractionStep4 @ 0x61bfa0
// > SecretLayer3::onClick @ 0x61c118
// > SecretLayer3::onClick @ 0x61c18a
// > SecretLayer3::onClick @ 0x61c1f8
// > SecretLayer3::onClick @ 0x61c28e
// > SecretLayer3::onClick @ 0x61c2fa
// > SecretLayer3::onClick @ 0x61c362
// > SecretLayer3::onClick @ 0x61c402
// > SecretLayer3::onClick @ 0x61c46c
// > SecretLayer3::onClick @ 0x61c4d2
// > SecretLayer3::onClick @ 0x61c53a
// > SecretLayer3::onClick @ 0x61c5a0
// > SecretLayer3::showUnlockDialog @ 0x61c9d6
// > SecretLayer3::showUnlockDialog @ 0x61ca30
// > SecretLayer3::showUnlockDialog @ 0x61ca7a
// > SecretLayer3::showUnlockDialog @ 0x61cad6
// > SecretLayer3::revealStep2 @ 0x61cbfc
// > SecretLayer3::revealStep2 @ 0x61cc56
// > SecretLayer3::revealStep2 @ 0x61ccb0
// > SecretLayer3::revealStep5 @ 0x61cdc0
// > SecretLayer3::revealStep5 @ 0x61ce18
// > SecretLayer3::revealStep5 @ 0x61ce70
// > SecretLayer3::revealStep5 @ 0x61cec8
// > SecretLayer3::revealStep5 @ 0x61cf20
// > SecretLayer3::revealStep4 @ 0x61d79e
// > SecretLayer3::revealStep4 @ 0x61d804
// > SecretLayer3::revealStep4 @ 0x61d8da
// > SecretLayer3::revealStep4 @ 0x61d944
// > SecretLayer3::revealStep4 @ 0x61d9b0
// > SecretLayer3::revealStep4 @ 0x61da14
// > SecretLayer2::onDoor @ 0x61e61e
// > SecretLayer4::showDialog @ 0x621508
// > SecretLayer4::showDialog @ 0x621562
// > SecretLayer4::showDialog @ 0x6215c2
// > SecretLayer4::showDialog @ 0x62161c
// > SecretLayer4::showDialog @ 0x62167c
// > SecretLayer4::showDialog @ 0x6216d6
// > SecretLayer4::showDialog @ 0x621736
// > SecretLayer4::showDialog @ 0x621790
// > SecretLayer4::showDialog @ 0x6217f0
// > SecretLayer4::showDialog @ 0x62184a
// > SecretLayer4::showFirstDialog @ 0x6219cc
// > SecretLayer4::showFirstDialog @ 0x621a26
// > SecretLayer4::showFirstDialog @ 0x621a80
// > SecretLayer4::showFirstDialog @ 0x621ada
// > WorldSelectLayer::showCompleteDialog @ 0x62d554
// > WorldSelectLayer::showCompleteDialog @ 0x62d5aa
// > WorldSelectLayer::showCompleteDialog @ 0x62d602
// > FollowRewardPage::onRewardedVideo @ 0x6300f2
// > FollowRewardPage::onRewardedVideo @ 0x630154
// > FollowRewardPage::onRewardedVideo @ 0x6301b6
// > CharacterColorPage::onMode @ 0x69dea0
// > LevelAreaLayer::showDialog @ 0x6a3ca2
// > LevelAreaLayer::showDialog @ 0x6a3cfc
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x6a3e8a
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x6a3ee2
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x6a3f3a
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x6a3f92
// > LevelAreaInnerLayer::showFloor1CompleteDialog @ 0x6a3fea
// > SecretRewardsLayer::showDialog01 @ 0x6cad9c
// > SecretRewardsLayer::showDialog01 @ 0x6cae0e
// > SecretRewardsLayer::showDialog01 @ 0x6cae7c
// > SecretRewardsLayer::showDialog01 @ 0x6caedc
// > SecretRewardsLayer::showDialog01 @ 0x6caf4e
// > SecretRewardsLayer::showDialog01 @ 0x6cafbc
// > SecretRewardsLayer::showDialog01 @ 0x6cb01c
// > SecretRewardsLayer::showDialog01 @ 0x6cb08e
// > SecretRewardsLayer::showDialog01 @ 0x6cb0fc
// > SecretRewardsLayer::showDialog01 @ 0x6cb16a
// > SecretRewardsLayer::showDialog01 @ 0x6cb1d8
// > SecretRewardsLayer::showDialog01 @ 0x6cb238
// > SecretRewardsLayer::showDialog01 @ 0x6cb2aa
// > SecretRewardsLayer::showDialog01 @ 0x6cb318
// > SecretRewardsLayer::showDialog01 @ 0x6cb386
// > SecretRewardsLayer::showDialog01 @ 0x6cb40a
// > SecretRewardsLayer::showDialog01 @ 0x6cb48c
// > SecretRewardsLayer::showDialog01 @ 0x6cb4fa
// > SecretRewardsLayer::showDialog01 @ 0x6cb562
// > SecretRewardsLayer::showDialog01 @ 0x6cb5ca
// > SecretRewardsLayer::showDialog01 @ 0x6cb658
// > SecretRewardsLayer::showDialog01 @ 0x6cb6c0
// > SecretRewardsLayer::showDialog01 @ 0x6cb728
// > SecretRewardsLayer::showDialog01 @ 0x6cb992
// > SecretRewardsLayer::showDialog01 @ 0x6cb9fe
// > SecretRewardsLayer::showDialog01 @ 0x6cba66
// > SecretRewardsLayer::showDialog01 @ 0x6cbace
// > SecretRewardsLayer::showDialog03 @ 0x6cbbe0
// > SecretRewardsLayer::showDialog03 @ 0x6cbc52
// > SecretRewardsLayer::showDialog03 @ 0x6cbcc0
// > SecretRewardsLayer::showDialog03 @ 0x6cbd20
// > SecretRewardsLayer::showDialog03 @ 0x6cbd92
// > SecretRewardsLayer::showDialog03 @ 0x6cbe00
// > SecretRewardsLayer::showDialog03 @ 0x6cbe60
// > SecretRewardsLayer::showDialog03 @ 0x6cbed2
// > SecretRewardsLayer::showDialog03 @ 0x6cbf40
// > SecretRewardsLayer::showDialog03 @ 0x6cbfae
// > SecretRewardsLayer::showDialog03 @ 0x6cc030
// > SecretRewardsLayer::showDialog03 @ 0x6cc09e
// > SecretRewardsLayer::showDialog03 @ 0x6cc10c
// > SecretRewardsLayer::showDialog03 @ 0x6cc1a0
// > SecretRewardsLayer::showDialog03 @ 0x6cc208
// > SecretRewardsLayer::showDialog03 @ 0x6cc270
// > SecretRewardsLayer::showDialog03 @ 0x6cc396
// > SecretRewardsLayer::showDialog03 @ 0x6cc402
// > SecretRewardsLayer::showDialog03 @ 0x6cc46a
// > SecretRewardsLayer::showDialog03 @ 0x6cc4d2
// > SecretRewardsLayer::showDialogMechanic @ 0x6cc6be
// > SecretRewardsLayer::showDialogMechanic @ 0x6cc720
// > SecretRewardsLayer::showDialogMechanic @ 0x6cc780
// > SecretRewardsLayer::showDialogMechanic @ 0x6cc7f2
// > SecretRewardsLayer::showDialogMechanic @ 0x6cc860
// > SecretRewardsLayer::showDialogMechanic @ 0x6cc8c2
// > SecretRewardsLayer::showDialogMechanic @ 0x6cc924
// > SecretRewardsLayer::showDialogMechanic @ 0x6cc986
// > SecretRewardsLayer::showDialogMechanic @ 0x6cca0c
// > SecretRewardsLayer::showDialogMechanic @ 0x6cca7a
// > SecretRewardsLayer::showDialogMechanic @ 0x6ccaf6
// > SecretRewardsLayer::showDialogMechanic @ 0x6ccb7e
// > SecretRewardsLayer::showDialogMechanic @ 0x6ccbec
// > SecretRewardsLayer::showDialogMechanic @ 0x6ccc54
// > SecretRewardsLayer::showDialogMechanic @ 0x6ccd6c
// > SecretRewardsLayer::showDialogMechanic @ 0x6ccdd8
// > SecretRewardsLayer::showDialogMechanic @ 0x6cce40
// > SecretRewardsLayer::showDialogMechanic @ 0x6ccea8
// > SecretRewardsLayer::showDialogMechanic @ 0x6ccf10
// > SecretRewardsLayer::showDialogDiamond @ 0x6cd0f6
// > SecretRewardsLayer::showDialogDiamond @ 0x6cd158
// > SecretRewardsLayer::showDialogDiamond @ 0x6cd1ba
// > SecretRewardsLayer::showDialogDiamond @ 0x6cd21c
// > SecretRewardsLayer::showDialogDiamond @ 0x6cd276
// > SecretRewardsLayer::showDialogDiamond @ 0x6cd2f6
// > SecretRewardsLayer::showDialogDiamond @ 0x6cd37e
// > SecretRewardsLayer::showDialogDiamond @ 0x6cd3d8
// > SecretRewardsLayer::showDialogDiamond @ 0x6cd4d8
// > SecretRewardsLayer::showDialogDiamond @ 0x6cd544
// > SecretRewardsLayer::showDialogDiamond @ 0x6cd5ac
// > SecretRewardsLayer::showLockedChest @ 0x6cd94e
// > SecretRewardsLayer::onSpecialItem @ 0x6cdae6
// > SecretRewardsLayer::onGoldChest @ 0x6cdc94
// > SecretRewardsLayer::onSelectItem @ 0x6cde68
// > GJPathPage::showCantAffordMessage @ 0x6d46bc
// > LevelListLayer::onClaimReward @ 0x6d6c52
// > SecretLayer5::showDialog @ 0x6e44f0
// > SecretLayer5::showDialog @ 0x6e454a
// > SecretLayer5::showDialog @ 0x6e45aa
// > SecretLayer5::showDialog @ 0x6e4604
// > SecretLayer5::showDialog @ 0x6e4664
// > SecretLayer5::showDialog @ 0x6e46be
// > SecretLayer5::showDialog @ 0x6e471e
// > SecretLayer5::showDialog @ 0x6e4778
// > SecretLayer5::showDialog @ 0x6e47d8
// > SecretLayer5::showDialog @ 0x6e4832
// > SecretLayer5::showFirstDialog @ 0x6e49b8
// > SecretLayer5::showFirstDialog @ 0x6e4a10
// > SecretLayer5::showFirstDialog @ 0x6e4a68
// > SecretLayer5::showFirstDialog @ 0x6e4ac0
// > SecretLayer5::showFirstDialog @ 0x6e4b18
// > GameSettingsLayer::showPracticeMusicSyncUnlockInfo @ 0x711068
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:46 +0000
//
int __fastcall DialogObject::create(int a1, int a2, int a3, int a4, char a5, int a6)
{
int v10; // r4
int v11; // r6
int v12; // r3
int v13; // r0
int v15; // [sp+8h] [bp-28h]
int v16[3]; // [sp+14h] [bp-1Ch] BYREF
int v17[3]; // [sp+20h] [bp-10h] BYREF
v10 = operator new(0x5Cu);
cocos2d::CCObject::CCObject((cocos2d::CCObject *)v10);
*(_DWORD *)(v10 + 84) = 1065353216;
*(_DWORD *)v10 = &off_CC31D8;
*(_DWORD *)(v10 + 52) = 0;
*(_DWORD *)(v10 + 56) = 0;
*(_DWORD *)(v10 + 60) = 0;
*(_DWORD *)(v10 + 64) = 0;
*(_DWORD *)(v10 + 68) = 0;
*(_DWORD *)(v10 + 72) = 0;
*(_DWORD *)(v10 + 76) = 0;
*(_BYTE *)(v10 + 88) = 0;
std::string::basic_string(v16, a1);
std::string::basic_string(v17, a2);
LOWORD(v15) = a6;
BYTE2(v15) = BYTE2(a6);
v11 = DialogObject::init(v10, (unsigned __int8 *)v16, (unsigned __int8 *)v17, a3, a4, a5, v15);
std::string::~string((int)v17);
std::string::~string((int)v16);
if ( v11 )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v10);
}
else
{
v12 = *(_DWORD *)v10;
v13 = v10;
v10 = 0;
(*(void (__fastcall **)(int))(v12 + 8))(v13);
}
return v10;
}