// // cocos2d::CCSprite::createWithTexture from 0x100288240 to 0x100288310 (208 bytes) // // 9 xrefs: // > EditorUI::setupCreateMenu @ 0x10002a398 // > EditorUI::setupCreateMenu @ 0x10002a3b2 // > CCAnimatedSprite::loadType @ 0x1003504c2 // > GJRobotSprite::init @ 0x1005dc12d // > GJRobotSprite::init @ 0x1005dc1be // > GJGroundLayer::init @ 0x1005ead40 // > GJGroundLayer::init @ 0x1005eae8a // > GJMGLayer::init @ 0x1005ebefa // > GJMGLayer::init @ 0x1005ec09b // // 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::createWithTexture(cocos2d::CCTexture2D *a1, const cocos2d::CCRect *a2) { 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, a2); sub_10028CC30(v2 + 444); sub_10028CC30(v2 + 452); *(_WORD *)(v2 + 559) = 0; *(_OWORD *)(v2 + 564) = 0; if ( (*(unsigned __int8 (__fastcall **)(char *, cocos2d::CCTexture2D *, const cocos2d::CCRect *))(*(_QWORD *)v2 + 1000LL))( v2, a1, a2) ) { 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