// // LevelEditorLayer::pasteAttributeState from 0x46254c to 0x4625b8 (108 bytes) // // 2 xrefs: // > SetGroupIDLayer::onPaste @ 0x63b12c // > EditorUI::onPasteState @ 0x6f2904 // // 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:48:53 +0000 // GameObject **__fastcall LevelEditorLayer::pasteAttributeState(GameObject **this, GameObject *a2, cocos2d::CCArray *a3) { GameObject *v4; // r2 LevelEditorLayer *v5; // r6 _DWORD *v7; // r2 GameObject **v8; // r5 GameObject **v9; // r9 GameObject **v10; // r4 GameObject *v11; // r1 GameObject *v12; // t1 GameManager *v13; // r0 v4 = *(this + 2942); v5 = (LevelEditorLayer *)this; if ( v4 ) { if ( a2 ) { this = (GameObject **)LevelEditorLayer::applyAttributeState((LevelEditorLayer *)this, a2, v4); } else if ( a3 ) { v7 = *((_DWORD **)a3 + 13); if ( *v7 ) { v8 = (GameObject **)v7[3]; v9 = this + 2942; v10 = &v8[*v7] + 0x3FFFFFFF; while ( v8 <= v10 ) { v12 = *v8++; v11 = v12; if ( !v12 ) break; this = (GameObject **)LevelEditorLayer::applyAttributeState(v5, v11, *v9); } } } v13 = (GameManager *)GameManager::sharedState((GameManager *)this); this = (GameObject **)GameManager::getGameVariable(v13, "0156"); if ( !this ) return LevelEditorLayer::pasteGroupState((GameObject **)v5, a2, a3); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source