// // LevelEditorLayer::findGameObject from 0x789ef4 to 0x789f6c (120 bytes) // // 2 xrefs: // > EditorUI::findObject @ 0xbdd7cc // > @ 0x8b048 // // This function is hookable on this platform (idp: arm, 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:53:26 +0000 // __int64 __fastcall LevelEditorLayer::findGameObject(LevelEditorLayer *this, int a2) { __int64 v2; // x0 unsigned int *v3; // x2 unsigned int v4; // w0 __int64 *v5; // x2 __int64 v6; // x4 __int64 result; // x0 char *v8; // x4 __int64 v9; // x3 v2 = *((_QWORD *)this + 410); if ( !v2 ) return 0; v3 = *(unsigned int **)(v2 + 56); v4 = *v3; if ( !*v3 ) return 0; v5 = *((__int64 **)v3 + 2); v6 = 8LL * v4 - 8; result = 0; v8 = (char *)v5 + v6; if ( v5 <= (__int64 *)v8 ) { v9 = *v5; if ( *v5 ) { if ( *(_DWORD *)(v9 + 916) == a2 ) return v9; while ( v8 >= (char *)++v5 ) { v9 = *v5; if ( !*v5 ) break; if ( a2 == *(_DWORD *)(v9 + 916) ) return v9; } return 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source