// // GameObject::getParentMode from 0x44d280 to 0x44d4aa (554 bytes) // // 7 xrefs: // > GameObject::addMainSpriteToParent @ 0x44d8f2 // > GameObject::addColorSpriteToParent @ 0x44da2a // > GameObject::claimParticle @ 0x452cee // > SetGroupIDLayer::init @ 0x63de12 // > SetGroupIDLayer::init @ 0x63de44 // > SetGroupIDLayer::init @ 0x63de4a // > GameObject::playDestroyObjectAnim @ 0x65f2bc // // 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:35 +0000 // int __fastcall GameObject::getParentMode(GameObject *this) { int v1; // r3 bool v2; // zf bool v3; // zf int v4; // r2 bool v5; // cc int v6; // r2 __int16 v7; // r3 if ( *((__int16 *)this + 441) == -1 ) { if ( *((_BYTE *)this + 656) ) goto LABEL_80; if ( *((_BYTE *)this + 916) ) goto LABEL_82; v1 = *((_DWORD *)this + 223); if ( v1 <= 2770 ) { if ( v1 >= 2708 ) goto LABEL_82; if ( v1 <= 1858 ) { if ( v1 >= 1844 ) goto LABEL_81; if ( v1 <= 1328 ) { if ( v1 >= 1327 ) goto LABEL_81; if ( v1 <= 921 ) { if ( v1 < 920 ) { if ( v1 != 914 ) { if ( v1 != 918 ) { v2 = v1 == 142; goto LABEL_69; } goto LABEL_81; } v7 = 2; LABEL_86: *((_WORD *)this + 441) = v7; return *((__int16 *)this + 441); } LABEL_81: v7 = 3; goto LABEL_86; } if ( (unsigned int)(v1 - 923) <= 1 ) goto LABEL_81; LABEL_85: v7 = 0; goto LABEL_86; } if ( v1 == 1614 ) goto LABEL_81; if ( v1 <= 1614 ) { if ( v1 != 1329 ) { v3 = v1 == 1584; goto LABEL_30; } goto LABEL_82; } if ( v1 == 1618 || v1 == 1816 ) goto LABEL_81; if ( v1 != 1615 ) goto LABEL_85; LABEL_80: v7 = 4; goto LABEL_86; } if ( v1 == 2012 ) goto LABEL_81; if ( v1 <= 2012 ) { if ( v1 <= 1928 ) { if ( v1 < 1919 ) { v3 = v1 == 1860; LABEL_30: if ( v3 ) goto LABEL_81; goto LABEL_85; } LABEL_82: v7 = 1; goto LABEL_86; } if ( v1 < 1936 ) goto LABEL_85; if ( v1 <= 1939 ) goto LABEL_81; v4 = 1964; LABEL_68: v2 = v1 == v4; LABEL_69: if ( !v2 ) goto LABEL_85; goto LABEL_82; } if ( v1 <= 2700 ) { if ( v1 < 2070 ) { if ( v1 < 2020 ) goto LABEL_85; if ( v1 <= 2055 ) goto LABEL_81; v4 = 2063; goto LABEL_68; } goto LABEL_83; } v5 = (unsigned int)(v1 - 2703) > 1; LABEL_55: if ( v5 ) goto LABEL_85; goto LABEL_82; } if ( v1 > 3097 ) { if ( v1 > 3799 ) { if ( v1 > 4399 ) { if ( (unsigned int)(v1 - 4401) > 0x8A ) goto LABEL_85; goto LABEL_83; } if ( v1 >= 4000 ) { LABEL_83: v7 = 6; goto LABEL_86; } if ( v1 < 3801 ) goto LABEL_85; } else { if ( v1 >= 3700 ) goto LABEL_83; if ( v1 > 3654 ) { if ( (unsigned int)(v1 - 3656) > 3 ) goto LABEL_85; } else if ( v1 < 3646 ) { if ( v1 < 3101 ) goto LABEL_85; if ( v1 >= 3600 ) { v4 = 3601; goto LABEL_68; } goto LABEL_83; } } v7 = 8; goto LABEL_86; } if ( v1 >= 3092 ) goto LABEL_83; if ( v1 > 2897 ) { if ( v1 <= 3002 ) { if ( v1 >= 3000 ) goto LABEL_81; v5 = (unsigned int)(v1 - 2927) > 0x47; goto LABEL_55; } v6 = 3034; } else { if ( v1 >= 2895 ) goto LABEL_82; if ( v1 > 2865 ) { if ( v1 >= 2867 ) goto LABEL_81; goto LABEL_85; } if ( v1 >= 2864 ) goto LABEL_81; if ( v1 == 2773 ) goto LABEL_82; if ( v1 < 2773 ) goto LABEL_85; v6 = 2776; } if ( v1 < v6 ) goto LABEL_85; goto LABEL_82; } return *((__int16 *)this + 441); }
GD Web Decomp Icon

GD Web Decomp

Raw Source