// // SecretLayer2::create from 0x10049d070 to 0x10049d187 (279 bytes) // // 2 xrefs: // > SecretLayer2::scene @ 0x10049d047 // > SecretLayer3::onBack @ 0x1004a5f17 // // 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 // SecretLayer2 *__fastcall SecretLayer2::create() { char *v0; // rbx v0 = (char *)operator new(0x208u); cocos2d::CCLayer::CCLayer(v0); *(_QWORD *)v0 = off_100945618; *((_QWORD *)v0 + 40) = off_100945AC0; *((_QWORD *)v0 + 41) = &off_100945B30; *((_QWORD *)v0 + 42) = off_100945B48; *((_QWORD *)v0 + 43) = off_100945B68; *((_QWORD *)v0 + 44) = off_100945B88; *((_QWORD *)v0 + 51) = off_100945BB0; *((_QWORD *)v0 + 52) = &off_100945BF8; *((_QWORD *)v0 + 53) = &off_100945C10; *((_OWORD *)v0 + 27) = 0xFFFFFFFFFFFFFFFFLL; *((_QWORD *)v0 + 56) = 0xFFFFFFFF00000000LL; *((_QWORD *)v0 + 60) = 0; v0[488] = 0; *(_OWORD *)(v0 + 456) = 0; *((_DWORD *)v0 + 123) = -1; *((_OWORD *)v0 + 31) = 0; *((_QWORD *)v0 + 64) = 0; if ( SecretLayer2::init((SecretLayer2 *)v0) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0); return nullptr; } return (SecretLayer2 *)v0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source