// // cocos2d::CCTexture2D::setTexParameters from 0x10046de50 to 0x10046dedd (141 bytes) // // 11 xrefs: // > PlayLayer::setupHasCompleted @ 0x10007b991 // > GJBaseGameLayer::createBackground @ 0x1000f0703 // > LevelAreaLayer::init @ 0x1002640ca // > Slider::init @ 0x1002ef848 // > GauntletLayer::init @ 0x10037dab2 // > LoadingLayer::init @ 0x10038c27b // > MenuGameLayer::init @ 0x1004f891e // > cocos2d::CCMotionStreak::enableRepeatMode @ 0x1005a3e4c // > CustomSFXWidget::init @ 0x1006b6619 // > CustomSongWidget::init @ 0x1006f7c22 // > CustomSongWidget::init @ 0x1006f8104 // // This function is hookable on this platform (idp: pc, 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:30:32 +0000 // void __fastcall cocos2d::CCTexture2D::setTexParameters(unsigned int *a1, GLint *a2) { __int64 v2; // r15 v2 = a1[16]; if ( sub_1005A4800(v2) == v2 || a2[2] == 33071 ) sub_1005A4800(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