// // CCSpriteGrayscale::create from 0x6de0b0 to 0x6de188 (216 bytes) // // 1 xrefs: // > @ 0xb9560 // // 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 12:51:35 +0000 // cocos2d::CCSprite *__fastcall CCSpriteGrayscale::create(char *a1) { cocos2d::CCSprite *v2; // x0 cocos2d::CCSprite *v3; // x19 const char *v4; // x1 char v5; // w2 v2 = (cocos2d::CCSprite *)operator new(0x298u, (const std::nothrow_t *)&std::nothrow); v3 = v2; if ( v2 ) { memset(v2, 0, 0x298u); cocos2d::CCSprite::CCSprite(v3); v4 = a1 + 1; v5 = *a1; *(_QWORD *)v3 = &off_1423C80; *((_QWORD *)v3 + 40) = &off_1424180; *((_QWORD *)v3 + 43) = &off_1424200; if ( (v5 & 1) != 0 ) v4 = *((const char **)a1 + 2); if ( (unsigned __int8)cocos2d::CCSprite::initWithFile(v3, v4) ) { cocos2d::CCObject::autorelease(v3); return v3; } (*(void (__fastcall **)(cocos2d::CCSprite *))(*(_QWORD *)v3 + 16LL))(v3); } return nullptr; }