// // sub_1800992B0 from 0x1800992b0 to 0x1800992d7 (39 bytes) // // 11 xrefs: // > cocos2d::CCGridBase::initWithSize @ 0x180023a6f // > cocos2d::CCGridBase::initWithSize @ 0x180023a7d // > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1800620c8 // > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1800620d2 // > cocos2d::CCTexture2D::generateMipmap @ 0x1800a8c92 // > cocos2d::CCTexture2D::generateMipmap @ 0x1800a8c9e // > cocos2d::CCTexture2D::setTexParameters @ 0x1800a9a08 // > cocos2d::CCTexture2D::setTexParameters @ 0x1800a9a1e // > cocos2d::CCTexturePVR::createGLTexture @ 0x1800ad8b2 // > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x1800adce0 // > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x1800adcf1 // // 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 11:22:10 +0000 // __int64 __fastcall sub_1800992B0(int a1) { unsigned int v1; // ecx unsigned int v2; // ecx v1 = (a1 - 1) | ((unsigned int)(a1 - 1) >> 1) | (((a1 - 1) | ((unsigned int)(a1 - 1) >> 1)) >> 2); v2 = v1 | (v1 >> 4) | ((v1 | (v1 >> 4)) >> 8); return (v2 | HIWORD(v2)) + 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source