// // SetupShakePopup::determineStartValues from 0x1003a9c7c to 0x1003a9e34 (440 bytes) // // 1 xrefs: // > @ 0x10080d4f0 // // 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 // void __fastcall SetupShakePopup::determineStartValues(SetupShakePopup *a1) { cocos2d::CCArray *m_gameObjects; // x20 unsigned int v3; // w21 char v4; // w23 char v5; // w24 char v6; // w25 float v7; // s8 float v8; // s10 float v9; // s11 float *v10; // x0 SetupTriggerPopup::determineStartValues(a1); if ( a1->m_gameObject ) { m_gameObjects = (cocos2d::CCArray *)sub_10024A15C(); sub_10024A2D0((__int64)m_gameObjects); if ( !m_gameObjects ) return; } else { m_gameObjects = a1->m_gameObjects; if ( !m_gameObjects ) return; } if ( (unsigned int)sub_10024A36C((__int64)m_gameObjects) && (unsigned int)sub_10024A36C((__int64)m_gameObjects) ) { v3 = 0; v4 = 0; v5 = 0; v6 = 0; v7 = -99999.0; v8 = -99999.0; v9 = -99999.0; while ( 1 ) { v10 = (float *)sub_10024A388((__int64)m_gameObjects, v3); if ( (v6 & 1) != 0 ) { v6 = 1; if ( (v5 & 1) != 0 ) goto LABEL_16; } else if ( v9 == -99999.0 ) { v6 = 0; v9 = v10[363]; if ( (v5 & 1) != 0 ) goto LABEL_16; } else if ( v9 == v10[363] ) { v6 = 0; if ( (v5 & 1) != 0 ) { LABEL_16: v5 = 1; if ( (v4 & 1) == 0 ) goto LABEL_26; goto LABEL_24; } } else { v6 = 1; v9 = -99999.0; if ( (v5 & 1) != 0 ) goto LABEL_16; } if ( v8 == -99999.0 ) { v5 = 0; v8 = v10[369]; if ( (v4 & 1) == 0 ) goto LABEL_26; } else if ( v8 == v10[369] ) { v5 = 0; if ( (v4 & 1) == 0 ) { LABEL_26: if ( v7 == -99999.0 ) { v4 = 0; v7 = v10[370]; } else if ( v7 == v10[370] ) { v4 = 0; } else { v4 = 1; v7 = -99999.0; } goto LABEL_31; } } else { v5 = 1; v8 = -99999.0; if ( (v4 & 1) == 0 ) goto LABEL_26; } LABEL_24: v4 = 1; LABEL_31: if ( ++v3 >= (unsigned int)sub_10024A36C((__int64)m_gameObjects) ) { if ( v9 != -99999.0 ) a1->m_duration = v9; if ( v8 != -99999.0 ) a1->m_strength = v8; if ( v7 != -99999.0 ) a1->m_interval = v7; return; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source