// // EditorUI::editorLayerForArray from 0x48258a to 0x4825d0 (70 bytes) // // 4 xrefs: // > EditorUI::onGoToLayer @ 0x4843e4 // > EditorUI::onGoToLayer @ 0x4843f2 // > EditorUI::updateButtons @ 0x4861da // > EditorUI::updateButtons @ 0x4861ec // // 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:49:23 +0000 // int __fastcall EditorUI::editorLayerForArray(EditorUI *this, cocos2d::CCArray *a2, int a3) { unsigned int v5; // r6 int v6; // r5 int v7; // r0 int v8; // r3 if ( !a2 ) return 0; v5 = 0; v6 = -1; while ( v5 < cocos2d::CCArray::count(a2) ) { v7 = cocos2d::CCArray::objectAtIndex(a2, v5); if ( a3 ) v8 = *(__int16 *)(v7 + 1040); else v8 = *(__int16 *)(v7 + 1038); if ( v6 != -1 && v6 != v8 ) return 0; ++v5; v6 = v8; } if ( v6 == -1 ) return 0; else return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source