The call to `callee` on source line `line`, or NULL. */
| 8821 | |
| 8822 | /* The call to `callee` on source line `line`, or NULL. */ |
| 8823 | static const CBMCall *call_at_line(CBMFileResult *r, const char *callee, int line) { |
| 8824 | for (int i = 0; i < r->calls.count; i++) { |
| 8825 | const CBMCall *c = &r->calls.items[i]; |
| 8826 | if (c->start_line == line && c->callee_name && strcmp(c->callee_name, callee) == 0) { |
| 8827 | return c; |
| 8828 | } |
| 8829 | } |
| 8830 | return NULL; |
| 8831 | } |
| 8832 | |
| 8833 | /* #946: ReGameDLL_CS defines its hookable methods as |
| 8834 | * `void CBasePlayer::__API_HOOK(ReloadWeapons)(...)`, a function-like macro in |