// // GameObject::getParentMode from 0x10025c238 to 0x10025c29c (100 bytes) // // 6 xrefs: // > SetGroupIDLayer::init @ 0x10003bfc4 // > SetGroupIDLayer::init @ 0x10003c014 // > GameObject::addColorSpriteToParent @ 0x100256460 // > GameObject::claimParticle @ 0x10025be10 // > GameObject::addMainSpriteToParent @ 0x10025cdb0 // > GameObject::playDestroyObjectAnim @ 0x10034a1cc // // 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 // int __fastcall GameObject::getParentMode(GameObject *a1) { unsigned int m_parentMode; // w8 m_parentMode = (unsigned __int16)a1->m_parentMode; if ( m_parentMode == 0xFFFF ) { if ( a1->m_addToNodeContainer ) { LOWORD(m_parentMode) = 4; } else if ( a1->m_unk40C ) { LOWORD(m_parentMode) = 1; } else { m_parentMode = a1->m_objectID - 142; if ( m_parentMode >> 1 > 0x896 ) LOWORD(m_parentMode) = 0; else LOWORD(m_parentMode) = word_1006404D0[m_parentMode]; } a1->m_parentMode = m_parentMode; } return (__int16)m_parentMode; }
GD Web Decomp Icon

GD Web Decomp

Raw Source