// // GameObject::parentForZLayer from 0x14019bee0 to 0x14019bfb6 (214 bytes) // // 8 xrefs: // > GameObject::activateObject @ 0x140190b55 // > GameObject::claimParticle @ 0x140198dd5 // > GameObject::addMainSpriteToParent @ 0x14019be1a // > GameObject::addColorSpriteToParent @ 0x14019c0f0 // > GameObject::playDestroyObjectAnim @ 0x1401aaff4 // > ParticleGameObject::addMainSpriteToParent @ 0x14049ff84 // > AnimatedGameObject::activateObject @ 0x1404a3b8c // > @ 0x1406cbd0c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=2 cocos2d::CCNode *GameObject::parentForZLayer(GameObject *a1, int a2, bool a3, int a4) { bool v8; // zf __int64 v9; // rcx GJBaseGameLayer *v10; // rcx void *v12; // [rsp+40h] [rbp+8h] void *v13; // [rsp+40h] [rbp+8h] v8 = !a1->m_editorEnabled; v9 = qword_1406C2ED8; if ( v8 ) { if ( !qword_1406C2ED8 ) { v13 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v13); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v9 = qword_1406C2ED8; } v10 = *(GJBaseGameLayer **)(v9 + 520); } else { if ( !qword_1406C2ED8 ) { v12 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v12); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v9 = qword_1406C2ED8; } v10 = *(GJBaseGameLayer **)(v9 + 528); } return GJBaseGameLayer::parentForZLayer(v10, a2, a3, a4, a1->m_isUIObject); }