// // cocos2d::extension::CCScale9Sprite::setColor from 0x1003f6230 to 0x1003f62e5 (181 bytes) // // 1 xrefs: // > @ 0x100932f60 // // 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::extension::CCScale9Sprite::setColor( cocos2d::extension::CCScale9Sprite *a1, const cocos2d::ccColor3B *a2) { cocos2d::CCSpriteBatchNode *scale9Image; // rdi __int64 v4; // rax unsigned int *v5; // rax const void **v6; // r12 unsigned __int64 v7; // r13 void (__fastcall ***v8)(void *, const cocos2d::ccColor3B *); // rax scale9Image = a1->_scale9Image; if ( scale9Image ) { a1->_color = *a2; v4 = ((__int64 (__fastcall *)(cocos2d::CCSpriteBatchNode *))scale9Image->getChildren)(scale9Image); if ( v4 ) { v5 = *(unsigned int **)(v4 + 56); if ( *v5 ) { v6 = *((const void ***)v5 + 2); v7 = (unsigned __int64)&v6[*v5 - 1]; do { if ( !*v6 ) break; v8 = (void (__fastcall ***)(void *, const cocos2d::ccColor3B *))__dynamic_cast( *v6, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCRGBAProtocol, -2); if ( v8 ) (**v8)(v8, a2); ++v6; } while ( (unsigned __int64)v6 <= v7 ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source