// // cocos2d::CCTexture2D::setTexParameters from 0x1004794f0 to 0x10047957d (141 bytes) // // 11 xrefs: // > PlayLayer::setupHasCompleted @ 0x1000ae3e0 // > GJBaseGameLayer::createBackground @ 0x100114463 // > LevelAreaLayer::init @ 0x100277aca // > Slider::init @ 0x100304928 // > GauntletLayer::init @ 0x100392b52 // > LoadingLayer::init @ 0x1003a2c68 // > MenuGameLayer::init @ 0x1004f9a8e // > cocos2d::CCMotionStreak::enableRepeatMode @ 0x100576a3c // > CustomSFXWidget::init @ 0x1005e3673 // > CustomSongWidget::init @ 0x10061b0ee // > CustomSongWidget::init @ 0x10061b538 // // 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 __fastcall cocos2d::CCTexture2D::setTexParameters(cocos2d::CCTexture2D *a1, cocos2d::ccTexParams *a2) { __int64 m_uPixelsWide; // r15 m_uPixelsWide = a1->m_uPixelsWide; if ( sub_1005772B0(m_uPixelsWide) == m_uPixelsWide || a2->wrapS == 33071 ) sub_1005772B0(a1->m_uPixelsHigh); cocos2d::ccGLBindTexture2D(a1->m_uName); glTexParameteri(0xDE1u, 0x2801u, a2->minFilter); glTexParameteri(0xDE1u, 0x2800u, a2->magFilter); glTexParameteri(0xDE1u, 0x2802u, a2->wrapS); glTexParameteri(0xDE1u, 0x2803u, a2->wrapT); }
GD Web Decomp Icon

GD Web Decomp

Raw Source