// // ObjectToolbox::intKeyToFrame from 0x1007f92c0 to 0x1007f938f (207 bytes) // // 17 xrefs: // > PlayLayer::setupHasCompleted @ 0x10007bc12 // > LevelEditorLayer::createObject @ 0x1000afb19 // > GJBaseGameLayer::addGuideArt @ 0x100141d39 // > GJBaseGameLayer::addGuideArt @ 0x100141dd3 // > GJBaseGameLayer::addGuideArt @ 0x100141e40 // > GameObject::playDestroyObjectAnim @ 0x100248dcd // > SelectArtLayer::init @ 0x100259f15 // > GJSmartBlockPreview::addTemplateGuide_1 @ 0x100415a09 // > GameObject::setupCustomSprites @ 0x10043948f // > GameObject::setupCustomSprites @ 0x10043c431 // > GameObject::setupCustomSprites @ 0x100445b8b // > EditorUI::getCreateBtn @ 0x100637f6d // > EditorUI::updateDeleteButtons @ 0x10063be6c // > EditorUI::updateDeleteButtons @ 0x10063bf82 // > EditorUI::updateDeleteButtons @ 0x10063c2ba // > GameObject::createWithKey @ 0x10066eb66 // > GameObject::objectFromVector @ 0x1006914db // // 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 12:36:35 +0000 // char *__fastcall ObjectToolbox::intKeyToFrame(__int64 a1, int a2) { char *v2; // rax _QWORD *v3; // r12 char *v4; // rbx char *v5; // r13 __int64 v6; // rax v2 = *(char **)(a1 + 328); if ( v2 ) { while ( 1 ) { while ( 1 ) { v4 = v2; if ( *((_DWORD *)v2 + 8) <= a2 ) break; v2 = *(char **)v2; v3 = v4; if ( !*(_QWORD *)v4 ) goto LABEL_8; } if ( *((_DWORD *)v2 + 8) >= a2 ) break; v2 = *((char **)v2 + 1); if ( !v2 ) { v3 = v4 + 8; goto LABEL_8; } } } else { v3 = (_QWORD *)(a1 + 328); v4 = (char *)(a1 + 328); LABEL_8: v5 = v4; v4 = (char *)operator new(0x40u); *((_DWORD *)v4 + 8) = a2; *(_OWORD *)(v4 + 40) = 0; *((_QWORD *)v4 + 7) = 0; *(_OWORD *)v4 = 0; *((_QWORD *)v4 + 2) = v5; *v3 = v4; v6 = **(_QWORD **)(a1 + 320); if ( v6 ) *(_QWORD *)(a1 + 320) = v6; sub_10001B680(*(__int64 **)(a1 + 328), (__int64 *)v4); ++*(_QWORD *)(a1 + 336); } if ( (v4[40] & 1) != 0 ) return *((char **)v4 + 7); else return v4 + 41; }
GD Web Decomp Icon

GD Web Decomp

Raw Source