// // sub_100040E8C from 0x100040e8c to 0x100040f2c (160 bytes) // // 1 xrefs: // > SetGroupIDLayer::init @ 0x10003f5e8 // // 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:36 +0000 // __int64 __fastcall sub_100040E8C(__int64 a1, __int64 a2) { __int64 v3; // x1 __int64 v4; // x0 __int64 v5; // x20 __int64 v6; // x21 v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); *(_DWORD *)(a1 + 788) = v3; v4 = *(_QWORD *)(a1 + 672); if ( v4 ) { sub_1002FA584(v4, v3); *(_BYTE *)(*(_QWORD *)(a1 + 672) + 1148LL) = 1; } else if ( (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 680)) ) { v5 = 0; do { v6 = sub_1002E75A0(*(_QWORD *)(a1 + 680), v5); sub_1002FA584(v6, *(unsigned int *)(a1 + 788)); *(_BYTE *)(v6 + 1148) = 1; v5 = (unsigned int)(v5 + 1); } while ( (unsigned int)v5 < (unsigned int)sub_1002E757C(*(_QWORD *)(a1 + 680)) ); } return sub_1000417B4(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source