// // LevelEditorLayer::findGameObject from 0x1000e2130 to 0x1000e2180 (80 bytes) // // 1 xrefs: // > EditorUI::findAndSelectObject @ 0x1000333fb // // 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 // GameObject *__fastcall LevelEditorLayer::findGameObject(LevelEditorLayer *a1, int a2) { cocos2d::CCArray *m_objects; // rax cocos2d::ccArray *data; // rax GameObject **arr; // rcx unsigned __int64 v5; // rdx GameObject *result; // rax m_objects = a1->m_objects; if ( !m_objects ) return nullptr; data = m_objects->data; if ( data->num ) { arr = (GameObject **)data->arr; v5 = (unsigned __int64)&arr[data->num - 1]; do { result = *arr; if ( !*arr ) break; if ( result->m_uniqueID == a2 ) return result; ++arr; } while ( (unsigned __int64)arr <= v5 ); } return nullptr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source