// // DrawGridLayer::create from 0x100357c7c to 0x100357d58 (220 bytes) // // 1 xrefs: // > LevelEditorLayer::init @ 0x10035731c // // 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 // DrawGridLayer *__fastcall DrawGridLayer::create(cocos2d::CCNode *a1, LevelEditorLayer *a2) { char *v4; // x19 v4 = (char *)operator new(0x260u); cocos2d::CCLayer::CCLayer((__int64)v4); *(_QWORD *)v4 = off_1007F4630; *((_QWORD *)v4 + 40) = off_1007F4AB0; *((_QWORD *)v4 + 41) = &off_1007F4B20; *((_QWORD *)v4 + 42) = off_1007F4B38; *((_QWORD *)v4 + 43) = &off_1007F4B58; *((_QWORD *)v4 + 44) = off_1007F4B78; *((_OWORD *)v4 + 27) = 0u; *((_OWORD *)v4 + 28) = 0u; *((_DWORD *)v4 + 116) = 1065353216; *((_DWORD *)v4 + 118) = -1082130432; *((_WORD *)v4 + 300) = 0; *((_QWORD *)v4 + 60) = 0; *(_QWORD *)(v4 + 485) = 0; *(_OWORD *)(v4 + 504) = 0u; *(_OWORD *)(v4 + 520) = 0u; *(_OWORD *)(v4 + 536) = 0u; *(_OWORD *)(v4 + 552) = 0u; *(_OWORD *)(v4 + 564) = 0u; *((_DWORD *)v4 + 151) = 1106247680; if ( DrawGridLayer::init((DrawGridLayer *)v4, a1, a2) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4); return nullptr; } return (DrawGridLayer *)v4; }