// // BrowseSmartKeyLayer::getAllSelectedBlocks from 0x1004e6840 to 0x1004e690f (207 bytes) // // 2 xrefs: // > BrowseSmartKeyLayer::createTemplateObjects @ 0x1004e6344 // > BrowseSmartKeyLayer::addChanceToSelected @ 0x1004e667a // // This function is hookable on this platform (idp: pc, 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:31:20 +0000 // __int64 __fastcall BrowseSmartKeyLayer::getAllSelectedBlocks(__int64 a1) { __int64 v1; // r14 unsigned int v2; // r15d __int64 v3; // r12 unsigned int v4; // r13d __int64 v5; // rax __int64 v6; // rax v1 = sub_1007FE900(a1); if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 672)) ) { v2 = 0; do { v3 = sub_1007FEFE0(*(_QWORD *)(a1 + 672), v2); if ( (unsigned int)sub_1007FEF90(v3) ) { v4 = 0; do { v5 = sub_1007FEFE0(v3, v4); v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 1072LL))(v5); if ( *(_BYTE *)(v6 + 360) == 1 ) sub_1007FEBF0(v1, v6); ++v4; } while ( v4 < (unsigned int)sub_1007FEF90(v3) ); } ++v2; } while ( v2 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 672)) ); } return v1; }