// // cocos2d::CCSprite::setDirtyRecursively from 0x18008c3f0 to 0x18008c467 (119 bytes) // // 9 xrefs: // > @ 0x1800ebca8 // > @ 0x1800ec180 // > @ 0x1800ecd00 // > @ 0x180103bb8 // > @ 0x180106bb0 // > @ 0x18013d6d0 // > @ 0x18013d6e0 // > @ 0x1801438a8 // > @ 0x1801b5d3c // // 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 // void __fastcall cocos2d::CCSprite::setDirtyRecursively(cocos2d::CCSprite *this, bool a2) { cocos2d::CCSprite_vtbl *v2; // rax __int64 v4; // rdx cocos2d::CCArray *m_pChildren; // rax cocos2d::ccArray *data; // rbx __int64 num; // rax cocos2d::CCObject **arr; // rbx cocos2d::CCObject **i; // rdi v2 = this->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; this->m_bRecursiveDirty = a2; ((void (*)(void))v2->setDirty)(); if ( this->m_bHasChildren ) { m_pChildren = this->m_pChildren; if ( m_pChildren ) { data = m_pChildren->data; num = data->num; if ( (_DWORD)num ) { arr = data->arr; for ( i = &arr[num - 1]; arr <= i; ++arr ) { if ( !*arr ) break; LOBYTE(v4) = 1; ((void (__fastcall *)(cocos2d::CCObject *, __int64))(*arr)->__vftable[14].getTag)(*arr, v4); } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source