// // cocos2d::CCLayerRGBA::init from 0x1004b1af0 to 0x1004b1b6a (122 bytes) // // 1 xrefs: // > @ 0x1009491e0 // // 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 // bool __fastcall cocos2d::CCLayerRGBA::init(cocos2d::CCLayerRGBA *a1) { __int64 v1; // rax cocos2d::CCDirector *v2; // rbx _QWORD v4[4]; // [rsp+0h] [rbp-20h] BYREF double v5; // 0:xmm0_8.8 v4[0] = v1; v2 = cocos2d::CCDirector::sharedDirector(); if ( v2 ) { *(cocos2d::CCSize *)&v5 = cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v4); ((void (__fastcall *)(cocos2d::CCLayerRGBA *, _QWORD *, double))a1->setContentSize)(a1, v4, v5); *(_WORD *)&a1->m_bTouchEnabled = 0; *(_QWORD *)&a1->_displayedOpacity = -1; ((void (__fastcall *)(cocos2d::CCLayerRGBA *, _QWORD))a1->setCascadeOpacityEnabled)(a1, 0); ((void (__fastcall *)(cocos2d::CCLayerRGBA *, _QWORD))a1->setCascadeColorEnabled)(a1, 0); } return v2 != nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source