// // ObjectToolbox::intKeyToFrame from 0x54813c to 0x5481e6 (170 bytes) // // 17 xrefs: // > PlayLayer::setupHasCompleted @ 0x40a6f0 // > GameObject::createWithKey @ 0x45b386 // > GameObject::objectFromVector @ 0x45bd68 // > LevelEditorLayer::createObject @ 0x46eb00 // > GJBaseGameLayer::addGuideArt @ 0x5a0506 // > GJBaseGameLayer::addGuideArt @ 0x5a06b4 // > GJBaseGameLayer::addGuideArt @ 0x5a0894 // > GameObject::setupCustomSprites @ 0x644016 // > GameObject::setupCustomSprites @ 0x6540dc // > GameObject::setupCustomSprites @ 0x6547d2 // > GameObject::playDestroyObjectAnim @ 0x65f244 // > GJSmartBlockPreview::addTemplateGuide @ 0x6705aa // > SelectArtLayer::init @ 0x6a9990 // > EditorUI::updateDeleteButtons @ 0x6f623c // > EditorUI::updateDeleteButtons @ 0x6f62ae // > EditorUI::updateDeleteButtons @ 0x6f64ca // > EditorUI::getCreateBtn @ 0x6f8108 // // 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:52:24 +0000 // char *__fastcall ObjectToolbox::intKeyToFrame(ObjectToolbox *this, int a2) { _DWORD *v4; // r0 int v5; // r3 _DWORD *v6; // r3 _DWORD *v7; // r5 _DWORD *v8; // r4 _DWORD *v9; // r0 int v10; // r3 int v11; // r3 _DWORD v13[2]; // [sp+0h] [bp-8h] BYREF v13[0] = this; v13[1] = a2; v4 = *((_DWORD **)this + 67); if ( v4 ) { while ( 1 ) { v5 = v4[4]; if ( a2 >= v5 ) { if ( v5 >= a2 ) { v13[0] = v4; v7 = v13; goto LABEL_11; } v6 = (_DWORD *)v4[1]; if ( !v6 ) { v13[0] = v4; v7 = v4 + 1; goto LABEL_11; } } else { v6 = (_DWORD *)*v4; if ( !*v4 ) { v13[0] = v4; v7 = v4; goto LABEL_11; } } v4 = v6; } } v7 = (_DWORD *)((char *)this + 268); v13[0] = (char *)this + 268; LABEL_11: v8 = (_DWORD *)*v7; if ( !*v7 ) { v9 = (_DWORD *)operator new(0x20u); v9[5] = 0; v8 = v9; v9[6] = 0; v9[7] = 0; *v9 = 0; v9[1] = 0; v10 = v13[0]; v9[4] = a2; v9[2] = v10; *v7 = v9; v11 = **((_DWORD **)this + 66); if ( v11 ) *((_DWORD *)this + 66) = v11; std::__tree_balance_after_insert *>(*((_DWORD **)this + 67), (_DWORD *)*v7); ++*((_DWORD *)this + 68); } if ( (v8[5] & 1) != 0 ) return (char *)v8[7]; else return (char *)v8 + 21; }
GD Web Decomp Icon

GD Web Decomp

Raw Source