// // CCSpritePlus::createWithSpriteFrameName from 0x100481ad0 to 0x100481b6d (157 bytes) // // 2 xrefs: // > GameObject::playShineEffect @ 0x1005bd7b9 // > GameObject::playShineEffect @ 0x1005bd907 // // 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 // CCSpritePlus *__fastcall CCSpritePlus::createWithSpriteFrameName(const char *a1) { cocos2d::CCSpriteFrameCache *v1; // rax cocos2d::CCSpriteFrame *v2; // r14 char *v3; // rbx __int64 (__fastcall **v4)(); // rax v1 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v2 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v1, a1); v3 = (char *)operator new(0x270u); cocos2d::CCSprite::CCSprite((__int64)v3, (__int64)a1); v4 = off_10093C5C8; *(_QWORD *)v3 = off_10093C5C8; *((_QWORD *)v3 + 40) = off_10093CAB0; *((_QWORD *)v3 + 43) = off_10093CB30; *(_OWORD *)(v3 + 600) = 0; *(_DWORD *)(v3 + 615) = 0; if ( !v2 ) goto LABEL_5; if ( !cocos2d::CCSprite::initWithSpriteFrame((cocos2d::CCSprite *)v3, v2) ) { v4 = *(__int64 (__fastcall ***)())v3; LABEL_5: ((void (__fastcall *)(char *))v4[2])(v3); return nullptr; } cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3); return (CCSpritePlus *)v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source