// // cocos2d::ccNextPOT from 0xb208d4 to 0xb208f4 (32 bytes) // // 12 xrefs: // > cocos2d::CCGridBase::initWithSize @ 0xadc088 // > cocos2d::CCGridBase::initWithSize @ 0xadc09c // > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0xaf9904 // > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0xaf9910 // > cocos2d::CCTexture2D::generateMipmap @ 0xb315d4 // > cocos2d::CCTexture2D::generateMipmap @ 0xb31608 // > cocos2d::CCTexture2D::setTexParameters @ 0xb31638 // > cocos2d::CCTexture2D::setTexParameters @ 0xb316b8 // > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0xb375b8 // > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0xb375cc // > cocos2d::CCTexturePVR::createGLTexture @ 0xb37b78 // > @ 0x4cae8 // // 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 // unsigned __int64 __fastcall cocos2d::ccNextPOT(cocos2d *this) { unsigned __int64 v1; // x0 unsigned __int64 v2; // x0 v1 = ((unsigned __int64)this - 1) | (((unsigned __int64)this - 1) >> 1) | ((((unsigned __int64)this - 1) | (((unsigned __int64)this - 1) >> 1)) >> 2); v2 = v1 | (v1 >> 4) | ((v1 | (v1 >> 4)) >> 8); return (v2 | (v2 >> 16)) + 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source