// // cocos2d::extension::CCScale9Sprite::setColor from 0x1002b2de4 to 0x1002b2e9c (184 bytes) // // 2 xrefs: // > sub_1002B2E9C @ 0x1002b2ea0 // > @ 0x10091b710 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:02:21 +0000 // _QWORD *__fastcall cocos2d::extension::CCScale9Sprite::setColor(__int64 a1, __int16 *a2) { _QWORD *result; // x0 __int16 v5; // w9 unsigned int *v6; // x9 __int64 v7; // x8 _QWORD **v8; // x22 unsigned __int64 v9; // x23 result = *(_QWORD **)(a1 + 432); if ( result ) { v5 = *a2; *(_BYTE *)(a1 + 516) = *((_BYTE *)a2 + 2); *(_WORD *)(a1 + 514) = v5; result = (_QWORD *)(*(__int64 (__fastcall **)(_QWORD *))(*result + 488LL))(result); if ( result ) { v6 = (unsigned int *)result[7]; v7 = *v6; if ( (_DWORD)v7 ) { v8 = *((_QWORD ***)v6 + 2); v9 = (unsigned __int64)&v8[v7 - 1]; do { result = *v8; if ( !*v8 ) break; result = __dynamic_cast( result, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&off_1008BD768, -2); if ( result ) result = (_QWORD *)(*(__int64 (__fastcall **)(_QWORD *, __int16 *))*result)(result, a2); ++v8; } while ( (unsigned __int64)v8 <= v9 ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source