// // CCSpriteGrayscale::createWithSpriteFrame from 0x1006c4180 to 0x1006c423f (191 bytes) // // 1 xrefs: // > CCSpriteGrayscale::createWithSpriteFrameName @ 0x1006c4290 // // This function is hookable on this platform (idp: pc, 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:35:33 +0000 // __int64 (__fastcall ***__fastcall CCSpriteGrayscale::createWithSpriteFrame(__int64 a1))() { __int64 (__fastcall ***v1)(); // rax __int64 (__fastcall ***v2)(); // rbx __int64 (__fastcall **v3)(); // rax __int64 Texture; // rax char v5; // r15 v1 = (__int64 (__fastcall ***)())operator new(0x298u, &std::nothrow); if ( !v1 ) return nullptr; v2 = v1; __bzero(v1, 664); cocos2d::CCSprite::CCSprite((__int64)v2); v3 = off_100B8DBB8; *v2 = off_100B8DBB8; v2[40] = off_100B8E0B8; v2[43] = off_100B8E138; if ( !a1 ) { LABEL_6: ((void (__fastcall *)(__int64 (__fastcall ***)()))v3[2])(v2); return nullptr; } Texture = cocos2d::CCSpriteFrame::getTexture(a1); v5 = ((__int64 (__fastcall *)(__int64 (__fastcall ***)(), __int64, __int64))(*v2)[127])(v2, Texture, a1 + 92); ((void (__fastcall *)(__int64 (__fastcall ***)(), __int64))(*v2)[145])(v2, a1); if ( !v5 ) { v3 = *v2; goto LABEL_6; } cocos2d::CCObject::autorelease((__int64)v2); return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source