// // cocos2d::CCLayerRGBA::init from 0x180051d50 to 0x180051dfb (171 bytes) // // 5 xrefs: // > @ 0x1800f3568 // > @ 0x18014131c // > @ 0x18014132c // > @ 0x18014cf68 // > @ 0x1801bc190 // // 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 11:21:45 +0000 // bool __fastcall cocos2d::CCLayerRGBA::init(cocos2d::CCLayerRGBA *this) { struct cocos2d::CCDirector *v2; // rax __int64 v3; // rbx __int64 v4; // rax __int64 v5; // rax char v7; // [rsp+38h] [rbp+10h] BYREF v2 = cocos2d::CCDirector::sharedDirector(); if ( v2 ) { v3 = *(_QWORD *)this; cocos2d::CCDirector::getWinSize(v2, &v7); (*(void (__fastcall **)(cocos2d::CCLayerRGBA *, __int64))(v3 + 312))(this, v4); *(_WORD *)((char *)this + 421) = -1; *((_WORD *)this + 209) = -1; *((_BYTE *)this + 423) = -1; *((_BYTE *)this + 420) = -1; v5 = *((_QWORD *)this + 51); *((_WORD *)this + 180) = 0; *((_WORD *)this + 208) = -1; (*(void (__fastcall **)(char *, _QWORD))(v5 + 96))((char *)this + 408, 0); (*(void (__fastcall **)(char *, _QWORD))(*((_QWORD *)this + 51) + 72LL))((char *)this + 408, 0); LOBYTE(v2) = 1; } return (char)v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source