// // CCSpritePlus::createWithSpriteFrameName from 0x100476430 to 0x1004764cd (157 bytes) // // 2 xrefs: // > GameObject::playShineEffect @ 0x10068ef29 // > GameObject::playShineEffect @ 0x10068f077 // // This function is hookable on this platform (idp: pc, 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 12:30:35 +0000 // char *__fastcall CCSpritePlus::createWithSpriteFrameName(const char *a1) { __int64 v1; // rax __int64 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); v4 = off_100B467E0; *(_QWORD *)v3 = off_100B467E0; *((_QWORD *)v3 + 40) = off_100B46CD8; *((_QWORD *)v3 + 43) = off_100B46D58; *(_OWORD *)(v3 + 600) = 0; *(_DWORD *)(v3 + 615) = 0; if ( !v2 ) goto LABEL_5; if ( !(unsigned __int8)cocos2d::CCSprite::initWithSpriteFrame((__int64)v3, v2) ) { v4 = *(__int64 (__fastcall ***)())v3; LABEL_5: ((void (__fastcall *)(char *))v4[2])(v3); return nullptr; } cocos2d::CCObject::autorelease(v3); return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source