// // SetupSmartBlockLayer::create from 0x1004e5c20 to 0x1004e5d8a (362 bytes) // // 1 xrefs: // > EditorUI::editObjectSpecial @ 0x100049771 // // 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 // SetupSmartBlockLayer *__fastcall SetupSmartBlockLayer::create(SmartGameObject *a1, cocos2d::CCArray *a2) { char *v2; // rbx v2 = (char *)operator new(0x2A8u); cocos2d::CCLayerColor::CCLayerColor((__int64)v2); *((_QWORD *)v2 + 72) = 0; *((_DWORD *)v2 + 146) = 0; v2[588] = 0; *((_OWORD *)v2 + 34) = 0; *(_OWORD *)(v2 + 553) = 0; *((_OWORD *)v2 + 37) = 0; *((_QWORD *)v2 + 76) = 0; *((_DWORD *)v2 + 154) = -1; *((_WORD *)v2 + 310) = 0; *((_DWORD *)v2 + 156) = -1; v2[628] = 0; *(_QWORD *)v2 = off_100956208; *((_QWORD *)v2 + 40) = off_100956730; *((_QWORD *)v2 + 41) = &off_1009567A0; *((_QWORD *)v2 + 42) = off_1009567B8; *((_QWORD *)v2 + 43) = off_1009567D8; *((_QWORD *)v2 + 44) = off_1009567F8; *((_QWORD *)v2 + 51) = off_100956820; *((_QWORD *)v2 + 54) = off_1009568A0; *((_QWORD *)v2 + 79) = off_1009568C0; *((_QWORD *)v2 + 80) = &off_100956908; *(_DWORD *)(v2 + 651) = 0; *((_DWORD *)v2 + 162) = 0; *((_DWORD *)v2 + 164) = -1; *(_OWORD *)(v2 + 664) = 0; if ( SetupSmartBlockLayer::init((SetupSmartBlockLayer *)v2, a1, a2) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2); } else { (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 16LL))(v2); return nullptr; } return (SetupSmartBlockLayer *)v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source