// // PurchaseItemPopup::onPurchase from 0x92a67c to 0x92a6d8 (92 bytes) // // 3 xrefs: // > @ 0x32fe8 // > PurchaseItemPopup::init @ 0x930144 // > @ 0x1229888 // // 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 PurchaseItemPopup::onPurchase(PurchaseItemPopup *a1, cocos2d::CCObject *a2) { GameStatsManager *v3; // x0 GJPurchaseDelegate *m_delegate; // x0 v3 = GameStatsManager::sharedState(); if ( GameStatsManager::purchaseItem(v3, a1->m_storeItem->m_index.random - a1->m_storeItem->m_index.seed) ) { m_delegate = a1->m_delegate; if ( m_delegate ) m_delegate->didPurchaseItem(m_delegate, a1->m_storeItem); } PurchaseItemPopup::onClose(a1, nullptr); }
GD Web Decomp Icon

GD Web Decomp

Raw Source