// // cocos2d::CCSprite::createWithTexture_1 from 0x1002880b0 to 0x100288171 (193 bytes) // // 7 xrefs: // > PlatformToolbox::spriteFromSavedFile @ 0x1004c457f // > GJRobotSprite::init @ 0x1005dc23f // > GJGroundLayer::loadGroundSprites @ 0x1005eb1ef // > GJGroundLayer::loadGroundSprites @ 0x1005eb2ff // > GJMGLayer::loadGroundSprites @ 0x1005ec29f // > cocos2d::CCRenderTexture::initWithWidthAndHeight @ 0x1005f56b7 // > GhostTrailEffect::trailSnapshot @ 0x1005f9ca5 // // 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_1(cocos2d::CCTexture2D *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 ( (*(unsigned __int8 (__fastcall **)(char *, cocos2d::CCTexture2D *))(*(_QWORD *)v2 + 992LL))(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