// // EditorUI::editorLayerForArray from 0x100473f48 to 0x100473fe4 (156 bytes) // // 4 xrefs: // > EditorUI::onGoToLayer @ 0x100472c3c // > EditorUI::onGoToLayer @ 0x100472c4c // > EditorUI::updateButtons @ 0x10047317c // > EditorUI::updateButtons @ 0x100473190 // // 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 11:05:39 +0000 // __int64 __fastcall EditorUI::editorLayerForArray(__int64 a1, __int64 a2, int a3) { unsigned int v5; // w20 __int64 v6; // x22 __int64 v7; // x21 __int64 v8; // x0 if ( !a2 || !(unsigned int)sub_1002E757C(a2) ) return 0; v5 = 0; v6 = a3 ? 1204LL : 1202LL; v7 = 0xFFFFFFFFLL; do { v8 = sub_1002E75A0(a2, v5); if ( (_DWORD)v7 == -1 ) { v7 = (unsigned int)*(__int16 *)(v8 + v6); } else if ( (_DWORD)v7 != *(__int16 *)(v8 + v6) ) { return 0; } ++v5; } while ( v5 < (unsigned int)sub_1002E757C(a2) ); if ( (_DWORD)v7 == -1 ) return 0; return v7; }
GD Web Decomp Icon

GD Web Decomp

Raw Source