// // sub_100655D88 from 0x100655d88 to 0x100655e10 (136 bytes) // // 3 xrefs: // > sub_1006546E4 @ 0x100654738 // > sub_1006546E4 @ 0x1006549d8 // > sub_100654DEC @ 0x1006554e4 // // 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:10:52 +0000 // __int64 __fastcall sub_100655D88(__int64 result, __int64 a2) { unsigned int v2; // w19 __int64 v3; // x20 __int64 v4; // x21 v2 = a2; v3 = result; LODWORD(result) = *(_DWORD *)(result + 112); if ( (unsigned int)result >= (unsigned int)a2 ) return a2; v4 = *(_QWORD *)(v3 + 104); do { *(_DWORD *)(v3 + 40) = 3; result = sub_100700794(*(_QWORD *)(v3 + 16), v4 + (unsigned int)result, v2 - (unsigned int)result); if ( (int)result < 1 ) break; *(_DWORD *)(v3 + 40) = 1; result = (unsigned int)(*(_DWORD *)(v3 + 112) + result); *(_DWORD *)(v3 + 112) = result; } while ( (unsigned int)result < v2 ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source