// // GJPromoPopup::create from 0xa30f68 to 0xa3119c (564 bytes) // // 2 xrefs: // > CreatorLayer::onAdventureMap @ 0x7db944 // > @ 0xfc628 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:59:47 +0000 // __int64 __fastcall GJPromoPopup::create(char *a1) { __int64 v2; // x19 char v3; // w0 __int64 v4; // x0 __int64 v5; // x1 int v6; // w21 __int64 v7; // x1 __int64 v8; // x0 __int64 v10; // [xsp+30h] [xbp+30h] BYREF __int64 v11; // [xsp+38h] [xbp+38h] void *v12; // [xsp+40h] [xbp+40h] v2 = operator new(0x2B0u); cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v2); *(_QWORD *)(v2 + 552) = 0; *(_QWORD *)v2 = &off_1419A40; *(_QWORD *)(v2 + 320) = off_1419F90; *(_QWORD *)(v2 + 328) = &off_141A000; *(_QWORD *)(v2 + 336) = off_141A018; *(_QWORD *)(v2 + 344) = off_141A038; *(_QWORD *)(v2 + 352) = off_141A060; *(_QWORD *)(v2 + 408) = &off_141A090; *(_QWORD *)(v2 + 432) = &off_141A110; *(_QWORD *)(v2 + 544) = off_141A130; *(_QWORD *)(v2 + 560) = 0; *(_QWORD *)(v2 + 568) = 0; *(_BYTE *)(v2 + 576) = 0; *(_QWORD *)(v2 + 584) = 0; *(_DWORD *)(v2 + 592) = 0; *(_BYTE *)(v2 + 596) = 0; *(_BYTE *)(v2 + 597) = 0; *(_BYTE *)(v2 + 598) = 0; *(_BYTE *)(v2 + 599) = 0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v2 + 600)); *(_DWORD *)(v2 + 632) = -1; *(_DWORD *)(v2 + 640) = -1; *(_QWORD *)(v2 + 608) = 0; *(_QWORD *)(v2 + 616) = 0; *(_QWORD *)(v2 + 624) = 0; *(_BYTE *)(v2 + 636) = 0; *(_BYTE *)(v2 + 637) = 0; *(_BYTE *)(v2 + 644) = 0; *(_BYTE *)(v2 + 656) = 0; *(_DWORD *)(v2 + 648) = 0; *(_DWORD *)(v2 + 652) = 0; *(_QWORD *)(v2 + 664) = 0; *(_QWORD *)v2 = &off_1484E50; *(_QWORD *)(v2 + 320) = off_14853A0; *(_QWORD *)(v2 + 328) = &off_1485410; *(_QWORD *)(v2 + 336) = off_1485428; *(_QWORD *)(v2 + 344) = off_1485448; *(_QWORD *)(v2 + 352) = off_1485470; *(_QWORD *)(v2 + 408) = &off_14854A0; *(_QWORD *)(v2 + 432) = &off_1485520; *(_QWORD *)(v2 + 544) = off_1485540; *(_QWORD *)(v2 + 672) = 0; *(_QWORD *)(v2 + 680) = 0; v10 = 0; v3 = *a1; v11 = 0; v12 = nullptr; if ( (v3 & 1) != 0 ) { std::string::__init(&v10, *((void **)a1 + 2), *((_QWORD *)a1 + 1)); } else { v4 = *(_QWORD *)a1; v5 = *((_QWORD *)a1 + 1); v12 = *((void **)a1 + 2); v10 = v4; v11 = v5; } v6 = (unsigned __int8)GJPromoPopup::init(v2, &v10); if ( (v10 & 1) != 0 ) operator delete(v12); if ( v6 ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); } else { v7 = *(_QWORD *)v2; v8 = v2; v2 = 0; (*(void (__fastcall **)(__int64))(v7 + 16))(v8); } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source