// // CCSpritePart::createWithSpriteFrameName from 0x3c77b0 to 0x3c7882 (210 bytes) // // 1 xrefs: // > CCPartAnimSprite::initWithAnimDesc @ 0x3c7bee // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:46:35 +0000 // int __fastcall CCSpritePart::createWithSpriteFrameName(CCSpritePart *this, const char *a2, int a3, int a4) { int v5; // r4 size_t v6; // r0 CCSpritePart *v8; // [sp+0h] [bp-10h] BYREF const char *v9; // [sp+4h] [bp-Ch] int v10; // [sp+8h] [bp-8h] int v11; // [sp+Ch] [bp-4h] v8 = this; v9 = a2; v10 = a3; v11 = a4; v5 = operator new(0x218u); cocos2d::CCSprite::CCSprite((cocos2d::CCSprite *)v5); *(_DWORD *)(v5 + 508) = 0; *(_DWORD *)(v5 + 512) = 0; *(_BYTE *)(v5 + 516) = 0; *(_DWORD *)v5 = &off_C855F0; *(_BYTE *)(v5 + 517) = 0; *(_BYTE *)(v5 + 518) = 0; *(_DWORD *)(v5 + 264) = &off_C8586C; *(_DWORD *)(v5 + 280) = &off_C858AC; *(_BYTE *)(v5 + 519) = 0; *(_DWORD *)(v5 + 520) = 0; *(_DWORD *)(v5 + 524) = 0; *(_DWORD *)(v5 + 528) = 0; *(_DWORD *)(v5 + 532) = 0; if ( CCSpritePlus::initWithSpriteFrameName((CCSpritePlus *)v5, (const char *)this) ) { v8 = nullptr; v9 = nullptr; v10 = 0; v6 = strlen((const char *)this); std::string::__init((int *)&v8, this, v6); std::string::operator=((unsigned __int8 *)(v5 + 520), (unsigned __int8 *)&v8); std::string::~string((int)&v8); cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5); return v5; } else { (*(void (__fastcall **)(int))(*(_DWORD *)v5 + 8))(v5); return 0; } }