// // cocos2d::CCSpriteFrame::getTexture from 0x1002eb74c to 0x1002eb7b4 (104 bytes) // // 10 xrefs: // > CCSpriteWithHue::createWithSpriteFrame @ 0x1002383d8 // > CCSpriteWithHue::initWithSpriteFrame @ 0x100238738 // > CCSpriteGrayscale::createWithSpriteFrame @ 0x100238d2c // > cocos2d::extension::CCScale9Sprite::initWithSpriteFrame_1 @ 0x1002b27e8 // > cocos2d::extension::CCScale9Sprite::setSpriteFrame @ 0x1002b2cf8 // > cocos2d::CCSprite::initWithSpriteFrame @ 0x1002d4540 // > cocos2d::CCSprite::setDisplayFrame @ 0x1002d5f64 // > cocos2d::CCSprite::isFrameDisplayed @ 0x1002d6044 // > cocos2d::CCParticleSystemQuad::setDisplayFrame @ 0x1002f0bc4 // > sub_1004AFBBC @ 0x1004afc7c // // 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 11:02:53 +0000 // _DWORD *__fastcall cocos2d::CCSpriteFrame::getTexture(__int64 a1) { _DWORD *result; // x0 char *v3; // x20 void *v4; // x0 result = *(_DWORD **)(a1 + 128); if ( result ) return result; if ( (*(char *)(a1 + 159) & 0x8000000000000000LL) != 0 ) { if ( *(_QWORD *)(a1 + 144) ) goto LABEL_4; return nullptr; } if ( !*(_BYTE *)(a1 + 159) ) return nullptr; LABEL_4: v3 = (char *)(a1 + 136); v4 = cocos2d::CCTextureCache::sharedTextureCache(); if ( *(char *)(a1 + 159) < 0 ) v3 = *(char **)v3; return cocos2d::CCTextureCache::addImage((__int64)v4, v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source