Sorry for the late reply - Just as feedback, blew sometime playing (and learning) about Xcode to get this partly working
End result is hijacking one of the commands as below (this case GetAppName)
case AGKI_GETAPPNAMER_STRING : inl_handleparams();\
*(NSString**)g_p[0] = [[UIDevice currentDevice]systemVersion];\
break;\
Don't need (or can seem to call) an additional method in core.m
I know this isn't correct way to call the systemVersion value because I can't seem to convert the return as int or float as per online docs?
Anyway,In my case, this will do as iOS 7 at least returns a string with one char as '9'. Its enough for me to then at least know if the device is iOS7 or not
I'm sure reverse engineering other iOS versions could then be detected the same way. I'm just using 'CountStringTokens' to find if the char of '9' is present in the return value
Many thanks Naphier for all your help. Wouldn't have got this far without your lead