// // ShaderLayer::init from 0xb303c4 to 0xb30448 (132 bytes) // // 2 xrefs: // > @ 0x80878 // > @ 0x14b6be0 // // This function is hookable on this platform (idp: arm, 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 13:01:43 +0000 // __int64 __fastcall ShaderLayer::init(ShaderLayer *this) { GameManager *v2; // x0 unsigned int v3; // w19 __int64 v4; // x0 double v5; // d0 v2 = (GameManager *)(unsigned __int8)cocos2d::CCLayer::init(this); v3 = (unsigned __int8)v2; if ( (_BYTE)v2 ) { v4 = GameManager::sharedState(v2); ShaderLayer::setupShader(this, *(_BYTE *)(v4 + 1700)); v5 = (float)((float)((float)((float)rand() * 4.6566e-10) * 100.0) + 10000.0); *((double *)this + 63) = v5; *((double *)this + 61) = v5; ShaderLayer::updateZLayer((__int64)this, 0, 0, 0); *((_BYTE *)this + 1076) = 1; } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source