// // PromoInterstitial::create from 0x1002d43e0 to 0x1002d453b (347 bytes) // // 3 xrefs: // > MenuLayer::onFreeLevels @ 0x100391ff9 // > MenuLayer::onFullVersion @ 0x10039202f // > RetryLevelLayer::onFullVersion @ 0x1004f92ee // // 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 // PromoInterstitial *__fastcall PromoInterstitial::create(bool a1) { char *v1; // rbx v1 = (char *)operator new(0x2A8u); cocos2d::CCLayerColor::CCLayerColor(v1); *((_QWORD *)v1 + 72) = 0; *((_DWORD *)v1 + 146) = 0; v1[588] = 0; *((_OWORD *)v1 + 34) = 0; *(_OWORD *)(v1 + 553) = 0; *((_OWORD *)v1 + 37) = 0; *((_QWORD *)v1 + 76) = 0; *((_DWORD *)v1 + 154) = -1; *((_WORD *)v1 + 310) = 0; *((_DWORD *)v1 + 156) = -1; *((_WORD *)v1 + 314) = 0; *(_QWORD *)v1 = off_100908438; *((_QWORD *)v1 + 40) = off_100908958; *((_QWORD *)v1 + 41) = &off_1009089C8; *((_QWORD *)v1 + 42) = off_1009089E0; *((_QWORD *)v1 + 43) = off_100908A00; *((_QWORD *)v1 + 44) = off_100908A20; *((_QWORD *)v1 + 51) = off_100908A48; *((_QWORD *)v1 + 54) = off_100908AC8; *((_QWORD *)v1 + 79) = 0; v1[640] = 0; *(_OWORD *)(v1 + 657) = 0; *(_OWORD *)(v1 + 648) = 0; if ( FLAlertLayer::init_1((FLAlertLayer *)v1, 150) ) { v1[629] = a1; PromoInterstitial::setup((PromoInterstitial *)v1); (*(void (__fastcall **)(char *, _QWORD))(*(_QWORD *)v1 + 328LL))(v1, 0); cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1); return nullptr; } return (PromoInterstitial *)v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source