// // cocos2d::CCSprite::createWithTexture from 0x18008b770 to 0x18008b7fb (139 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b5b5c // // 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 // struct cocos2d::CCSprite *__fastcall cocos2d::CCSprite::createWithTexture( struct cocos2d::CCTexture2D *a1, const struct cocos2d::CCRect *a2) { cocos2d::CCSprite *v4; // rax cocos2d::CCSprite *v5; // rbx v4 = (cocos2d::CCSprite *)operator new(0x258u); if ( v4 ) v5 = cocos2d::CCSprite::CCSprite(v4); else v5 = nullptr; if ( v5 ) { if ( ((unsigned __int8 (__fastcall *)(cocos2d::CCSprite *, struct cocos2d::CCTexture2D *, const struct cocos2d::CCRect *))v5->initWithTexture_0)( v5, a1, a2) ) { cocos2d::CCObject::autorelease(v5); return v5; } ((void (__fastcall *)(cocos2d::CCSprite *, __int64))v5->~CCSprite)(v5, 1); } return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source