// // ObjectToolbox::sharedState from 0x1404a1be0 to 0x1404a1c9a (186 bytes) // // 40 xrefs: // > EditorUI::updateGridNodeSize_1 @ 0x1401ae262 // > EditorUI::updateGridNodeSize_1 @ 0x1401ae2ce // > EditorUI::updateGridNodeSize @ 0x1401ae33f // > EditorUI::addObjectsToSmartTemplate @ 0x1401b6128 // > EditorUI::addObjectsToSmartTemplate @ 0x1401b6183 // > EditorUI::addObjectsToSmartTemplate @ 0x1401b61e2 // > EditorUI::addObjectsToSmartTemplate @ 0x1401b6243 // > EditorUI::addObjectsToSmartTemplate @ 0x1401b62a6 // > EditorUI::addObjectsToSmartTemplate @ 0x1401b6314 // > EditorUI::addObjectsToSmartTemplate @ 0x1401b637e // > EditorUI::addObjectsToSmartTemplate @ 0x1401b63ec // > EditorUI::createSmartObjectsFromType @ 0x1401b793c // > EditorUI::getCreateBtn @ 0x1401f1467 // > EditorUI::updateDeleteButtons @ 0x1401f53ce // > EditorUI::updateDeleteButtons @ 0x1401f54e3 // > EditorUI::updateDeleteButtons @ 0x1401f5698 // > GameObject::createWithKey @ 0x140288948 // > GameObject::objectFromVector @ 0x14029a3d3 // > GameObject::playDestroyObjectAnim @ 0x1402a809f // > GameObject::setupCustomSprites @ 0x1402ae98a // > GameObject::setupCustomSprites @ 0x1402b273e // > GameObject::setupCustomSprites @ 0x1402b799f // > GJBaseGameLayer::addGuideArt @ 0x1403502ca // > GJBaseGameLayer::addGuideArt @ 0x140350573 // > GJBaseGameLayer::addGuideArt @ 0x140350801 // > GJSmartTemplate::offsetForDir @ 0x1403b9a54 // > GJSmartTemplate::keyFromNeighbors @ 0x1403ba089 // > GJSmartTemplate::keyFromNeighbors @ 0x1403ba0e4 // > GJSmartTemplate::keyFromNeighbors @ 0x1403ba122 // > GJSmartTemplate::keyFromNeighbors @ 0x1403ba15c // > GJSmartTemplate::keyFromNeighbors @ 0x1403ba19a // > GJSmartTemplate::keyFromNeighbors @ 0x1403ba1d3 // > GJSmartTemplate::keyFromNeighbors @ 0x1403ba210 // > GJSmartTemplate::keyFromNeighbors @ 0x1403ba249 // > GJSmartBlockPreview::addTemplateGuide_1 @ 0x1403bc482 // > LevelEditorLayer::createObject @ 0x1403f087d // > SelectArtLayer::init @ 0x14045b983 // > LoadingLayer::loadAssets @ 0x140469f30 // > PlayLayer::setupHasCompleted @ 0x1405057e6 // > @ 0x140929564 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // 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:32:57 +0000 // // Hidden C++ exception states: #wind=2 __int64 ObjectToolbox::sharedState() { __int64 result; // rax _QWORD *v1; // rax void (__fastcall *v2)(cocos2d::CCNode *); // rdx cocos2d::CCNode *v3; // [rsp+30h] [rbp+8h] result = qword_14090C078; if ( !qword_14090C078 ) { v3 = (cocos2d::CCNode *)operator new(0x150u); cocos2d::CCNode::CCNode(v3); *(_QWORD *)v3 = &ObjectToolbox::`vftable'; *((_QWORD *)v3 + 40) = 0; *((_QWORD *)v3 + 41) = 0; v1 = operator new(0x48u); *v1 = v1; v1[1] = v1; v1[2] = v1; *((_WORD *)v1 + 12) = 257; *((_QWORD *)v3 + 40) = v1; qword_14090C078 = (__int64)v3; v2 = *(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v3 + 72LL); if ( (char *)v2 == (char *)ObjectToolbox::init ) ObjectToolbox::init(v3); else v2(v3); return qword_14090C078; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source