// // DrawGridLayer::init from 0x100100d30 to 0x100100e96 (358 bytes) // // 1 xrefs: // > DrawGridLayer::create @ 0x1000dcc0f // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool __fastcall DrawGridLayer::init(DrawGridLayer *a1, cocos2d::CCNode *a2, LevelEditorLayer *a3) { bool result; // al bool v6; // r12 cocos2d::CCArray *v7; // rax cocos2d::CCArray *v8; // rdi cocos2d::CCArray *v9; // rax cocos2d::CCArray *v10; // rdi cocos2d::CCArray *v11; // rax std::array *v12; // r14 __int64 i; // r15 std::array *v14; // r14 __int64 j; // r15 std::array *v16; // r14 __int64 k; // r15 result = cocos2d::CCLayer::init(a1); if ( result ) { v6 = result; a1->m_objectLayer = a2; a1->m_editorLayer = a3; a1->m_timeMarkers = nullptr; v7 = (cocos2d::CCArray *)sub_10071F9E0(a1, a2); a1->m_effectGameObjects = v7; v8 = v7; cocos2d::CCObject::retain(v7); v9 = (cocos2d::CCArray *)sub_10071F9E0(v8, a2); a1->m_guideObjects = v9; v10 = v9; cocos2d::CCObject::retain(v9); v11 = (cocos2d::CCArray *)sub_10071F9E0(v10, a2); a1->m_speedObjects = v11; cocos2d::CCObject::retain(v11); *(_QWORD *)&a1->m_fasterSpeed = 0x4410000343EA0005LL; *(_OWORD *)&a1->m_currentSpeed = xmmword_100816630; v12 = (std::array *)operator new[](0xC80u); for ( i = 0; i != 3200; i += 8 ) sub_10028CC30((char *)v12 + i); a1->m_pointArray1 = v12; __bzero(v12, 3200); v14 = (std::array *)operator new[](0xC80u); for ( j = 0; j != 3200; j += 8 ) sub_10028CC30((char *)v14 + j); a1->m_pointArray2 = v14; __bzero(v14, 3200); v16 = (std::array *)operator new[](0xC80u); for ( k = 0; k != 3200; k += 8 ) sub_10028CC30((char *)v16 + k); a1->m_pointArray3 = v16; __bzero(v16, 3200); return v6; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source