//
// CreatorLayer::onAdventureMap from 0x1000b60a8 to 0x1000b6104 (92 bytes)
//
// 2 xrefs:
// > CreatorLayer::dialogClosed @ 0x1000b6bb0
// > CreatorLayer::init @ 0x1000b532c
//
// 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
//
void __fastcall CreatorLayer::onAdventureMap(CreatorLayer *a1, cocos2d::CCObject *a2)
{
__int64 v2; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v4; // [xsp+1Fh] [xbp-11h]
sub_100009900(__p, "mapPromo.png");
v2 = GJPromoPopup::create(__p);
if ( v4 < 0 )
operator delete(__p[0]);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1288LL))(v2);
}