; ; cocos2d::CCShaderCache::sharedShaderCache from 0x1800895e0 to 0x18008966d (141 bytes) ; ; 19 xrefs: ; > cocos2d::CCAtlasNode::initWithTexture @ 0x180001cff ; > cocos2d::ccDrawInit @ 0x180011ded ; > cocos2d::CCDrawNode::init @ 0x1800152e4 ; > cocos2d::CCGridBase::initWithSize @ 0x18002369f ; > cocos2d::CCLabelTTF::init @ 0x18004e3ad ; > cocos2d::CCLabelTTF::initWithString @ 0x18004e505 ; > cocos2d::CCLabelTTF::initWithStringAndTextDefinition @ 0x18004e5f9 ; > cocos2d::CCLayerColor::initWithColor @ 0x1800501e7 ; > cocos2d::CCClippingNode::visit @ 0x18005c7c8 ; > cocos2d::CCMotionStreak::initWithFade @ 0x18005d008 ; > cocos2d::CCProgressTimer::initWithSprite @ 0x18005df47 ; > cocos2d::CCParticleBatchNode::initWithTexture @ 0x18006178c ; > cocos2d::CCParticleSystemQuad::initWithTotalParticles @ 0x18006aa53 ; > cocos2d::CCSprite::initWithTexture @ 0x18008bdfa ; > cocos2d::CCSpriteBatchNode::initWithTexture @ 0x18008e767 ; > cocos2d::CCTexture2D::initWithData @ 0x1800a58bf ; > cocos2d::CCTMXLayer::parseInternalProperties @ 0x1800ac697 ; > @ 0x1801438a8 ; > @ 0x1801b594c ; ; 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 ; mov [rsp+arg_8], rbx ; +0x0, 0x1800895e0 push rdi ; +0x5, 0x1800895e5 sub rsp, 20h ; +0x6, 0x1800895e6 mov rax, cs:qword_1801A87B0 ; +0xa, 0x1800895ea test rax, rax ; +0x11, 0x1800895f1 jnz short loc_180089662 ; +0x14, 0x1800895f4 lea ecx, [rax+40h]; Size ; +0x16, 0x1800895f6 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x19, 0x1800895f9 mov rbx, rax ; +0x1e, 0x1800895fe mov [rsp+28h+arg_0], rax ; +0x21, 0x180089601 test rax, rax ; +0x26, 0x180089606 jz short loc_180089625 ; +0x29, 0x180089609 mov rcx, rax; this ; +0x2b, 0x18008960b call ??0CCObject@cocos2d@@QEAA@XZ; cocos2d::CCObject::CCObject(void) ; +0x2e, 0x18008960e lea rax, ??_7CCShaderCache@cocos2d@@6B@; const cocos2d::CCShaderCache::`vftable' ; +0x33, 0x180089613 mov [rbx], rax ; +0x3a, 0x18008961a xor edi, edi ; +0x3d, 0x18008961d mov [rbx+38h], rdi ; +0x3f, 0x18008961f jmp short loc_180089629 ; +0x43, 0x180089623 xor edi, edi ; +0x45, 0x180089625 mov ebx, edi ; +0x47, 0x180089627 mov cs:qword_1801A87B0, rbx ; +0x49, 0x180089629 mov ecx, 48h ; 'H'; Size ; +0x50, 0x180089630 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x55, 0x180089635 mov [rsp+28h+arg_0], rax ; +0x5a, 0x18008963a test rax, rax ; +0x5f, 0x18008963f jz short loc_18008964F ; +0x62, 0x180089642 mov rcx, rax; this ; +0x64, 0x180089644 call ??0CCDictionary@cocos2d@@QEAA@XZ; cocos2d::CCDictionary::CCDictionary(void) ; +0x67, 0x180089647 mov rdi, rax ; +0x6c, 0x18008964c mov [rbx+38h], rdi ; +0x6f, 0x18008964f mov rcx, rbx; this ; +0x73, 0x180089653 call ?loadDefaultShaders@CCShaderCache@cocos2d@@QEAAXXZ; cocos2d::CCShaderCache::loadDefaultShaders(void) ; +0x76, 0x180089656 mov rax, cs:qword_1801A87B0 ; +0x7b, 0x18008965b mov rbx, [rsp+28h+arg_8] ; +0x82, 0x180089662 add rsp, 20h ; +0x87, 0x180089667 pop rdi ; +0x8b, 0x18008966b retn ; +0x8c, 0x18008966c