// // cocos2d::CCSprite::setChildColor from 0x10028a920 to 0x10028a9c4 (164 bytes) // // 31 xrefs: // > @ 0x1008b41f8 // > @ 0x1008b81e0 // > @ 0x1008dd5a8 // > @ 0x1008e0ad8 // > @ 0x1008f0750 // > @ 0x1008f3ae0 // > @ 0x100904ed8 // > @ 0x100909ab0 // > @ 0x10090bae8 // > @ 0x100913590 // > @ 0x100914838 // > @ 0x1009153c8 // > @ 0x10091c158 // > @ 0x10091c6e0 // > @ 0x10091db38 // > @ 0x10091e0d8 // > @ 0x100928108 // > @ 0x10092ae60 // > @ 0x100934360 // > @ 0x10093ca00 // > @ 0x10093cfb0 // > @ 0x100942240 // > @ 0x10094e958 // > @ 0x100974a80 // > @ 0x100975038 // > @ 0x1009755f0 // > @ 0x10097a5e0 // > @ 0x10097ab98 // > @ 0x100985668 // > @ 0x100991a50 // > @ 0x100996278 // // 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 *a1, const cocos2d::ccColor3B *a2) { cocos2d::CCArray *m_pChildren; // rax cocos2d::ccArray *data; // rax const void **arr; // r12 unsigned __int64 v5; // r13 void *v6; // rax if ( a1->m_bHasChildren ) { m_pChildren = a1->m_pChildren; if ( m_pChildren ) { data = m_pChildren->data; if ( data->num ) { arr = (const void **)data->arr; v5 = (unsigned __int64)&arr[data->num - 1]; do { if ( !*arr ) break; v6 = __dynamic_cast( *arr, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCSprite, 0); if ( v6 ) (*(void (__fastcall **)(void *, const cocos2d::ccColor3B *))(*(_QWORD *)v6 + 944LL))(v6, a2); ++arr; } while ( (unsigned __int64)arr <= v5 ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source