// // CCPartAnimSprite::changeTextureOfID from 0x3c7990 to 0x3c7a22 (146 bytes) // // 0 xrefs: // // 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 CCPartAnimSprite::changeTextureOfID(CCPartAnimSprite *this, const char *a2, const char *a3, int a4) { int v6; // r8 size_t v7; // r0 CCSpritePart *v8; // r6 int result; // r0 size_t v10; // r0 CCPartAnimSprite *v11; // [sp+0h] [bp-10h] BYREF const char *v12; // [sp+4h] [bp-Ch] const char *v13; // [sp+8h] [bp-8h] int v14; // [sp+Ch] [bp-4h] v11 = this; v12 = a2; v13 = a3; v14 = a4; v6 = *((_DWORD *)this + 127); v11 = nullptr; v12 = nullptr; v13 = nullptr; v7 = strlen(a2); std::string::__init((int *)&v11, a2, v7); v8 = (CCSpritePart *)cocos2d::CCDictionary::objectForKey(v6, &v11); result = std::string::~string((int)&v11); if ( v8 ) { if ( a3 ) { v11 = nullptr; v12 = nullptr; v13 = nullptr; v10 = strlen(a3); std::string::__init((int *)&v11, a3, v10); CCSpritePart::updateDisplayFrame((int)v8, (int)&v11); return std::string::~string((int)&v11); } else { return CCSpritePart::resetTextureRect(v8); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source