// // cocos2d::extension::CCScale9Sprite::setColor from 0x5a6224 to 0x5a6288 (100 bytes) // // 1 xrefs: // > `non-virtual thunk to'cocos2d::extension::CCScale9Sprite::setColor @ 0x5a6294 // // 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 cocos2d::extension::CCScale9Sprite::setColor(cocos2d::extension::CCScale9Sprite *a1, const cocos2d::ccColor3B *a2) { cocos2d::CCSpriteBatchNode *scale9Image; // r3 int v4; // r0 _DWORD *v5; // r2 const void **v6; // r4 const void **v7; // r5 const void *v8; // r0 const void *v9; // t1 void (__fastcall ***v10)(void *, const cocos2d::ccColor3B *); // r0 scale9Image = a1->_scale9Image; if ( scale9Image ) { a1->_color = *a2; v4 = (int)scale9Image->getChildren(scale9Image); if ( v4 ) { v5 = *(_DWORD **)(v4 + 52); if ( *v5 ) { v6 = (const void **)v5[3]; v7 = &v6[*v5] + 0x3FFFFFFF; while ( v6 <= v7 ) { v9 = *v6++; v8 = v9; if ( !v9 ) break; v10 = (void (__fastcall ***)(void *, const cocos2d::ccColor3B *))_dynamic_cast( v8, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); if ( v10 ) (**v10)(v10, a2); } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source