// // GameObject::getParentMode from 0x76eec4 to 0x76f178 (692 bytes) // // 8 xrefs: // > GameObject::addMainSpriteToParent @ 0x76f868 // > GameObject::addColorSpriteToParent @ 0x76fa2c // > GameObject::claimParticle @ 0x775914 // > SetGroupIDLayer::init @ 0xac02f8 // > SetGroupIDLayer::init @ 0xac0800 // > SetGroupIDLayer::init @ 0xac083c // > GameObject::playDestroyObjectAnim @ 0xaf3fc4 // > @ 0x76b40 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:53:12 +0000 // __int64 __fastcall GameObject::getParentMode(GameObject *this) { unsigned int v1; // w1 int v3; // w1 v1 = *((__int16 *)this + 509); if ( v1 != -1 ) return v1; if ( *((_BYTE *)this + 772) ) goto LABEL_24; if ( *((_BYTE *)this + 1052) ) goto LABEL_23; v3 = *((_DWORD *)this + 257); if ( v3 > 2770 ) { if ( v3 > 3097 ) { if ( v3 > 3799 ) { if ( v3 > 4399 ) { if ( (unsigned int)(v3 - 4401) > 0x8A ) goto LABEL_37; goto LABEL_31; } if ( v3 >= 4000 ) goto LABEL_31; if ( v3 < 3801 ) goto LABEL_37; } else { if ( v3 >= 3700 ) goto LABEL_31; if ( v3 > 3654 ) { if ( (unsigned int)(v3 - 3656) > 3 ) goto LABEL_37; } else if ( v3 < 3646 ) { if ( v3 < 3101 ) goto LABEL_37; if ( v3 > 3599 ) { if ( v3 != 3601 ) goto LABEL_37; goto LABEL_23; } goto LABEL_31; } } v1 = 8; *((_WORD *)this + 509) = 8; return v1; } if ( v3 >= 3092 ) goto LABEL_31; if ( v3 > 2897 ) { if ( v3 > 3002 ) { if ( v3 < 3034 ) goto LABEL_37; } else { if ( v3 >= 3000 ) goto LABEL_41; if ( (unsigned int)(v3 - 2927) > 0x47 ) goto LABEL_37; } } else if ( v3 < 2895 ) { if ( v3 > 2865 ) { if ( v3 < 2867 ) goto LABEL_37; } else if ( v3 < 2864 ) { if ( v3 == 2773 || v3 >= 2776 ) goto LABEL_23; goto LABEL_37; } LABEL_41: v1 = 3; *((_WORD *)this + 509) = 3; return v1; } LABEL_23: *((_WORD *)this + 509) = 1; return 1; } if ( v3 >= 2708 ) goto LABEL_23; if ( v3 > 1858 ) { if ( v3 == 2012 ) goto LABEL_41; if ( v3 > 2012 ) { if ( v3 > 2700 ) { if ( (unsigned int)(v3 - 2703) > 1 ) goto LABEL_37; goto LABEL_23; } if ( v3 < 2070 ) { if ( v3 < 2020 ) goto LABEL_37; if ( v3 <= 2055 ) goto LABEL_41; if ( v3 != 2063 ) goto LABEL_37; goto LABEL_23; } LABEL_31: v1 = 6; *((_WORD *)this + 509) = 6; return v1; } if ( v3 > 1928 ) { if ( v3 < 1936 ) goto LABEL_37; if ( v3 <= 1939 ) goto LABEL_41; if ( v3 != 1964 ) goto LABEL_37; } else if ( v3 < 1919 ) { if ( v3 != 1860 ) goto LABEL_37; goto LABEL_41; } goto LABEL_23; } if ( v3 >= 1844 ) goto LABEL_41; if ( v3 <= 1328 ) { if ( v3 < 1327 ) { if ( v3 > 921 ) { if ( (unsigned int)(v3 - 923) > 1 ) goto LABEL_37; } else if ( v3 < 920 ) { if ( v3 == 914 ) { v1 = 2; *((_WORD *)this + 509) = 2; return v1; } if ( v3 != 918 ) { if ( v3 == 142 ) goto LABEL_23; LABEL_37: *((_WORD *)this + 509) = 0; return 0; } } } goto LABEL_41; } if ( v3 == 1614 ) goto LABEL_41; if ( v3 <= 1614 ) { if ( v3 != 1329 ) { if ( v3 != 1584 ) goto LABEL_37; goto LABEL_41; } goto LABEL_23; } if ( v3 == 1618 || v3 == 1816 ) goto LABEL_41; if ( v3 != 1615 ) goto LABEL_37; LABEL_24: *((_WORD *)this + 509) = 4; return 4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source