// // ItemInfoPopup::create from 0x796218 to 0x796340 (296 bytes) // // 4 xrefs: // > GJGarageLayer::showUnlockPopupNew @ 0x796350 // > ShardsPage::onIconInfo @ 0x95c0d4 // > GJPathPage::onIconInfo @ 0xa6d314 // > @ 0x30540 // // 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 // ItemInfoPopup *ItemInfoPopup::create(int a1, UnlockType a2) { __int64 v4; // x19 v4 = operator new(0x288u); cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v4); *(_DWORD *)(v4 + 616) = -1; *(_DWORD *)(v4 + 624) = -1; *(_QWORD *)(v4 + 544) = 0; *(_QWORD *)(v4 + 552) = 0; *(_QWORD *)(v4 + 560) = 0; *(_BYTE *)(v4 + 568) = 0; *(_QWORD *)(v4 + 576) = 0; *(_DWORD *)(v4 + 584) = 0; *(_BYTE *)(v4 + 588) = 0; *(_QWORD *)(v4 + 592) = 0; *(_QWORD *)(v4 + 600) = 0; *(_QWORD *)(v4 + 608) = 0; *(_BYTE *)(v4 + 620) = 0; *(_BYTE *)(v4 + 621) = 0; *(_BYTE *)(v4 + 628) = 0; *(_DWORD *)(v4 + 632) = 0; *(_QWORD *)v4 = &off_11797E0; *(_QWORD *)(v4 + 320) = off_1179D00; *(_QWORD *)(v4 + 328) = &off_1179D70; *(_QWORD *)(v4 + 336) = &off_1179D88; *(_QWORD *)(v4 + 344) = &off_1179DA8; *(_QWORD *)(v4 + 352) = off_1179DC8; *(_QWORD *)(v4 + 408) = &off_1179DF0; *(_QWORD *)(v4 + 432) = &off_1179E70; *(_DWORD *)(v4 + 636) = 0; if ( ItemInfoPopup::init((ItemInfoPopup *)v4, a1, a2) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4); return (ItemInfoPopup *)v4; } else { (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 16LL))(v4); return nullptr; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source