// // DrawGridLayer::init from 0x463c48 to 0x463d4a (258 bytes) // // 1 xrefs: // > DrawGridLayer::create @ 0x463e1a // // 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::CCArray *__fastcall DrawGridLayer::init(DrawGridLayer *this, cocos2d::CCNode *a2, LevelEditorLayer *a3) { cocos2d::CCArray *v6; // r0 cocos2d::CCArray *v7; // r7 cocos2d::CCObject *v8; // r0 cocos2d::CCArray *v9; // r0 cocos2d::CCObject *v10; // r0 cocos2d::CCArray *v11; // r0 cocos2d::CCObject *v12; // r0 char *v13; // r0 cocos2d::CCPoint *v14; // r8 void *v15; // r5 cocos2d::CCPoint *v16; // r6 char *v17; // r0 cocos2d::CCPoint *v18; // r8 void *v19; // r5 cocos2d::CCPoint *v20; // r6 char *v21; // r0 cocos2d::CCPoint *v22; // r8 void *v23; // r5 cocos2d::CCPoint *v24; // r6 v6 = (cocos2d::CCArray *)cocos2d::CCLayer::init(this); v7 = v6; if ( v6 ) { *((_DWORD *)this + 97) = a2; *((_DWORD *)this + 98) = 0; *((_DWORD *)this + 93) = a3; v8 = (cocos2d::CCObject *)cocos2d::CCArray::create(v6); *((_DWORD *)this + 99) = v8; v9 = (cocos2d::CCArray *)cocos2d::CCObject::retain(v8); v10 = (cocos2d::CCObject *)cocos2d::CCArray::create(v9); *((_DWORD *)this + 100) = v10; v11 = (cocos2d::CCArray *)cocos2d::CCObject::retain(v10); v12 = (cocos2d::CCObject *)cocos2d::CCArray::create(v11); *((_DWORD *)this + 101) = v12; cocos2d::CCObject::retain(v12); *((_DWORD *)this + 107) = 1136768455; *((_DWORD *)this + 105) = 1132144891; *((_DWORD *)this + 108) = 1139408901; *((_DWORD *)this + 106) = 1134283329; *((_DWORD *)this + 104) = 1134283329; *((_DWORD *)this + 109) = 1141899267; v13 = (char *)operator new[](0x2580u); v14 = (cocos2d::CCPoint *)(v13 + 9600); v15 = v13; v16 = (cocos2d::CCPoint *)v13; do { cocos2d::CCPoint::CCPoint(v16); v16 = (cocos2d::CCPoint *)((char *)v16 + 8); } while ( v16 != v14 ); *((_DWORD *)this + 79) = v15; memset(v15, 0, 0x2580u); v17 = (char *)operator new[](0x2580u); v18 = (cocos2d::CCPoint *)(v17 + 9600); v19 = v17; v20 = (cocos2d::CCPoint *)v17; do { cocos2d::CCPoint::CCPoint(v20); v20 = (cocos2d::CCPoint *)((char *)v20 + 8); } while ( v20 != v18 ); *((_DWORD *)this + 80) = v19; memset(v19, 0, 0x2580u); v21 = (char *)operator new[](0x2580u); v22 = (cocos2d::CCPoint *)(v21 + 9600); v23 = v21; v24 = (cocos2d::CCPoint *)v21; do { cocos2d::CCPoint::CCPoint(v24); v24 = (cocos2d::CCPoint *)((char *)v24 + 8); } while ( v24 != v22 ); *((_DWORD *)this + 81) = v23; memset(v23, 0, 0x2580u); } return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source