// // cocos2d::ccDrawInit from 0xd4a7f8 to 0xd4a878 (128 bytes) // // 2 xrefs: // > Java_org_cocos2dx_lib_Cocos2dxRenderer_nativeInit @ 0x63f9d0 // > @ 0xa2250 // // 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 13:07:37 +0000 // __int64 __fastcall cocos2d::ccDrawInit(cocos2d *this) { __int64 result; // x0 cocos2d::CCShaderCache *v2; // x0 result = (unsigned __int8)byte_1560140; if ( !byte_1560140 ) { v2 = (cocos2d::CCShaderCache *)cocos2d::CCShaderCache::sharedShaderCache(nullptr); qword_1560138 = cocos2d::CCShaderCache::programForKey(v2, "ShaderPosition_uColor"); cocos2d::CCObject::retain(qword_1560138); dword_154A088 = glGetUniformLocation(); dword_154A08C = glGetUniformLocation(); byte_1560140 = 1; return 1; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source