// // CreatorLayer::onAdventureMap from 0x14009e250 to 0x14009e3b1 (353 bytes) // // 3 xrefs: // > CreatorLayer::dialogClosed @ 0x14009f776 // > CreatorLayer::init @ 0x14009c535 // > @ 0x1406c75f0 // // 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 // // Hidden C++ exception states: #wind=2 void CreatorLayer::onAdventureMap(CreatorLayer *a1, cocos2d::CCObject *a2) { float v2; // xmm3_4 char *v3; // rbx __int64 v4; // rax __int64 v5; // r8 void (__fastcall *v6)(__int64, __int64, __int64, float); // rdx char v7[14]; // [rsp+20h] [rbp-48h] BYREF __int16 v8; // [rsp+2Eh] [rbp-3Ah] __int64 v9; // [rsp+30h] [rbp-38h] __int64 v10; // [rsp+38h] [rbp-30h] char v11[40]; // [rsp+40h] [rbp-28h] BYREF v9 = 12; v10 = 15; strcpy(v7, "mapPromo.png"); v7[13] = 0; v8 = 0; v3 = (char *)operator new(0x298u); FLAlertLayer::FLAlertLayer((FLAlertLayer *)v3); *(_QWORD *)v3 = &GJPromoPopup::`vftable'; *((_QWORD *)v3 + 40) = &GJPromoPopup::`vftable'; *((_QWORD *)v3 + 41) = &GJPromoPopup::`vftable'; *((_QWORD *)v3 + 42) = &GJPromoPopup::`vftable'; *((_QWORD *)v3 + 43) = &GJPromoPopup::`vftable'; *((_QWORD *)v3 + 44) = &GJPromoPopup::`vftable'; *((_QWORD *)v3 + 51) = &GJPromoPopup::`vftable'; *((_QWORD *)v3 + 54) = &GJPromoPopup::`vftable'; *(_OWORD *)(v3 + 632) = 0; *((_QWORD *)v3 + 81) = 0; *((_QWORD *)v3 + 82) = 15; v3[632] = 0; v4 = sub_14003BDB0((__int64)v11, (__int64)v7); if ( (unsigned __int8)GJPromoPopup::init(v3, v4) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3); } else { (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v3 + 8LL))(v3, 1); v3 = nullptr; } sub_14003A830((__int64)v7); v6 = *(void (__fastcall **)(__int64, __int64, __int64, float))(*(_QWORD *)v3 + 1040LL); if ( v6 == ChallengesPage::show ) ChallengesPage::show((__int64)v3, (__int64)v6, v5, v2); else ((void (__fastcall *)(char *))v6)(v3); }