// // EditorUI::editorLayerForArray from 0x7c2a38 to 0x7c2ae8 (176 bytes) // // 5 xrefs: // > EditorUI::onGoToLayer @ 0x7c6344 // > EditorUI::onGoToLayer @ 0x7c6358 // > EditorUI::updateButtons @ 0x7c8618 // > EditorUI::updateButtons @ 0x7c8630 // > @ 0x61558 // // 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:54:07 +0000 // __int64 __fastcall EditorUI::editorLayerForArray(EditorUI *this, cocos2d::CCArray *a2, unsigned __int8 a3) { int v3; // w22 unsigned int v5; // w19 unsigned int v6; // w20 bool v7; // cf unsigned int v8; // w1 cocos2d::CCArray *v9; // x0 __int64 v10; // x0 unsigned int v11; // w0 v3 = a3; if ( a2 ) { v5 = 0; v6 = -1; v7 = (unsigned int)cocos2d::CCArray::count(a2) == 0; v8 = 0; v9 = a2; if ( v7 ) { LABEL_9: if ( v6 != -1 ) return v6; } else { while ( 1 ) { v10 = cocos2d::CCArray::objectAtIndex(v9, v8); v11 = v3 ? *(__int16 *)(v10 + 1204) : *(__int16 *)(v10 + 1202); ++v5; if ( v6 != -1 && v6 != v11 ) break; v6 = v11; v7 = v5 >= (unsigned int)cocos2d::CCArray::count(a2); v8 = v5; v9 = a2; if ( v7 ) goto LABEL_9; } } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source