// // cocos2d::CCTexture2D::setTexParameters from 0x1001ab8ec to 0x1001ab984 (152 bytes) // // 11 xrefs: // > CustomSongWidget::init @ 0x10011ecac // > CustomSongWidget::init @ 0x10011f14c // > PlayLayer::setupHasCompleted @ 0x10013fb70 // > cocos2d::CCMotionStreak::enableRepeatMode @ 0x1002085cc // > LoadingLayer::init @ 0x10026eac4 // > GJBaseGameLayer::createBackground @ 0x1002781dc // > GauntletLayer::init @ 0x1002ce418 // > Slider::init @ 0x10038a8c0 // > CustomSFXWidget::init @ 0x10038c1b4 // > LevelAreaLayer::init @ 0x1003e24ac // > MenuGameLayer::init @ 0x100441be8 // // 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 11:00:05 +0000 // void __fastcall cocos2d::CCTexture2D::setTexParameters(unsigned int *a1, GLint *a2) { __int64 v4; // x21 v4 = a1[16]; if ( sub_10008E7D4(v4) == v4 || a2[2] == 33071 ) sub_10008E7D4(a1[17]); cocos2d::ccGLBindTexture2D(a1[18]); glTexParameteri(0xDE1u, 0x2801u, *a2); glTexParameteri(0xDE1u, 0x2800u, a2[1]); glTexParameteri(0xDE1u, 0x2802u, a2[2]); glTexParameteri(0xDE1u, 0x2803u, a2[3]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source