// // sub_100315750 from 0x100315750 to 0x1003157d8 (136 bytes) // // 3 xrefs: // > ShareLevelSettingsLayer::keyBackClicked @ 0x100315958 // > sub_10031595C @ 0x100315960 // > sub_100314E5C @ 0x1003150b8 // // 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:03:15 +0000 // __int64 __fastcall sub_100315750(_QWORD *a1) { __int64 v2; // x20 float v3; // s0 __int64 v4; // x0 v2 = a1[85]; if ( *(_DWORD *)(v2 + 980) - *(_DWORD *)(v2 + 984) == -1 ) { v3 = vcvts_n_f32_s32(rand(), 0x1Fu) * 1000.0; *(_DWORD *)(v2 + 984) = (int)v3; *(_DWORD *)(v2 + 980) = (int)v3 + 1; } v4 = a1[88]; if ( v4 ) sub_100314168(v4); (*(void (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1072LL))(a1, 0); return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1 + 528LL))(a1, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source