__asm void foo(void){ PUSH{r4,lr}; BL __cpp(some_func); POP {r4,pc};}
__asm void foo(void){ LDR r0,=__cpp(some_func); BX r0;}