// // cocos2d::CCSprite::createWithSpriteFrame from 0x100288530 to 0x1002885f6 (198 bytes) // // 5 xrefs: // > cocos2d::CCSprite::createWithSpriteFrameName @ 0x100288652 // > cocos2d::CCMenuItemImage::setNormalSpriteFrame @ 0x1003c08dc // > cocos2d::CCMenuItemImage::setSelectedSpriteFrame @ 0x1003c090c // > cocos2d::CCMenuItemImage::setDisabledSpriteFrame @ 0x1003c093c // > GJRobotSprite::updateFrame @ 0x1005dc951 // // 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 // cocos2d::CCSprite *__fastcall cocos2d::CCSprite::createWithSpriteFrame(cocos2d::CCSpriteFrame *a1) { __int64 v1; // rsi char *v2; // rbx v2 = (char *)operator new(0x258u); cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v2); *(_QWORD *)v2 = off_1008F36A8; *((_QWORD *)v2 + 40) = off_1008F3B80; *((_QWORD *)v2 + 43) = off_1008F3C00; v2[379] = 0; *((_QWORD *)v2 + 52) = 0; sub_10028D130(v2 + 424, v1); sub_10028CC30(v2 + 444); sub_10028CC30(v2 + 452); *(_WORD *)(v2 + 559) = 0; *(_OWORD *)(v2 + 564) = 0; if ( a1 && (*(unsigned __int8 (__fastcall **)(char *, cocos2d::CCSpriteFrame *))(*(_QWORD *)v2 + 1016LL))(v2, a1) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2); return nullptr; } return (cocos2d::CCSprite *)v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source