// // sub_100085A0C from 0x100085a0c to 0x100085ab4 (168 bytes) // // 4 xrefs: // > sub_100084AD4 @ 0x100085784 // > sub_1000859AC @ 0x1000859d0 // > CreateGuidelinesLayer::onRecord @ 0x100085be0 // > sub_1000868AC @ 0x1000869a8 // // 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:58:18 +0000 // __int64 __fastcall sub_100085A0C(__int64 a1, __int64 a2) { __int64 v4; // x21 __int64 v5; // x0 __int64 result; // x0 __int64 v7; // x21 __int64 v8; // x0 if ( (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 688)) ) { v4 = 0; do { v5 = sub_1002E75A0(*(_QWORD *)(a1 + 688), v4); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 344LL))(v5, (unsigned int)a2 ^ 1); v4 = (unsigned int)(v4 + 1); } while ( (unsigned int)v4 < (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 688)) ); } result = sub_1002E757C(*(_QWORD *)(a1 + 696)); if ( (_DWORD)result ) { v7 = 0; do { v8 = sub_1002E75A0(*(_QWORD *)(a1 + 696), v7); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 344LL))(v8, a2); v7 = (unsigned int)(v7 + 1); result = sub_1002E757C(*(_QWORD *)(a1 + 696)); } while ( (unsigned int)v7 < (unsigned int)result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source