// // SetupObjectOptionsPopup::determineStartValues from 0x100045144 to 0x100045328 (484 bytes) // // 1 xrefs: // > @ 0x1008b9f40 // // 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 10:57:38 +0000 // __int64 __fastcall SetupObjectOptionsPopup::determineStartValues(__int64 result) { __int64 v1; // x19 __int64 v2; // x20 __int64 v3; // x21 __int64 v4; // x0 v1 = result; if ( *(_QWORD *)(result + 664) ) { v2 = sub_1002E736C(result); result = sub_1002E74E0(v2, *(_QWORD *)(v1 + 664)); if ( !v2 ) return result; } else { v2 = *(_QWORD *)(result + 672); if ( !v2 ) return result; } result = sub_1002E757C(v2); if ( (_DWORD)result ) { *(_BYTE *)(v1 + 706) = 1; *(_QWORD *)(v1 + 680) = 0x101010101010101LL; *(_QWORD *)(v1 + 688) = 0x101010101010101LL; *(_QWORD *)(v1 + 695) = 0x101010101010101LL; *(_WORD *)(v1 + 704) = 256; result = sub_1002E757C(v2); if ( (_DWORD)result ) { v3 = 0; do { v4 = sub_1002E75A0(v2, v3); if ( (*(_BYTE *)(v4 + 1297) & 1) == 0 ) *(_BYTE *)(v1 + 680) = 0; if ( (*(_BYTE *)(v4 + 1043) & 1) == 0 ) *(_BYTE *)(v1 + 681) = 0; if ( (*(_BYTE *)(v4 + 1042) & 1) == 0 ) *(_BYTE *)(v1 + 682) = 0; if ( (*(_BYTE *)(v4 + 1150) & 1) == 0 ) *(_BYTE *)(v1 + 696) = 0; if ( (*(_BYTE *)(v4 + 1151) & 1) == 0 ) *(_BYTE *)(v1 + 697) = 0; if ( (*(_BYTE *)(v4 + 1259) & 1) == 0 ) *(_BYTE *)(v1 + 695) = 0; if ( (*(_BYTE *)(v4 + 1044) & 1) == 0 ) *(_BYTE *)(v1 + 683) = 0; if ( (*(_BYTE *)(v4 + 1045) & 1) == 0 ) *(_BYTE *)(v1 + 684) = 0; if ( (*(_BYTE *)(v4 + 1214) & 1) == 0 ) *(_BYTE *)(v1 + 685) = 0; if ( (*(_BYTE *)(v4 + 1293) & 1) == 0 ) *(_BYTE *)(v1 + 686) = 0; if ( (*(_BYTE *)(v4 + 1294) & 1) == 0 ) *(_BYTE *)(v1 + 687) = 0; if ( (*(_BYTE *)(v4 + 636) & 1) == 0 ) *(_BYTE *)(v1 + 701) = 0; if ( (*(_BYTE *)(v4 + 969) & 1) == 0 ) *(_BYTE *)(v1 + 693) = 0; if ( (*(_BYTE *)(v4 + 1295) & 1) == 0 ) *(_BYTE *)(v1 + 688) = 0; if ( (*(_BYTE *)(v4 + 1296) & 1) == 0 ) *(_BYTE *)(v1 + 689) = 0; if ( (*(_BYTE *)(v4 + 1300) & 1) == 0 ) *(_BYTE *)(v1 + 690) = 0; if ( (*(_BYTE *)(v4 + 1301) & 1) == 0 ) *(_BYTE *)(v1 + 691) = 0; if ( (*(_BYTE *)(v4 + 1302) & 1) == 0 ) *(_BYTE *)(v1 + 692) = 0; if ( (*(_BYTE *)(v4 + 1299) & 1) == 0 ) *(_BYTE *)(v1 + 694) = 0; if ( (*(_BYTE *)(v4 + 1298) & 1) == 0 ) *(_BYTE *)(v1 + 698) = 0; if ( (*(_BYTE *)(v4 + 1020) & 1) == 0 ) *(_BYTE *)(v1 + 699) = 0; if ( *(_DWORD *)(v4 + 1248) == 1 ) { *(_BYTE *)(v1 + 704) = 1; if ( (*(_BYTE *)(v4 + 1780) & 1) == 0 ) *(_BYTE *)(v1 + 700) = 0; if ( (*(_BYTE *)(v4 + 1740) & 1) == 0 ) *(_BYTE *)(v1 + 705) = 0; if ( (*(_BYTE *)(v4 + 1474) & 1) == 0 ) *(_BYTE *)(v1 + 706) = 0; } v3 = (unsigned int)(v3 + 1); result = sub_1002E757C(v2); } while ( (unsigned int)v3 < (unsigned int)result ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source