//
// CreatorLayer::onAdventureMap from 0x1002988a0 to 0x1002988f4 (84 bytes)
//
// 1 xrefs:
// > CreatorLayer::init @ 0x1002978f8
//
// 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; // rbx
char v3; // [rsp+0h] [rbp-20h] BYREF
void *v4[3]; // [rsp+1h] [rbp-1Fh] BYREF
v3 = 24;
strcpy((char *)v4, "mapPromo.png");
v2 = GJPromoPopup::create(&v3, a2);
if ( (v3 & 1) != 0 )
operator delete(*(void **)((char *)&v4[1] + 7));
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1288LL))(v2);
}