// // CCBlockLayer::create from 0x3c59a8 to 0x3c5a30 (136 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:34 +0000 // cocos2d::CCLayerColor *__fastcall CCBlockLayer::create(CCBlockLayer *this) { cocos2d::CCLayerColor *v1; // r4 int v2; // r3 int *v3; // r0 v1 = (cocos2d::CCLayerColor *)operator new(0x1BCu); cocos2d::CCLayerColor::CCLayerColor(v1); *(_DWORD *)v1 = &off_C84478; *((_DWORD *)v1 + 66) = &off_C84734; *((_DWORD *)v1 + 67) = &off_C8476C; *((_DWORD *)v1 + 68) = &off_C84778; *((_DWORD *)v1 + 69) = &off_C84788; *((_DWORD *)v1 + 70) = &off_C8479C; *((_DWORD *)v1 + 79) = &off_C847B4; *((_DWORD *)v1 + 83) = &off_C847F4; *((_BYTE *)v1 + 440) = 0; *((_BYTE *)v1 + 441) = 0; if ( CCBlockLayer::init(v1) ) { cocos2d::CCObject::autorelease(v1); } else { v2 = *(_DWORD *)v1; v3 = (int *)v1; v1 = nullptr; (*(void (__fastcall **)(int *))(v2 + 8))(v3); } return v1; }