// // SetupShakePopup::determineStartValues from 0x100450c40 to 0x100450df8 (440 bytes) // // 1 xrefs: // > @ 0x1009663d0 // // 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 11:05:20 +0000 // __int64 __fastcall SetupShakePopup::determineStartValues(__int64 a1) { __int64 result; // x0 _QWORD *v3; // x20 unsigned int v4; // w21 char v5; // w23 char v6; // w24 char v7; // w25 float v8; // s8 float v9; // s10 float v10; // s11 float *v11; // x0 result = SetupTriggerPopup::determineStartValues(a1); if ( *(_QWORD *)(a1 + 680) ) { v3 = sub_1002E736C(); result = sub_1002E74E0((__int64)v3); if ( !v3 ) return result; } else { v3 = *(_QWORD **)(a1 + 688); if ( !v3 ) return result; } result = sub_1002E757C((__int64)v3); if ( (_DWORD)result ) { result = sub_1002E757C((__int64)v3); if ( (_DWORD)result ) { v4 = 0; v5 = 0; v6 = 0; v7 = 0; v8 = -99999.0; v9 = -99999.0; v10 = -99999.0; while ( 1 ) { v11 = (float *)sub_1002E75A0((__int64)v3, v4); if ( (v7 & 1) != 0 ) { v7 = 1; if ( (v6 & 1) != 0 ) goto LABEL_16; } else if ( v10 == -99999.0 ) { v7 = 0; v10 = v11[363]; if ( (v6 & 1) != 0 ) goto LABEL_16; } else if ( v10 == v11[363] ) { v7 = 0; if ( (v6 & 1) != 0 ) { LABEL_16: v6 = 1; if ( (v5 & 1) == 0 ) goto LABEL_26; goto LABEL_24; } } else { v7 = 1; v10 = -99999.0; if ( (v6 & 1) != 0 ) goto LABEL_16; } if ( v9 == -99999.0 ) { v6 = 0; v9 = v11[369]; if ( (v5 & 1) == 0 ) goto LABEL_26; } else if ( v9 == v11[369] ) { v6 = 0; if ( (v5 & 1) == 0 ) { LABEL_26: if ( v8 == -99999.0 ) { v5 = 0; v8 = v11[370]; } else if ( v8 == v11[370] ) { v5 = 0; } else { v5 = 1; v8 = -99999.0; } goto LABEL_31; } } else { v6 = 1; v9 = -99999.0; if ( (v5 & 1) == 0 ) goto LABEL_26; } LABEL_24: v5 = 1; LABEL_31: ++v4; result = sub_1002E757C((__int64)v3); if ( v4 >= (unsigned int)result ) { if ( v10 != -99999.0 ) *(float *)(a1 + 1032) = v10; if ( v9 != -99999.0 ) *(float *)(a1 + 1056) = v9; if ( v8 != -99999.0 ) *(float *)(a1 + 1080) = v8; return result; } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source