// // GameObject::getParentMode from 0x355854 to 0x355a7e (554 bytes) // // 7 xrefs: // > GameObject::claimParticle @ 0x355ea4 // > GameObject::addMainSpriteToParent @ 0x35621e // > GameObject::addColorSpriteToParent @ 0x356356 // > SetGroupIDLayer::init @ 0x50ae78 // > SetGroupIDLayer::init @ 0x50aeac // > SetGroupIDLayer::init @ 0x50aeb2 // > GameObject::playDestroyObjectAnim @ 0x52b0a4 // // 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 GameObject::getParentMode(GameObject *a1) { int m_objectID; // r3 bool v2; // zf bool v3; // zf int v4; // r2 bool v5; // cc int v6; // r2 __int16 v7; // r3 if ( a1->m_parentMode == -1 ) { if ( a1->m_addToNodeContainer ) goto LABEL_80; if ( a1->m_unk40C ) goto LABEL_82; m_objectID = a1->m_objectID; if ( m_objectID <= 2770 ) { if ( m_objectID >= 2708 ) goto LABEL_82; if ( m_objectID <= 1858 ) { if ( m_objectID >= 1844 ) goto LABEL_81; if ( m_objectID <= 1328 ) { if ( m_objectID >= 1327 ) goto LABEL_81; if ( m_objectID <= 921 ) { if ( m_objectID < 920 ) { if ( m_objectID != 914 ) { if ( m_objectID != 918 ) { v2 = m_objectID == 142; goto LABEL_69; } goto LABEL_81; } v7 = 2; LABEL_86: a1->m_parentMode = v7; return a1->m_parentMode; } LABEL_81: v7 = 3; goto LABEL_86; } if ( (unsigned int)(m_objectID - 923) <= 1 ) goto LABEL_81; LABEL_85: v7 = 0; goto LABEL_86; } if ( m_objectID == 1614 ) goto LABEL_81; if ( m_objectID <= 1614 ) { if ( m_objectID != 1329 ) { v3 = m_objectID == 1584; goto LABEL_30; } goto LABEL_82; } if ( m_objectID == 1618 || m_objectID == 1816 ) goto LABEL_81; if ( m_objectID != 1615 ) goto LABEL_85; LABEL_80: v7 = 4; goto LABEL_86; } if ( m_objectID == 2012 ) goto LABEL_81; if ( m_objectID <= 2012 ) { if ( m_objectID <= 1928 ) { if ( m_objectID < 1919 ) { v3 = m_objectID == 1860; LABEL_30: if ( v3 ) goto LABEL_81; goto LABEL_85; } LABEL_82: v7 = 1; goto LABEL_86; } if ( m_objectID < 1936 ) goto LABEL_85; if ( m_objectID <= 1939 ) goto LABEL_81; v4 = 1964; LABEL_68: v2 = m_objectID == v4; LABEL_69: if ( !v2 ) goto LABEL_85; goto LABEL_82; } if ( m_objectID <= 2700 ) { if ( m_objectID < 2070 ) { if ( m_objectID < 2020 ) goto LABEL_85; if ( m_objectID <= 2055 ) goto LABEL_81; v4 = 2063; goto LABEL_68; } goto LABEL_83; } v5 = (unsigned int)(m_objectID - 2703) > 1; LABEL_55: if ( v5 ) goto LABEL_85; goto LABEL_82; } if ( m_objectID > 3097 ) { if ( m_objectID > 3799 ) { if ( m_objectID > 4399 ) { if ( (unsigned int)(m_objectID - 4401) > 0x8A ) goto LABEL_85; goto LABEL_83; } if ( m_objectID >= 4000 ) { LABEL_83: v7 = 6; goto LABEL_86; } if ( m_objectID < 3801 ) goto LABEL_85; } else { if ( m_objectID >= 3700 ) goto LABEL_83; if ( m_objectID > 3654 ) { if ( (unsigned int)(m_objectID - 3656) > 3 ) goto LABEL_85; } else if ( m_objectID < 3646 ) { if ( m_objectID < 3101 ) goto LABEL_85; if ( m_objectID >= 3600 ) { v4 = 3601; goto LABEL_68; } goto LABEL_83; } } v7 = 8; goto LABEL_86; } if ( m_objectID >= 3092 ) goto LABEL_83; if ( m_objectID > 2897 ) { if ( m_objectID <= 3002 ) { if ( m_objectID >= 3000 ) goto LABEL_81; v5 = (unsigned int)(m_objectID - 2927) > 0x47; goto LABEL_55; } v6 = 3034; } else { if ( m_objectID >= 2895 ) goto LABEL_82; if ( m_objectID > 2865 ) { if ( m_objectID >= 2867 ) goto LABEL_81; goto LABEL_85; } if ( m_objectID >= 2864 ) goto LABEL_81; if ( m_objectID == 2773 ) goto LABEL_82; if ( m_objectID < 2773 ) goto LABEL_85; v6 = 2776; } if ( m_objectID < v6 ) goto LABEL_85; goto LABEL_82; } return a1->m_parentMode; }
GD Web Decomp Icon

GD Web Decomp

Raw Source