// // cocos2d::CCRenderTexture::listenToBackground from 0xd6b434 to 0xd6b4cc (152 bytes) // // 3 xrefs: // > @ 0xd95a0 // > cocos2d::CCRenderTexture::CCRenderTexture @ 0xd6a638 // > @ 0x15467f8 // // 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:07:56 +0000 // __int64 __fastcall cocos2d::CCRenderTexture::listenToBackground(cocos2d::CCRenderTexture *this, cocos2d::CCObject *a2) { __int64 v3; // x0 cocos2d::CCImage *v4; // x0 __int64 ContentSizeInPixels; // x20 __int64 v6; // x0 __int64 result; // x0 v3 = *((_QWORD *)this + 45); if ( v3 ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 16LL))(v3); *((_QWORD *)this + 45) = 0; } v4 = cocos2d::CCRenderTexture::newCCImage(this, 0); *((_QWORD *)this + 45) = v4; if ( v4 ) { ContentSizeInPixels = cocos2d::CCTexture2D::getContentSizeInPixels(*((cocos2d::CCTexture2D **)this + 43)); cocos2d::VolatileTexture::addDataTexture( *((_QWORD *)this + 43), *(_QWORD *)(*((_QWORD *)this + 45) + 64LL), 0, ContentSizeInPixels); v6 = *((_QWORD *)this + 44); if ( v6 ) cocos2d::VolatileTexture::addDataTexture(v6, *(_QWORD *)(*((_QWORD *)this + 45) + 64LL), 0, ContentSizeInPixels); } result = glDeleteFramebuffers(); *((_DWORD *)this + 82) = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source