// // cocos2d::CCRenderTexture::create_2 from 0x1005f5790 to 0x1005f5830 (160 bytes) // // 6 xrefs: // > cocos2d::CCTransitionCrossFade::onEnter @ 0x1000d8ec2 // > cocos2d::CCTransitionCrossFade::onEnter @ 0x1000d8f8a // > PlayerObject::playDeathEffect @ 0x100213415 // > MapSelectLayer::checkTouchMonster @ 0x100269547 // > cocos2d::CCTransitionProgress::onEnter @ 0x10028d4ae // > sub_1003A7CE0 @ 0x1003a7f83 // // 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::CCRenderTexture *__fastcall cocos2d::CCRenderTexture::create_2(int a1, int a2) { _OWORD *v2; // rbx v2 = operator new(0x1A8u); cocos2d::CCNode::CCNode((__int64)v2); *(_QWORD *)v2 = off_10097BB18; v2[20] = 0; *((_DWORD *)v2 + 84) = 0; *(_OWORD *)((char *)v2 + 344) = 0; *(_OWORD *)((char *)v2 + 360) = 0; *(_OWORD *)((char *)v2 + 376) = 0; *(_OWORD *)((char *)v2 + 385) = 0; *(_OWORD *)((char *)v2 + 404) = 0; if ( cocos2d::CCRenderTexture::initWithWidthAndHeight( (cocos2d::CCRenderTexture *)v2, a1, a2, kCCTexture2DPixelFormat_RGBA8888, 0) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); } else { (*(void (__fastcall **)(_OWORD *))(*(_QWORD *)v2 + 16LL))(v2); return nullptr; } return (cocos2d::CCRenderTexture *)v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source