// // cocos2d::CCSprite::setChildColor from 0x18008c250 to 0x18008c2f3 (163 bytes) // // 9 xrefs: // > @ 0x1800ebc20 // > @ 0x1800ec0f8 // > @ 0x1800ecc78 // > @ 0x180103b30 // > @ 0x180106b28 // > @ 0x18013d48c // > @ 0x18013d4e4 // > @ 0x1801438a8 // > @ 0x1801b5c88 // // 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::setChildColor(cocos2d::CCSprite *this, const struct cocos2d::_ccColor3B *a2) { cocos2d::CCArray *m_pChildren; // rax cocos2d::ccArray *data; // rbx __int64 num; // rax cocos2d::CCObject **arr; // rbx cocos2d::CCObject **i; // rdi __int64 v8; // rax 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; v8 = _RTDynamicCast( *arr, 0, &cocos2d::CCObject `RTTI Type Descriptor', &cocos2d::CCSprite `RTTI Type Descriptor', 0); if ( v8 ) (**(void (__fastcall ***)(__int64, const struct cocos2d::_ccColor3B *))(v8 + 320))(v8 + 320, a2); } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source