// // sub_1006C2CE0 from 0x1006c2ce0 to 0x1006c2d88 (168 bytes) // // 0 xrefs: // // 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:32 +0000 // _QWORD *__fastcall sub_1006C2CE0(__int64 a1, __int64 a2) { _QWORD *v2; // rax _QWORD *v3; // rbx __int64 v4; // r15 v2 = operator new(0x298u, &std::nothrow); if ( !v2 ) return nullptr; v3 = v2; __bzero(v2, 664); cocos2d::CCSprite::CCSprite((__int64)v3); *v3 = off_100B8D5F0; v3[40] = off_100B8DAF0; v3[43] = off_100B8DB70; if ( (*(_BYTE *)a1 & 1) != 0 ) v4 = *(_QWORD *)(a1 + 16); else v4 = a1 + 1; if ( !(unsigned __int8)cocos2d::CCSprite::initWithFile((__int64)v3, v4, a2) ) { (*(void (__fastcall **)(_QWORD *))(*v3 + 16LL))(v3); return nullptr; } cocos2d::CCObject::autorelease((__int64)v3); return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source