// // sub_10008E7D4 from 0x10008e7d4 to 0x10008e7f4 (32 bytes) // // 7 xrefs: // > cocos2d::CCTexture2D::setTexParameters @ 0x1001ab90c // > cocos2d::CCTexture2D::setTexParameters @ 0x1001ab92c // > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x100415214 // > cocos2d::CCTexturePVR::unpackPVRv2Data @ 0x100415228 // > cocos2d::CCTexturePVR::createGLTexture @ 0x1004156bc // > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1004670f4 // > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x100467100 // // 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 10:58:22 +0000 // __int64 __fastcall sub_10008E7D4(__int64 a1) { unsigned __int64 v1; // x8 unsigned __int64 v2; // x8 v1 = (a1 - 1) | ((unsigned __int64)(a1 - 1) >> 1) | (((a1 - 1) | ((unsigned __int64)(a1 - 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