I am using something similar, so yes, getting a tile based on world coordinates is definitely possible.
Hint: Morepork functions library has a function which lets you check if coordinates are within certain bounding box (all just by maths) so it should be easy to convert to c++.