// // cocos2d::CCTexture2D::setTexParameters from 0x7ff556 to 0x7ff5c2 (108 bytes) // // 12 xrefs: // > Slider::init @ 0x3daf56 // > LoadingLayer::init @ 0x3fb9cc // > PlayLayer::setupHasCompleted @ 0x40a462 // > MenuGameLayer::init @ 0x492fa4 // > CustomSongWidget::init @ 0x4e469a // > CustomSongWidget::init @ 0x4e4b36 // > GJBaseGameLayer::createBackground @ 0x58bcb4 // > GauntletLayer::init @ 0x60ed5c // > LevelAreaLayer::init @ 0x6a4b80 // > CustomSFXWidget::init @ 0x6a7bc4 // > cocos2d::CCMotionStreak::enableRepeatMode @ 0x7deba8 // > cocos2d::VolatileTexture::reloadAllTextures @ 0x8014c8 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:01:18 +0000 // int __fastcall cocos2d::CCTexture2D::setTexParameters(cocos2d **a1, GLint *a2) { cocos2d *v3; // r6 unsigned int v5; // r1 unsigned int v6; // r2 v3 = a1[15]; if ( v3 == (cocos2d *)cocos2d::ccNextPOT(v3, (unsigned int)a2) || (v6 = a2[2], v6 == 33071) ) cocos2d::ccNextPOT(a1[16], v5); cocos2d::ccGLBindTexture2D(a1[17], v5, v6); glTexParameteri(0xDE1u, 0x2801u, *a2); glTexParameteri(0xDE1u, 0x2800u, a2[1]); glTexParameteri(0xDE1u, 0x2802u, a2[2]); glTexParameteri(0xDE1u, 0x2803u, a2[3]); return cocos2d::VolatileTexture::setTexParameters(a1, a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source