// // cocos2d::CCSprite::createWithSpriteFrame from 0x100273a90 to 0x100273b56 (198 bytes) // // 6 xrefs: // > cocos2d::CCSprite::createWithSpriteFrameName @ 0x100273bb2 // > cocos2d::CCMenuItemImage::setNormalSpriteFrame @ 0x1003a9cdc // > cocos2d::CCMenuItemImage::setSelectedSpriteFrame @ 0x1003a9d0c // > cocos2d::CCMenuItemImage::setDisabledSpriteFrame @ 0x1003a9d3c // > GJRobotSprite::updateFrame @ 0x1006ae261 // > FontPreviewCell::loadFromIndex @ 0x10096f938 // // 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:27:38 +0000 // char *__fastcall cocos2d::CCSprite::createWithSpriteFrame(__int64 a1) { char *v1; // rbx v1 = (char *)operator new(0x258u); cocos2d::CCNodeRGBA::CCNodeRGBA((__int64)v1); *(_QWORD *)v1 = off_100AF9ED0; *((_QWORD *)v1 + 40) = off_100AFA3B8; *((_QWORD *)v1 + 43) = off_100AFA438; v1[379] = 0; *((_QWORD *)v1 + 52) = 0; sub_1002787A0(v1 + 424); sub_1002782A0(v1 + 444); sub_1002782A0(v1 + 452); *(_WORD *)(v1 + 559) = 0; *(_OWORD *)(v1 + 564) = 0; if ( a1 && (*(unsigned __int8 (__fastcall **)(char *, __int64))(*(_QWORD *)v1 + 1032LL))(v1, a1) ) { cocos2d::CCObject::autorelease(v1); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1); return nullptr; } return v1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source