// // DrawGridLayer::create from 0x463d60 to 0x463e42 (226 bytes) // // 1 xrefs: // > LevelEditorLayer::init @ 0x4761e2 // // 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:48:54 +0000 // cocos2d::CCLayer *__fastcall DrawGridLayer::create(DrawGridLayer *this, cocos2d::CCNode *a2, LevelEditorLayer *a3) { cocos2d::CCLayer *v5; // r4 int v6; // r3 int *v7; // r0 v5 = (cocos2d::CCLayer *)operator new(0x1C0u); cocos2d::CCLayer::CCLayer(v5); *((_QWORD *)v5 + 51) = 0; *(_DWORD *)v5 = &off_C94BB0; *((_DWORD *)v5 + 66) = &off_C94DF8; *((_DWORD *)v5 + 67) = &off_C94E30; *((_DWORD *)v5 + 68) = &off_C94E3C; *((_DWORD *)v5 + 69) = &off_C94E4C; *((_DWORD *)v5 + 70) = &off_C94E60; *((_DWORD *)v5 + 86) = 1065353216; *((_DWORD *)v5 + 82) = 0; *((_DWORD *)v5 + 83) = 0; *((_DWORD *)v5 + 84) = 0; *((_DWORD *)v5 + 85) = 0; *((_BYTE *)v5 + 368) = 0; *((_DWORD *)v5 + 94) = 0; *((_DWORD *)v5 + 95) = 0; *((_DWORD *)v5 + 96) = 0; *((_DWORD *)v5 + 97) = 0; *((_DWORD *)v5 + 98) = 0; *((_DWORD *)v5 + 99) = 0; *((_DWORD *)v5 + 100) = 0; *((_DWORD *)v5 + 101) = 0; *((_BYTE *)v5 + 440) = 0; *((_BYTE *)v5 + 441) = 0; *((_DWORD *)v5 + 87) = -1082130432; *((_DWORD *)v5 + 89) = 0; *((_DWORD *)v5 + 90) = 0; *((_DWORD *)v5 + 91) = 0; *((_DWORD *)v5 + 104) = 0; *((_DWORD *)v5 + 111) = 1106247680; if ( DrawGridLayer::init(v5, this, a2) ) { cocos2d::CCObject::autorelease(v5); } else { v6 = *(_DWORD *)v5; v7 = (int *)v5; v5 = nullptr; (*(void (__fastcall **)(int *))(v6 + 8))(v7); } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source