// // sub_10029D544 from 0x10029d544 to 0x10029d5d4 (144 bytes) // // 1 xrefs: // > sub_10029DA90 @ 0x10029dc74 // // 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:02:11 +0000 // __int64 __fastcall sub_10029D544(__int64 a1, __int64 a2) { __int64 result; // x0 if ( (int)a2 > 7 ) { if ( (int)a2 <= 97 ) { if ( (_DWORD)a2 != 8 ) { if ( (_DWORD)a2 != 9 ) { if ( (_DWORD)a2 != 10 ) return 1; return 5; } return 4; } return 3; } result = a2; if ( (unsigned int)(a2 - 98) >= 2 ) return 1; } else { result = 2; if ( (int)a2 > 3 ) { if ( (_DWORD)a2 != 4 ) { if ( (_DWORD)a2 != 5 ) { if ( (_DWORD)a2 == 7 ) return result; return 1; } return 5; } return 4; } if ( (_DWORD)a2 != 2 ) { if ( (_DWORD)a2 != 3 ) return 1; return 3; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source